Led pwm-4bit
hyiger·led-pwm-4bit
About the Led pwm-4bit PCB
Led pwm-4bit is an open source AVR/Arduino PCB design by hyiger, published on GitHub. It is a 2-layer board measuring 40 × 30 mm, with 32 components from 20 distinct parts.
Its main chip is the ATTINY412-SSN, from the AVR/Arduino family. Other key parts include the MCP1792T-3302H/CB. By type, the board carries 11 resistors, 9 capacitors, 4 connectors, 3 diodes, 2 ICs and 2 fuses.
From the project
4-bit LED PWM controller for a 24 V strip, driven by a Prusa GPIO Hackerboard (KiCad 10)
A 40 × 30 mm two-layer board that dims a 24 V LED strip to one of 16 levels set by four open-drain outputs of a Prusa GPIO Hackerboard. An ATtiny412 reads the 4-bit word and drives a low-side N-MOSFET with 10-bit PWM at about 2.4 kHz.
KiCad 10 project. The design brief is docs/spec.md and the reference netlist is docs/netlist.txt.
All parts are chosen from manufacturers Mouser stocks, and each was checked against its manufacturer's datasheet for package, pinout and ratings. Capacitor values were also checked against DC-bias data. fab/led-pwm-4bit-bom.csv is the full BOM and…

Main components on the Led pwm-4bit
Led pwm-4bit bill of materials (BOM)
32 components, 20 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MCP1792T-3302H/CB Microchip | SOT-23 | U1 |
| 1 | ATTINY412-SSN ATtiny412-SSN Microchip | SOIC-8_3.9x4.9mm_P1.27mm | U2 |
| 1 | RTR030N05HZGTL RTR030N05HZG ROHM | SOT-23 | Q1 |
| 1 | 1984617 24V IN Phoenix Contact | TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_Horizontal | J1 |
| 1 | 1984617 LED STRIP Phoenix Contact | TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_Horizontal | J2 |
| 1 | 61300511121 HACKERBOARD Wurth Elektronik | PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | 61300611121 FTDI-UPDI Wurth Elektronik | PinHeader_1x06_P2.54mm_Vertical | J4 |
| 1 | 1812L050/60MR 0.5A 60V Littelfuse | Fuse_1812_4532Metric | F1 |
| 1 | 0ZCG0010FF2C 0.1A 60V Bel Fuse | Fuse_1812_4532Metric | F2 |
| 2 | B160-13-F B160 Diodes Inc | D_SMA | D1, D2 |
| 1 | BAT54HT1G onsemi | D_SOD-323 | D3 |
| 1 | GRM188R61H225KE11D 2.2u 50V X5R Murata | C_0603_1608Metric | C1 |
| 2 | GRM31CR71H475MA12L 4.7u 50V X7R Murata | C_1206_3216Metric | C2, C9 |
| 1 | CL10A106MP8NQWC 10u 10V X5R Samsung | C_0603_1608Metric | C3 |
| 1 | C0603C104K5RACTU 100n 50V X7R KEMET | C_0603_1608Metric | C4 |
| 4 | C0603C103K5RACTU 10n 50V X7R KEMET | C_0603_1608Metric | C5, C6, C7, C8 |
| 1 | RC0603FR-07100RL 100 YAGEO | R_0603_1608Metric | R1 |
| 1 | RC0603FR-07100KL 100k YAGEO | R_0603_1608Metric | R2 |
| 8 | RC0603FR-0710KL 10k YAGEO | R_0603_1608Metric | R3, R4, R5, R6, R7, R8, R9, R10 |
| 1 | RC0603FR-07470RL 470 YAGEO | R_0603_1608Metric | R11 |
Led pwm-4bit design files
The KiCad project lives in the hyiger/led-pwm-4bit repository on GitHub; these links point at the commit this page was built from.
- Layoutled-pwm-4bit.kicad_pcb
- Schematicled-pwm-4bit.kicad_sch
- BOMfab/led-pwm-4bit-bom.csv
Led pwm-4bit: common questions
What microcontroller does the Led pwm-4bit use?
The Led pwm-4bit is built around the ATTINY412-SSN, from the AVR/Arduino family.
How big is the Led pwm-4bit PCB?
The Led pwm-4bit measures 40 × 30 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Led pwm-4bit?
32 components, from 20 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 Led pwm-4bit design files?
From the hyiger/led-pwm-4bit 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 Led pwm-4bit design in my own project?
The repository has no license, so all rights stay with hyiger. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Led pwm-4bit 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