Stm32-fan ctrl
joubiti·stm32-fan-ctrl·Hardware/fan-ctrl.kicad_pcb
About the Stm32-fan ctrl PCB
Stm32-fan ctrl is an open source STM32 PCB design by joubiti, published on GitHub under the MIT license. It is a 4-layer board measuring 64 × 44 mm, with 43 components from 28 distinct parts.
Its main chip is the STM32G070RBT6, from the STM32 family. Other key parts include the 826629-3, MP2359DT-LF-Z, XDJK-0051-025 and AMS1117-3.3. By type, the board carries 13 capacitors, 11 resistors, 6 ICs, 3 test points, 3 diodes and 2 transistors.
From the project
12V fan controller (4 layer board designed with KiCAD, manufactured at JLCPCB) based on STM32 using PID control
This project implements a closed-loop fan controller on a custom 4-layer PCB (manufactured at JLCPCB) with an STM32G0 micrcontroller. The fan speed is controlled using a PWM signal and regulated to a target RPM using a PID controller. The tachometer output of the fan is measured with a timer input capture unit, filtered, and fed into the control loop. Fairly satisfactory control performances have been achieved with Kp=0.01, Ki=0.015, and Kd = 0.001 at 10Hz.
Main components on the Stm32-fan ctrl
Stm32-fan ctrl bill of materials (BOM)
43 components, 28 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32G070RBT6 | LQFP-64_L10.0-W10.0-P0.50-LS12.0-BL | U1 |
| 2 | 826629-3 | HDR-TH_3P-P2.54-V-M-1 | U2, U3 |
| 1 | MP2359DT-LF-Z | SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BR | U4 |
| 1 | XDJK-0051-025 | DC-IN-TH_XDJK-0051-025 | U5 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U6 |
| 1 | AO3401A | SOT-23_L2.9-W1.3-P1.90-LS2.4-BR | Q1 |
| 1 | AO3400A Alpha & Omega Semicon | Q_SOT-23 | Q2 |
| 1 | CRYSTAL_GND24 Crystal_GND24 | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | DB127S-3.5-4P-GN | CONN-TH_4P-P3.50_DIBO_DB127S-3.5-4P-GN | CN1 |
| 1 | 500MA 500mA | Fuse_1206_3216Metric | F1 |
| 3 | TestPoint | TestPoint_THTPad_D1.0mm_Drill0.5mm | TP9, TP10, TP11 |
| 1 | LED | LED_0805_2012Metric | D1 |
| 1 | LED | LED_0402_1005Metric | D2 |
| 1 | B5819W_C8598 | SOD-123_L2.7-W1.6-LS3.7-RD-1 | D3 |
| 1 | 600 @ 600 MHz | L_1206_3216Metric | FB1 |
| 1 | 4.7U 4.7u | L_1206_3216Metric | L1 |
| 4 | 100N 100n | C_0402_1005Metric | C1, C2, C3, C7 |
| 1 | 4.7U 4.7u | C_0402_1005Metric | C4 |
| 2 | 10P 10p | C_0402_1005Metric | C5, C6 |
| 5 | 10U 10u | C_1206_3216Metric | C8, C10, C11, C12, C13 |
Show 8 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 10N 10n | C_1206_3216Metric | C9 |
| 1 | 49K9 49k9 | R_0603 | R1 |
| 2 | 1k | R_0402 | R2, R8 |
| 2 | 10K 10k | R_0402 | R3, R11 |
| 1 | 100K 100k | R_0603 | R4 |
| 1 | 9K1 9k1 | R_0603 | R7 |
| 3 | 10K 10k | R_0603 | R9, R10, R13 |
| 1 | 100 | R_0402 | R12 |
Stm32-fan ctrl design files
The KiCad project lives in the joubiti/stm32-fan-ctrl repository on GitHub; these links point at the commit this page was built from.
Stm32-fan ctrl: common questions
What microcontroller does the Stm32-fan ctrl use?
The Stm32-fan ctrl is built around the STM32G070RBT6, from the STM32 family.
How big is the Stm32-fan ctrl PCB?
The Stm32-fan ctrl measures 64 × 44 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the Stm32-fan ctrl?
43 components, from 28 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Stm32-fan ctrl design files?
From the joubiti/stm32-fan-ctrl repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Stm32-fan ctrl design in my own project?
Yes, under the terms of its MIT license, which joubiti chose for the repository.
Can I test firmware for the Stm32-fan ctrl without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k