17

So I've got a couple of Mini PC's and a ODROID H4+ as a NAS, all just standing on my desk at the moment.

I'm going to build them into a 10" Rack and I'd like to have a good cooling solution.

My idea is to buy something like this https://www.alternate.nl/Noctua/NA-FH1-fancontroller/html/product/1917195 And wire it up with a ESP32 board and temperature probes, so that I can connect it all to a dashboard in Home Assistant.

Any advice on this project, or better alternatives would be appreciated.

top 5 comments
sorted by: hot top controversial new old
[-] jjffnn@feddit.dk 2 points 2 hours ago

I actually have a working'ish prototype of this project laying on my table right now.
It's a 120mm noctua fan being controlled by pwm i relation to the temperature. It also has an oled screen to show temp and fan speed. All controlled trough home assistant via esphome.
I say working'ish because the temp sensor i'm using (dht11) is unreliable and is messing up half the time, so i'm looking into buying a DS18B20 instead.
I'd be happy to share schematics and code if you'd like it.

[-] some_guy@lemmy.sdf.org 1 points 1 hour ago

You're pretty rad, y'know that?

[-] Zwuzelmaus@feddit.org 6 points 17 hours ago

If you want to do this as an ESP project anyway, you don't need the extra controller.

Fans take a simple PWM signal, which your ESP (or even one of the smallest Arduinos) can create easily.

[-] Ek-Hou-Van-Braai@piefed.social 2 points 17 hours ago

Good point, I found this: Tutorial - How to control a PWM fan with an ESP32 and Home Assistant ( https://www.youtube.com/watch?v=9-AZF6udg-Q ) I'm just going to do that but with more fans

[-] hendrik@palaver.p3x.de 2 points 16 hours ago* (last edited 16 hours ago)

I think pretty much any mosfet / h-bridge / motor control board with pwm should do.
If you have those 4-wire fans with a pwm input that accepts 3V3 logic, you might even be able to attach them directly to the ESP:

But that's not all fans, I had some mixed results with that.

this post was submitted on 02 Jul 2025
17 points (100.0% liked)

Selfhosted

46672 readers
1072 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS