Skip to the content
PCBKitNew board
2 layers100 × 22 mmPCBv2, the printed circuit board in 3D

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

2

README

README.md

TINYLED

Image of cat sign

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.

Top of PCB Bottom of PCB

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
QtyValueFootprintReferences
5WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3, D4, D5
310kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4, R5, R6
2220nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2
25.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2
12k2Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
14.7uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3
1ATtiny412-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1Battery_CellAdams:CB-18650-PC2BT1
1MCP73831-2-OTPackage_TO_SOT_SMD:SOT-23-5U2
1SW_SPDTButton_Switch_SMD:SW_SPDT_CK-JS102011SAQNSW2
1SW_SPSTButton_Switch_SMD:SW_Push_1P1T_NO_6x6mm_H9.5mmSW1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

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 layers33.2 × 17.2 mmFlight, the printed circuit board in 3D

    Flight

    dayangac/Pcb-Designs

    the Pcb-Designs by Emre Dayangaç

    8 parts
  • 2 layers24 × 17 mmPower atiny v2, the printed circuit board in 3D

    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 mmQC Hack wPins, the printed circuit board in 3D

    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 layersPcb actionneur ventouse, the printed circuit board in 3D

    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 mmIGEM melty, the printed circuit board in 3D

    IGEM melty

    SreeniEadara/Hopkins-iGEM-2022-electrical

    Schematics and PCB designs for Hopkins iGEM 2022

    64 parts1
  • 2 layers58 × 29.5 mmAttiny412 addressable, the printed circuit board in 3D

    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 mmVPC, the printed circuit board in 3D

    VPC

    Archfx/evie

    Camaro6 tweaks

    27 parts