ESPHome Dual channel fan controller

Designed for cupboard AV/server cupboard ventilation; control intake and exhaust separately via ESPHome/HA
4
7
0
88
updated February 15, 2025

Description

PDF

Basic dual header fan controller to enable independent settings on intake and exhaust via ESPHome/Home Assistant. 

NOTE: The lid is designed to be printed without top and bottom layers such that the infill pattern will create a ventilation grille.

Components:

  • Wemos/Lolin ESP32 d1 mini + pins/socketed connectors
  • 70x30mm protoboard 
  • LM2596 Adjustable Voltage Regulator - or any simple DCDC buck converter for 12V → 5V step down. (Powering ESP32)
  • 2x 4pin right angle dupont connector or right angle fan headers - topside keying.
  • 5.5mm barrel jack for 12v input
  • Latching button with 12mm shank (optional)
  • hookup wire
  • 4x m6 brass inserts
  • 4x m6x20mm DIN 912 - Hexagon socket Head Cap Screws
  • 2x <12G countersunk screw for mounting (gauge less than 6mm)
     

NOTE: Some ESP32 variations don't like being powered via VCC and may require a 10uF cap between RST and GND like mine did.

See photos for wiring of 4pin pwm headers 

POWER HOOKUP:

                        ┌────────┐ 5V   ┌────────┐  
  12V+     ┌─────┐      │        ├────vcc        │  
  ─────────┴─────┴────┬─┤ 5V Reg │      │        │  
            Switch    │ └────────┘      │ esp32  │  
                      │                 │        │  
                      ├──────────┐      │ D1     │  
                      │ Fan      │      │ Mini   │  
                      │ Headers  │      └────────┘  
                                                    
                    12v pin    12v pin                                                                  

Tags



Model origin

The author marked this model as their own original creation.

License