Led fan control
Sirawit7205·led-fan-control
About the Led fan control PCB
Led fan control is an open source AVR/Arduino PCB design by Sirawit7205, published on GitHub under the CERN-OHL-S-2.0 license. It is a 2-layer board measuring 110 × 26 mm, with 83 components from 47 distinct parts.
Its main chip is the ATtiny1616-M, from the AVR/Arduino family. Other key parts include the BQ25060DQC, BQ29701DSE, DRV8876PWP and TPS61088RHL. By type, the board carries 29 resistors, 23 capacitors, 12 connectors, 5 ICs, 5 transistors and 3 fuses.
It belongs with the power & battery and retro computing designs in this gallery.
From the project
PCB for retrofitting a cheap rechargeable fan with LED lights
This is an open-source KiCAD design files for a retrofitting controller for cheap rechargeable USB fan with LED lights.
This board is an upgrade (I hope) for the old control board for lead-acid battery that broke down.
- 1A Charging via USB Type-C port or external 5V power. - BQ25185DLH Battery charger IC - BQ29701DSE Battery protection IC with extremely low RDS(on) MOSFET pair - TPS61088RHL Boost converter from Vbat to 8V motor voltage - DRV8876PWP Brushed DC Fan driver - MCU control for fan and led levels.

Main components on the Led fan control
Led fan control bill of materials (BOM)
83 components, 47 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | BQ25060DQC | WSON-10-1EP_2x3mm_P0.5mm_EP0.84x2.4mm | U1 |
| 1 | BQ29701DSE | WSON-6_1.5x1.5mm_P0.5mm | U2 |
| 1 | DRV8876PWP | TSSOP-16-1EP_4.4x5mm_P0.65mm | U3 |
| 1 | TPS61088RHL | Texas_VQFN-RHL-20 | U4 |
| 1 | ATtiny1616-M | VQFN-20-1EP_3x3mm_P0.4mm_EP1.7x1.7mm | U5 |
| 2 | MOT3145G | PQFN-8-EP_6x5mm_P1.27mm_Generic | Q1, Q2 |
| 1 | 2300 | SOT-23 | Q3 |
| 2 | DOZ40P02 | VSON-8_3.3x3.3mm_P0.65mm_NexFET | Q4, Q5 |
| 1 | PWR_JACK | JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | J1 |
| 1 | USB_C_Receptacle_6P | USB_C_Receptacle_HRO_TYPE-C-31-M-17 | J2 |
| 1 | NTC | JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | J3 |
| 2 | BAT | JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | J4, J5 |
| 1 | FAN | JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | J6 |
| 1 | LED | JST_XH_S2B-XH-A_1x02_P2.50mm_Horizontal | J7 |
| 1 | UPDI | PinHeader_1x03_P2.54mm_Vertical | J8 |
| 1 | VBUS | TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | P1 |
| 1 | CC1 | TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | P2 |
| 1 | CC2 | TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | P3 |
| 1 | GND | TestPoint_THTPad_2.0x2.0mm_Drill1.0mm | P4 |
| 3 | 4A | Fuse_1812_4532Metric | F1, F2, F3 |
Show 27 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | FAN_ON | SW_PUSH_6mm | SW1 |
| 1 | LED_ON | SW_PUSH_6mm | SW2 |
| 1 | SMF6.5CA | D_SOD-123F | D1 |
| 1 | SS34 | D_SMA | D2 |
| 1 | LED_RAGB | LED_D5.0mm-4_RGB_Wide_Pins | D3 |
| 1 | 2u2H | L_Abracon_ASPI-0630LR | L1 |
| 3 | 1uF | C_0805_2012Metric | C1, C2, C3 |
| 8 | 100nF | C_0603_1608Metric | C4, C5, C7, C17, C19, C21, C22, C25 |
| 5 | 22uF | C_1210_3225Metric | C6, C9, C10, C11, C20 |
| 3 | 1uF | C_0603_1608Metric | C8, C12, C13 |
| 1 | 47nF | C_0603_1608Metric | C14 |
| 1 | 2n2F | C_0603_1608Metric | C15 |
| 1 | 100pF | C_0603_1608Metric | C16 |
| 1 | 22nF | C_0603_1608Metric | C18 |
| 2 | 5K1 | R_0603_1608Metric | R1, R2 |
| 7 | 15K | R_0603_1608Metric | R3, R4, R5, R15, R16, R18, R20 |
| 2 | 10K | R_0603_1608Metric | R6, R27 |
| 1 | 20K | R_0603_1608Metric | R7 |
| 1 | 6K8 | R_0603_1608Metric | R8 |
| 5 | 330R | R_0603_1608Metric | R9, R21, R22, R23, R28 |
| 1 | 2K2 | R_0603_1608Metric | R10 |
| 1 | 255K | R_0603_1608Metric | R11 |
| 1 | 680K | R_0603_1608Metric | R12 |
| 1 | 120K | R_0603_1608Metric | R13 |
| 4 | 150K | R_0603_1608Metric | R14, R24, R25, R26 |
| 2 | 1K2 | R_0603_1608Metric | R17, R29 |
| 1 | 47K | R_0603_1608Metric | R19 |
Led fan control design files
The KiCad project lives in the Sirawit7205/led-fan-control repository on GitHub; these links point at the commit this page was built from.
- Layoutfan_charger.kicad_pcb
- Schematicfan_charger.kicad_sch
Led fan control: common questions
What microcontroller does the Led fan control use?
The Led fan control is built around the ATtiny1616-M, from the AVR/Arduino family.
How big is the Led fan control PCB?
The Led fan control measures 110 × 26 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Led fan control?
83 components, from 47 distinct parts. The full bill of materials is listed on this page.
Where can I download the Led fan control design files?
From the Sirawit7205/led-fan-control repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Led fan control design in my own project?
Yes, under the terms of its CERN-OHL-S-2.0 license, which Sirawit7205 chose for the repository.
Can I test firmware for the Led fan control without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Magspoof
samyk
35 × 29 mm11 parts2LNo license4.2kAVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
Labrador
espotek-org
36.8 × 34.7 mm75 parts2LNo license1.2kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k