

PCBv2
Light-up sign with an attiny10 and three ws2812b RGB LEDs.
- Size
- 100 × 22 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 20
- Nets
- 25
- Pads
- 84
- Tracks, vias
- 127, 18
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 18 Apr 2021
- Updated
- 1 Dec 2022
Overview
PCBv2 is an open-source printed circuit board by adaand00, from the adaand00/TINYLED repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 100 × 22 mm with 20 parts on 25 nets, routed with 127 tracks and 18 vias.
It is built around the ATTINY412-SSN and WS2812B. Its parts include 6 resistors, 5 diodes, 3 capacitors, 2 ICs and 2 switches. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.
Main components
2README
README.mdTINYLED
Light-up sign with an attiny10 and three ws2812b RGB LEDs.
Introduction
This is a simple project to make a light-up stand for laser-cut acrylic signs. I mainly did this as an excercise in using the attiny10-series of microcontrollers. They are very limited with just 512 or 1024 bytes of flash and 32 bytes RAM. The final code is just under 500 bytes, of which half is for driving the LEDs.
Circuit board
The PCB was designed in fusion360. There are test points on the underside for pogo-pin programming. The PCB also has slots for the laser cut feet to snap-fit into.
Gerber files are supplied in the hardware folder.
Programming
I used the Attiny10IDE by @wholder to program the chip. I managed to fit one rainbow animation and a couple solid color animations into the 512 byte memory of the attiny5. Because of space constraints, I have only implemented hue control for the LEDs. If the code was optimized a bit, brightness control could perhaps also be implemented, which would enable some more cool animations.
The source code is provided as a .c file that can be modified and built with the attiny10IDE. There is also a .ino file that can be used to turn an arduino into a programmer.
BOM
- 1x Attiny4/5/9/10 (tested with 5, should work with all)
- 3x ws2812b, also known as neopixels
- 1x 6x6mm tactile pushbutton with SMD mounting
- 1x 500 ohm 0603 resistor
- 1x molex 105017-0001 micro USB connector
- 1x PCB
Future work
- Add brightness control in LED driver function.
- Modify PCB to allow for bigger signs (Move feet, add more LEDs, use smaller switch).
- Ditch micro USB for battery, USB-C or barrel jack.
Parts
20| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1, D2, D3, D4, D5 |
| 3 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4, R5, R6 |
| 2 | 220nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2 |
| 1 | 2k2 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3 |
| 1 | 4.7uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C3 |
| 1 | ATtiny412-SS | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | Battery_Cell | Adams:CB-18650-PC2 | BT1 |
| 1 | MCP73831-2-OT | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | SW_SPDT | Button_Switch_SMD:SW_SPDT_CK-JS102011SAQN | SW2 |
| 1 | SW_SPST | Button_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mm | SW1 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
Questions
How big is the PCBv2 PCB?
It measures 100 × 22 mm and has 2 copper layers, 1.6 mm thick.
What parts does the PCBv2 use?
20 parts, built around the ATTINY412-SSN and WS2812B. 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 PCBv2 KiCad files?
From the adaand00/TINYLED repository on GitHub, at the commit this page was made from: the board is PCBv2/PCBv2/PCBv2.kicad_pcb and its schematic PCBv2/PCBv2/PCBv2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the PCBv2 design in my own project?
Its repository publishes it under the GPL-3.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 layers14 × 35 mm

- 2 layers33.2 × 17.2 mm

- 2 layers24 × 17 mm

Power atiny v2
fijam/md-lpm
This project consists of hardware files and software for a coin-battery operated laser tester that fits in a MiniDisk case.
17 parts14 - 2 layers26.1 × 31.4 mm

QC Hack wPins
Fab-Lab-Island/fli-bootcamp-2025
About Fab Lab ísland bootcamp Húsavík 2025. Kíkið á síðuna fyrir neðan!
15 parts2 - 2 layers

Pcb actionneur ventouse
Brasseur2robot/Les-brasseurs-d-idees
Codebase de l'équipe légende des brasseurs d'idées concourant à la coupe de France de robotique. Vous pouvez y retrouver les différents fichiers utilisés pour la création et le fonctionnement de notre robot principal et…
25 parts1GPL-3.0 - 4 layers98 × 98 mm

IGEM melty
SreeniEadara/Hopkins-iGEM-2022-electrical
Schematics and PCB designs for Hopkins iGEM 2022
64 parts1 - 2 layers58 × 29.5 mm

Attiny412 addressable
user-will/cursedPCB
A quick start guide and related files for the Cursed PCB by Reil Industrial
35 parts1 - 2 layers24.2 × 24.1 mm
