r/electronic_circuits • u/PrettyOkSoftwareDev • 1d ago
On topic Sanity check on my fan control circuit? 4 PC fans on one open drain PWM line + tach inputs (first circuit, software guy out of his depth, for my daughter's air purifier)
Hey folks. This is the first circuit I've ever designed. I was already nervous enough asking for feedback as I only got average marks at best for electronics and circuits in college. This is for the controller for an air purifier I'm building for my five year old daughter's room. She has Cystic Fibrosis so ideally I’d like this thing to actually work on the first go. Nothing's built yet. I'd like someone who knows what they're doing to look it over before I buy parts.
This is just the fan portion. 4 Arctic P14 PWM fans, driven from an ESP32-S3 with 3.3V GPIOs. The rest of the board (sensor, display, knob) isn't shown since it doesn't touch the fans.
PWM: all 4 fans share one PWM line at 25kHz. A 2N7000 pulls it low, driven from one GPIO. The fans have their own pull ups on the PWM pin, so if the ESP32 crashes or the GPIO stops driving the FET, the line floats high and the fans go to 100%. That's on purpose. If something breaks I want the fans running faster, not stopped.
Tach: each fan gets its own input with a 1k series resistor, 10k pull up to 3.3V, 10nF to ground, and 1N4148 clamps to 3.3V and ground.
What I'm not sure about:
- With 4 fans' pull ups in parallel on one line, can a 2N7000 pull it low cleanly at 25kHz? Should I be using a different FET?
- Is the tach filtering reasonable or overkill? Will 1k + 10nF round off the pulses too much at full speed?
- Does a 2N7000 actually turn on all the way from a 3.3V gate, or is that pushing it?
If I'm missing something obvious please tell me. I'd much rather hear it now than after it's sitting in her room. Plain-language explanations are very welcome, since a lot of this is still new to me. Many of the terms and acronyms I used came from research. I don’t necessarily fully understand what they all do. I just really want to help my daughter get clean air and this is a hurdle I need to figure out first.
If you’re really interested I tried writing about it on my own website, complete with a 3D interactive viewer showing an exploded view of the unit. https://mitchellvolk.com/projects/cr-box
