Christmas time feels more fun when music plays.
This project plays the Jingle Bells tune using Arduino Uno.
With Arduino and small buzzer, we can make Jingle Bells tune at home.
Very easy circuit and with very happy sound.
Good project for beginners and kids.
Arduino Coding:
int buzzer = 10;
int led = 13;
int melody[] = {659,659,659,659,659,659,659,784,523,587,659};
int duration[] = {250,250,500,250,250,500,250,250,250,250,500};
void setup() {
pinMode(buzzer,OUTPUT);
pinMode(led,OUTPUT);
}
void loop() {
for(int i=0;i<11;i++){
tone(buzzer,melody[i]);
digitalWrite(led,HIGH);
delay(duration[i]);
noTone(buzzer);
digitalWrite(led,LOW);
delay(50);
}
}
Code Explanation:
- Buzzer pin is set to pin 10.
- LED pin is set to pin 13.
- Melody array stores note frequency in hertz.
- Duration array stores note timing in milliseconds.
- Tone function makes buzzer create sound.
- NoTone stops the sound.
- LED turns on for every note.
- Small delay makes notes separate.
Circuit Working:

Parts List:
| Item | Quantity |
|---|---|
| Resistor 150Ω | 1 |
| Arduino Uno | 1 |
| RED LED 5mm 20mA | 1 |
| Piezo Buzzer Small | 1 |
| 5V DC Power supply | 1 |
The above circuit is an easy project one should give it a try.
Arduino sends sound signals to piezo buzzer from pin 10.
Buzzer vibrates and makes musical notes.
LED blinks at the same time from pin 13.
The R1 resistor stops extra current from reaching the LED.
5V powers the LED and buzzer.
GND completes the circuit.
Formulas with Calculations:
General formula for LED resistor in Jingle Bells Arduino circuit:
Red LED forward voltage = 2V
Safe LED current = 20mA (0.02A)
Arduino output = 5V
Resistor formula:
R = (Vsource – Vled) / I
So R = (5V – 2V) / 0.02A
R = 3V / 0.02A
R = 150 ohms
How to Build:
To build a Jingle Bell Song Circuit with Arduino and Piezo Buzzer follow the below steps:
- Assemble all the parts as shown in above circuit diagram.
- Connect piezo buzzer positive to Arduino pin 10.
- Connect piezo buzzer negative to GND.
- Connect LED positive pin to pin 13 of Arduino.
- Connect LED negative pin to resistor.
- Connect resistor other side to GND.
- Connect Arduino 5V and GND to power rail.
Conclusion:
This project is Jingle Bell Song Circuit with Arduino and Piezo Buzzer.
With easy steps and short code.
Good for beginners and school projects.
We can change melody numbers to play other songs.
Shows how buzzer and LED work with Arduino.
References:
Arduino Uno: Jingle Bells piezo, LEDs (red and green), and LCD Screen