frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Built a cheap DIY fan controller because my motherboard never had working PWM

https://www.himthe.dev/blog/msi-forgot-my-fans
17•bobsterlobster•2d ago

Comments

bobsterlobster•2d ago
MSI shipped a genuinely good motherboard and forgot to wire one chip, so PWM doesn't work. Instead of tossing the board or living with the noise, I decided to make lemonade.

An Arduino Nano generates the 25kHz PWM signal, and a companion Windows application reads CPU temp and sends the duty cycle over serial. The Arduino firmware is open source (MIT).

gzread•1h ago
What if Windows crashes? It's better to attach a thermal sensor to the heatsink, I think.
johndough•53m ago
Just send a heartbeat every few milliseconds and set fan speed to 100% if it died. Bonus: You get an audible indicator that the system crashed.
realaccfromPL•1h ago
This looks really good! I am trying to do the same thing for cooling 11th gen Intel laptop motherboards with micro RP2050 board but came to the conclusion that I should just do it with ESP32 as mine has some limitations.

Would you mind sharing more technical review of what you created?

zeroflow•30m ago
RP2050 would work, as it also has the necessary built-in peripherals. ESP32 would add wifi and better ESPHome support. I suggest you stay away from the ESP8266, as it needs to do PWM in software and struggles with the 25kHz output frequency.

From my experience: ESP32/RP2040 work without additional circuitry which works with most fans, but for protection, you want to add level shifters. Not all fans pull up the PWM pin to 3.3V, the spec allows for 5V.

Shameless plug, hopefully this is allowed here.

I built something like that, that allows fan control via WiFi. First I built it only for myself, but since the spare boards from PCBA quickly sold, I decided to keep it stocked.

Short gist: 12V Input, ESP32S2, ESPHome-based. Has 4 PWM-fan outputs, onboard temperature & humidity sensor and Qwiic expansion port.

The ESPHome code & schematic is on Github: https://github.com/zeroflow/wifi-fancontroller

If you want one, it's available on Elecrow for $35,99: https://www.elecrow.com/wifi-fancontroller1.html

If you want to build it by yourself, the schematic is in the hardware folder. And if you don't want to use ESPHome - there is no firmware lock, you find the pin assignment on the product page and can write your own firmware if you so desire.

rurban•38m ago
I've built 4 different fan controllers for my companies' embedded board so far.

We work in very hot greenhouses, so fans (and peltiers) are essential. And proper thermal sensors. I check 4 different ones. Esp. needed is also a humidity sensor, because we don't want it to cool down below the dew point.

It's PWM, controlled via mraa. mraa_pwm_write()

IBM Announces Strategic Collaboration with Arm

https://newsroom.ibm.com/2026-04-02-ibm-announces-strategic-collaboration-with-arm-to-shape-the-f...
36•bonzini•1h ago•8 comments

Bringing Clojure programming to Enterprise (2021)

https://blogit.michelin.io/clojure-programming/
34•smartmic•1h ago•6 comments

Live: Artemis II Launch Day Updates

https://www.nasa.gov/blogs/missions/2026/04/01/live-artemis-ii-launch-day-updates/
921•apitman•16h ago•788 comments

Gone (Almost) Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
17•luu•2d ago•5 comments

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
129•jaden•6h ago•31 comments

Steam on Linux Use Skyrocketed Above 5% in March

https://www.phoronix.com/news/Steam-On-Linux-Tops-5p
373•hkmaxpro•6h ago•167 comments

Mercor says it was hit by cyberattack tied to compromise LiteLLM

https://techcrunch.com/2026/03/31/mercor-says-it-was-hit-by-cyberattack-tied-to-compromise-of-ope...
41•jackson-mcd•1d ago•14 comments

Quantum computing bombshells that are not April Fools

https://scottaaronson.blog/?p=9665
173•Strilanc•9h ago•59 comments

EmDash – A spiritual successor to WordPress that solves plugin security

https://blog.cloudflare.com/emdash-wordpress/
569•elithrar•17h ago•415 comments

A new C++ back end for ocamlc

https://github.com/ocaml/ocaml/pull/14701
182•glittershark•10h ago•15 comments

Telli (YC F24) is hiring engineers, designers, and more [on-site, Berlin]

http://hi.telli.com/join-us
1•sebselassie•2h ago

AI Perfected Chess. Humans Made It Unpredictable Again

https://www.bloomberg.com/news/articles/2026-03-27/ai-changed-chess-grandmasters-now-win-with-unp...
40•GMoromisato•4d ago•33 comments

DRAM pricing is killing the hobbyist SBC market

https://www.jeffgeerling.com/blog/2026/dram-pricing-is-killing-the-hobbyist-sbc-market/
474•ingve•12h ago•399 comments

Show HN: NASA Artemis II Mission Timeline Tracker

https://www.sunnywingsvirtual.com/artemis2/timeline.html
54•AustinDev•6h ago•11 comments

Fast and Gorgeous Erosion Filter

https://blog.runevision.com/2026/03/fast-and-gorgeous-erosion-filter.html
160•runevision•2d ago•15 comments

Show HN: Git bayesect – Bayesian Git bisection for non-deterministic bugs

https://github.com/hauntsaninja/git_bayesect
277•hauntsaninja•4d ago•41 comments

What Gödel Discovered (2020)

https://stopa.io/post/269
56•qnleigh•2d ago•7 comments

Subscription bombing and how to mitigate it

https://bytemash.net/posts/subscription-bombing-your-signup-form-is-a-weapon/
148•homelessdino•5h ago•106 comments

AI for American-produced cement and concrete

https://engineering.fb.com/2026/03/30/data-center-engineering/ai-for-american-produced-cement-and...
194•latchkey•16h ago•113 comments

Built a cheap DIY fan controller because my motherboard never had working PWM

https://www.himthe.dev/blog/msi-forgot-my-fans
17•bobsterlobster•2d ago•7 comments

New laws to make it easier to cancel subscriptions and get refunds

https://www.bbc.co.uk/news/articles/cvg0v36ek2go
15•chrisjj•1h ago•1 comments

Ask HN: Who is hiring? (April 2026)

240•whoishiring•19h ago•206 comments

Signing data structures the wrong way

https://blog.foks.pub/posts/domain-separation-in-idl/
104•malgorithms•14h ago•45 comments

Show HN: Dull – Instagram Without Reels, YouTube Without Shorts (iOS)

https://getdull.app
85•kasparnoor•12h ago•70 comments

Weather.com/Retro

https://weather.com/retro/
199•typeofhuman•8h ago•34 comments

Reverse Engineering Crazy Taxi, Part 2

https://wretched.computer/post/crazytaxi2
41•wgreenberg•2d ago•3 comments

Trinity Large Thinking

https://openrouter.ai/arcee-ai/trinity-large-thinking
37•kristianp•7h ago•15 comments

The revenge of the data scientist

https://hamel.dev/blog/posts/revenge/
142•hamelsmu•4d ago•28 comments

SpaceX files to go public

https://www.nytimes.com/2026/04/01/technology/spacex-ipo-elon-musk.html
313•nutjob2•16h ago•420 comments

StepFun 3.5 Flash is #1 cost-effective model for OpenClaw tasks (300 battles)

https://app.uniclaw.ai/arena?tab=costEffectiveness&via=hn
158•skysniper•17h ago•74 comments