Skip to the content
PCBKitNew board
2 layers70 × 70 mmWiFiFanCon, the printed circuit board in 3D

Control 12V PC Fans via Wi-Fi

Size
70 × 70 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
32
Pads
86
Tracks, vias
129, 3
Pours
63
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
15 Apr 2022
Updated
25 Aug 2024

Overview

WiFiFanCon is an open-source printed circuit board by Hypfer, from the Hypfer/WiFiFanCon repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 70 × 70 mm with 24 parts on 32 nets, routed with 129 tracks and 3 vias.

It is built around the PJ-202BH. Its parts include 4 resistors, 2 capacitors, 2 ICs and 1 diode. It belongs with the radio and wireless boards and the ESP32 boards of this library.

Main components

1

README

Readme.md

WiFiFanCon

Control 12V PC Fans via Wi-Fi and Tasmota

Features

  • Support of up to four 4-Pin PWM 12V PC Fans
  • Individual RPM Monitoring for all 4 Fans
  • Full control via a Webinterface
  • Optional MQTT support with Home Assistant Autodiscovery utilizing hct
  • Extension headers to allow for customization with e.g. additional temperature probes
  • Very easy beginner-friendly THT soldering
  • Fits snugly into an isolated 45ct junction box

Where?

Head over to the ./pcb for the pcb.

For the firmware, install Tasmota e.g. using their fancy fully browser-based installer, then check out the ./berry folder.

Why?

I do have quite a few heat-producing devices such as servers or Hi-Fi equipment, which are trapped in whatever furniture from Ikea barely fit them. This achieves a clean look but also kills the hardware due to insufficient ventilation.

My first solution for this was to add a few very silent 12V Noctua NF-A14 PWM PC Fans and run them at 5V with 33% duty cycle using an Arduino nano. While that worked just fine, after a year, I've noticed quite a lot of dust buildup on the Fans as well as everything else.

Therefore, I was looking for a way to periodically run the Fans at full speed to blow away whatever dust buildup there might be. How else would you do that if not via MQTT automated by Home Assistant?

Pictures?

How?

As it turns out, the ESP32 offers everything required for such a project. It has Wi-Fi, it can do 25kHz PWM with more than 4 channels and it is also capable of monitoring the Fan speed. Furthermore, as it is available as a full devkit PCB, flashing, soldering and everything else is very easy.

Therefore, I basically just needed to design a PCB that features a DC Jack, some Fan Headers and connects everything in a neat package. Because it is only 70x70mm in size, it perfectly fits into these dirt-cheap german junction boxes, which you can get for 45ct each.

Why not use something else?

While there are other projects on GitHub achieving similar things, they didn't really 100% fit my requirements, which are:

  • Set Fanspeed to x%
  • Don't care about temperature
  • Show up in home assistant
  • Be very easy to solder

License

This hardware is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

The software is licensed under the Apache-2.0 license.

Parts

24
QtyValueFootprintReferences
410kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4
4Fan_4pinConnector:FanPinHeader_1x04_P2.54mm_VerticalFAN1, FAN2, FAN3, FAN4
2C_Polarized_SmallCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC1, C2
11N5817Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1ESP32_DevKit_V1_DOITCustom:esp32_devkit_v1_doitU2
1Extension Header 1Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalEXT1
1Extension Header 2Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalEXT2
1Extension Header 3Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalEXT3
1Extension Header 4Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalEXT4
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU1
1LOGOCustom:center_positive_smallG***
1LOGOCustom:Ket_25_flipG***
1PJ-202BHCustom:CUI_PJ-202BHDC1

The 20 most common of 24 parts.

Questions

How big is the WiFiFanCon PCB?

It measures 70 × 70 mm and has 2 copper layers, 1.6 mm thick.

What parts does the WiFiFanCon use?

24 parts, built around the PJ-202BH. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the WiFiFanCon KiCad files?

From the Hypfer/WiFiFanCon repository on GitHub, at the commit this page was made from: the board is pcb/WiFiFanCon/WiFiFanCon.kicad_pcb and its schematic pcb/WiFiFanCon/WiFiFanCon.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the WiFiFanCon design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers72.6 × 24.9 mmHuesful power adaptor, the printed circuit board in 3D

    Huesful power adaptor

    Hypfer/huesful-power-adaptor

    Use proper PSUs with Hue Signes, Playbars and more

    8 parts7CC-BY-SA-4.0
  • 4 layers36.2 × 104.6 mmChor cho, the printed circuit board in 3D

    Chor cho

    myaipen24/PACHO_Chorus

    A bit of a rip off of the "Little Angel" Chorus Pedal by Rick Holt but designed as an PCB using mostly SMD components.

    70 parts
  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 2 layers58 × 35.5 mmHat, the printed circuit board in 3D

    Hat

    menloresearch/asimov-1

    v1 of Asimov, an open-source humanoid robot

    24 parts1.4kCERN-OHL-S-2.0
  • 2 layers21.6 × 19.5 mmMicron Logo LED, the printed circuit board in 3D

    Micron Logo LED

    DraftShift/StealthChanger

    Tool changing system for Vorons and other front mount printer motion systems, not just stealthburner.

    24 parts1.2kGPL-3.0
  • 2 layers158 × 11 mmRainbow Matchstick, the printed circuit board in 3D

    Rainbow Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    24 parts1.1kGPL-3.0