James Lewis
Published © MIT

PCB Present Ornament

A PCB Gift Box that looks great sitting on a desk or hanging on a holiday tree.

IntermediateShowcase (no instructions)2 hours1,106
PCB Present Ornament

Things used in this project

Hardware components

ATmega328PB microcontroller
Microchip ATmega328PB microcontroller
Can either be a 168P or 328PB, as long as the pin out matches
×1
LED (generic)
LED (generic)
Red, Green, White... you pick. Surface mount 1206.
×48
Resistor 1k ohm
Resistor 1k ohm
0805 surface mount to current limit the LEDs.
×1
Resistor 0.05 ohm
Resistor 0.05 ohm
Er... 0 ohm surface mount, 1206 (or 1210). These are jumpers. I wanted all of the traces on one side of the PCB with no through-holes.
×1
PPTC Resettable Fuse, SMD
PPTC Resettable Fuse, SMD
0ZCK0020FF2G, 5V, 200 mA
×1
LiPo Battery
I used a 250 mA. Pay attention to the polarity. I use Adafruit batteries, but the JST connector on the PCB is wrong. :(
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

PCB Present on GitHub

Code and Schematic. Originally created with KiCad 5 (6 was released 1 month later!)

Code

Arduino code for the ATmega8

Should work on most ATmega8 processors. (I forgot how big the code is, but no serial means it's pretty small.)

Credits

James Lewis

James Lewis

11 projects • 640 followers
Electronics enthusiast, Bald Engineer, and freelance content creator. AddOhms on YouTube. KN6FGY.

Comments