Skip to the content
4 layers25 × 42.5 mmStencil, the printed circuit board in 3D

This is a simple ESP32-C3 based fan controller design to support 4-pin computer fans from 5V to 24V at up to 2 amps. Fan tachometer is supported.

Size
25 × 42.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
50
Nets
51
Pads
235
Tracks, vias
247, 137
Pours
24
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
9 Mar 2026
Updated
20 Apr 2026

Overview

Stencil is an open-source printed circuit board by mikelawrence, from the mikelawrence/esphome-fan-controller repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board of 25 × 42.5 mm with 50 parts on 51 nets, routed with 247 tracks and 137 vias.

It is built around the SN74LV1T34DBV, ESP32-C3-MINI-1 and MPM3506AGQV-P, with the TPS61322DBZ, ESD9B3.3ST5G and SD36C-01FTG among its other parts. Its parts include 14 resistors, 13 capacitors, 6 ICs, 6 diodes and 2 connectors. It belongs with the ESP32 and RISC-V boards of this library.

Main components

8

README

pcb/README.md

ESPHome RGBCCT LED Controller PCB

This is a simple ESP32-C3 based fan controller design to support 4-pin computer fans from 5V to 24V at up to 2 amps. Fan tachometer is supported.

Status

  • Rev -: Ordered boards from JLCPCB. Ordered parts from Mouser and Digikey. Currently waiting to put everything together.

Schematic


Schematic

Bill of Materials


Interactive BOM

Parts

50
QtyValueFootprintReferences
410KΩResistor_SMD:R_0402_1005MetricR4, R5, R6, R9
31uFCapacitor_SMD:C_0805_2012MetricC11, C12, C13
35.1KΩResistor_SMD:R_0402_1005MetricR7, R8, R13
2100nFCapacitor_SMD:C_0402_1005MetricC6, C10
21kΩResistor_SMD:R_0805_2012MetricR10, R11
21uFCapacitor_SMD:C_0402_1005MetricC8, C9
24.7uFCapacitor_SMD:C_0805_2012MetricC2, C4
247uFCapacitor_SMD:C_0805_2012MetricC3, C5
2ESD9B3.3ST5GDiode_SMD:D_SOD-923D4, D7
2SN74LV1T34DBVPackage_TO_SOT_SMD:SOT-23-5U4, U5
2TestPointTestPoint:TestPoint_THTPad_1.0x1.0mm_Drill0.5mmTP1, TP2
2~MountingHole:MountingHole_2.2mm_M2_PadMH1, MH2
1107KΩResistor_SMD:R_0402_1005MetricR12
11uHInductor_SMD:L_0805_2012MetricL1
1200KΩResistor_SMD:R_0402_1005MetricR1
122nFCapacitor_SMD:C_0402_1005MetricC1
122uFCapacitor_SMD:C_0603_1608MetricC7
124KΩResistor_SMD:R_0402_1005MetricR3
15.23KΩResistor_SMD:R_0402_1005MetricR14
175KΩResistor_SMD:R_0402_1005MetricR2
1BOOTButton_Switch_SMD:SW_SPST_B3U-1000P-BSW1
1ESP32-C3-MINI-1ESP32-C3-MINI:ESP32-C3-MINI-1-N4XU3
1Fan_CPU_4pinConnector:FanPinHeader_1x04_P2.54mm_VerticalM1
1LM76202-Q1Package_SO:HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask2.66x2.46mm_ThermalViasU6
1MPM3506AGQV-PMPM3506A:QFN-19U1
1OSHW-Logo_5.7x6mm_SilkScreenSymbol:OSHW-Logo_5.7x6mm_SilkScreenTEXT1
1RESETButton_Switch_SMD:SW_SPST_B3U-1000P-BSW2
1SD36C-01FDiode_SMD:D_SOD-323D6
1SK6812-4020SK6812-4020:SK6812-4020D5
1SS2FH6HM3/HDiode_SMD:D_SMFD1
1Screw_Terminal_01x02Connector_Phoenix_MC:PhoenixContact_MCV_1,5_2-G-3.81_1x02_P3.81mm_VerticalJ1
1TPS61322DBZPackage_TO_SOT_SMD:SOT-23U2
1USB-CTYPE-C-31-M-12:HRO_TYPE-C-31-M-12J2
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6D3

More from mikelawrence/esphome-fan-controller

1
  • 2 layers25 × 42.5 mmEsphome fan controller, the printed circuit board in 3D

    Esphome fan controller

    mikelawrence/esphome-fan-controller

    This is a simple ESP32-C3 based fan controller design to support 4-pin computer fans from 5V to 24V at up to 2 amps. Fan tachometer is supported.

    51 partsCERN-OHL-P-2.0

Similar boards

  • 6 layers100 × 45 mmEsphome rgbcct led controller, the printed circuit board in 3D

    Esphome rgbcct led controller

    mikelawrence/esphome-rgbcct-led-controller

    ESPHome RGBCCT LED Controller is a PCB design that support a 5-Channel LED arrangement with Red, Green, Blue, Warm White and Cool White LEDs.

    83 parts1CERN-OHL-P-2.0
  • 4 layers81 × 80.9 mmELEC3300 DEMO, the printed circuit board in 3D

    ELEC3300 DEMO

    coopjz/FOC_Control_Boards

    110 parts1MIT
  • 2 layers37.4 × 22.3 mmWled, the printed circuit board in 3D

    Wled

    Urie96/my-pcb

    保存自己diy的一些电路板

    30 parts
  • 4 layers42 × 55.8 mmP3-cellular module, the printed circuit board in 3D

    P3-cellular module

    themainframe/p3-cellular-module

    CAD/CAM for a GPD Pocket 3 Cellular Module

    54 parts14
  • 4 layers75 × 56.4 mmEsp32-c6-wroom1 board, the printed circuit board in 3D

    Esp32-c6-wroom1 board

    pushtiujeniya/esp32-c6-environmental-logger

    This repository contains an Environmental Sensor Station and Data Logger powered by the ESP32-C6-WROOM-1 microcontroller.

    59 parts4
  • 4 layers50.1 × 85.2 mmLIONv3, the printed circuit board in 3D

    LIONv3

    RodrigoCAndrade/LIONv3-R

    The LIONv3-R is an IoT and Direct-to-Satellite board powered by the ESP32-C6, combining local Wi-Fi, Zigbee, and Thread networks with high-density LR-FHSS connectivity for scalable global tracking and telemetry.

    89 parts4
  • 4 layers50.2 × 40.2 mmLIONv3, the printed circuit board in 3D

    LIONv3

    RodrigoCAndrade/LIONv3-Mini

    The LIONv3-Mini is an IoT and Direct-to-Satellite board powered by the ESP32-C6, combining local Wi-Fi, Zigbee, and Thread networks with high-density LR-FHSS connectivity for scalable global tracking and telemetry.

    88 parts2

Questions

How big is the Stencil PCB?

It measures 25 × 42.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Stencil use?

50 parts, built around the SN74LV1T34DBV, ESP32-C3-MINI-1, MPM3506AGQV-P and TPS61322DBZ. 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 Stencil KiCad files?

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

Can I use the Stencil design in my own project?

Its repository publishes it under the CERN-OHL-P-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).