Arduino Music and Lights Christmas Tree

by lucafrancis04 in Circuits > Arduino

1572 Views, 4 Favorites, 0 Comments

Arduino Music and Lights Christmas Tree

IMG-20201207-WA0008.jpg
IMG-20201207-WA0007.jpg
Arduino Christmas tree

This is one of my first Arduino projects, it's a Christmas tree that plays Jingle Bells song synchronized with Leds that goes on and off.

Parts List.

IMG-20201207-WA0012.jpg

For this project you need:

  1. An Arduino board
  2. A breadboard
  3. 3 220 Ω resistors
  4. 1 buzzer
  5. 6 LEDs
  6. 12 male/female cables
  7. 12 male/male cables

Building the Circuit

Cattura.JPG
IMG-20201207-WA0003.jpg
IMG-20201207-WA0005.jpg

To design the circuit I used Thinkercad, this free program helps me every time I need to design circuits.

Build the circuit copying the wiring from the image.

Arduino Code.

codic arduino.JPG

In this code the first part commands the sound of the buzzer and the lighting of the LEDs, the second part manages the sound of the notes.

Making the Christmas Tree

IMG-20201207-WA0010.jpg
IMG-20201207-WA0011.jpg

To make the Christmas tree I used some scrap plywood.

I drew a cardboard shape then I transferred it to the wood surface, and then I cut the profile using a jigsaw.

For the holes that hold the LEDs, I used a drill with 5 millimeters drillbit.

Final Result

IMG-20201207-WA0000.jpg
IMG-20201207-WA0004.jpg
Arduino Christmas tree 2

I assembled the circuit following the Thinkercad sketch then uploaded the program on my Arduino board and here's the result! Enjoy!