Project: Musical Christmas ornament

36.36% relative
4.00% relative

Began in November 2018

This musical Christmas ornament has a button concealed beneath it which, when pressed, lights up the LED at the top and plays a Christmas song through a buzzer. It cycles between three songs as it is pressed.

Long-pressing the button will also play an extended verison of each song.

I custom-designed the 3D printed tree housing as well as the internal AA battery housing. I soldered the components together and crammed them into the small alcove inside of the ornament.

This was built on an ATMEGA328p-pu chip.

  • The underside of the tree ornament with the cover removed showing exposed wires, a microcontroller, and other components with 3D-printed and hot glue connections
  • An ATMEGA328p-pu microcontroller and clock soldered onto a plain PCB board with wires attached
  • Three AA batteries connected to a 3D-printed housing with metal connectors and wires protruding
  • The wiring layed out on a breadboard with the microcontroller being programmed by an Arduino Uno board