A melody player that plays Happy Birthday using an Arduino R3
This melody player uses the following materials:
- x1 Arduino Uno R3
- x1 Wireless Breadboard
- x1 Piezo Buzzer
- x3 LEDs
- x3 220 Ohm Resistors
- x1 10k Ohm Resistor
- x1 Pushbutton
- Jumper wires (as necessary)
This melody player plays Happy Birthday. It can be paused and resumed by using the pushbutton. The LEDs change brightness based on what frequency is playing through the buzzer. To do this, the PWM is changed to create shorter/longer duty cycles based on what frequency is playing.