In this Christmas season I wanted to do some funny stuffs using arduino. Previously few years back I had made a project Christmas decoration and music using discrete components.
Now I had come with funny easy and interesting project using arduino and few other easily available electronics components. The project posted here plays three different popular Christmas tone i.e. Jingle Bell Jingle Bell, wish you merry Christmas and Santa Claus is coming to town. The interest lies on the thing you have created with you owns. Definitely this project is your interest and can be used in Christmas decoration. The best part of this project is you can wire this entire circuit in few minutes and gives hour of fun.
Components used | Christmas Music and Decoration using Arduino
- Arduino Uno Board or Equivalent
- Three Push to ON Switch
- Three 10K Resistors
- 100 Resistor
- Piezo Buzzer
- Three Different Color LED
- A breadboard and connecting wire
The complete components are shown in figure 1.
Circuit Description and Working of Christmas Music and Decoration using Arduino
The circuit diagram of is shown in figure 2. The center component of the project is arduino uno board which play the different note as per code. We had made three functions for three Christmas songs, when we press any buttons say SW1 Christmas tone start to play. The switch operation is shown in table 1.
Table No. 1 | ||
S.N. | Switch No | Christmas Tone |
1. | SW1 | Jingle Bell Jingle Bell |
2. | SW2 | Wish you Merry Christmas |
3. | SW3 | Santa Claus is Coming to Town |
The three different LEDs connected to digital pin D13, D12, D11 is used in this circuit for lighting effect. These LEDs blink according to tone played. Resistor R4Â (100) is used in this circuit as current limiter which protect piezo buzzer and LED from burning out. You can use any value of resistor R4 between 50 ohm to 360 ohm. The volume of piezo buzzer is dependent upon this resistor i.e. lower value of resistor produce louder sound and vice versa.
Three 10K ohm resistor is used in this circuit just for switch bouncing.
Software Code: The software code of the project is written in arduino programming language and is compiled using arduino IDE. Before using the software, you have to include a library file. You can download the software folded from below. It includes all necessary file i.e. library and software code.