Arduino music and sound projects
These projects are tagged sound or synth. Buzzers and piezos play tunes, and there are alarms, drum pads, theremins and synths. Mokxi has 126 of them (39 beginner, 55 intermediate and 32 advanced). Here are 24, from “MicroPython doorbell: a button sounds a buzzer” to “Eurorack CV quantizer”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “Touch piano”, a beginner project that needs a capacitive touch and a piezo speaker.
- Most of them are intermediate projects. Pick one a level below what you think you can do, finish it, then move up.
- The parts used most here are the piezo speaker (76 projects), the push button (57) and the LED (41). With those on hand, most of this list is open to you.
- A passive piezo plays any note with tone(); an active buzzer only beeps at its own pitch, so check which one a project uses before you buy.
24 projects of 126

MicroPython doorbell: a button sounds a buzzer
MicroPython on an ESP32: hold the button on GPIO 4 and an active buzzer, switched through an S8050 transistor from GPIO 13, sounds.
- Board
- ESP32-DevKitC V4
- Parts
- Buzzer, resistor, transistor, push button
- Level
- Beginner

Ultrasonic theremin
Ultrasonic theremin on an Arduino Nano: wave a hand over an HC-SR04 to play notes of a pentatonic scale, or glide the pitch like a real theremin.
- Board
- Arduino Nano
- Parts
- HC-SR04 ultrasonic sensor, arcade button, piezo speaker
- Level
- Beginner

Morse sender
An ESP32-C3 sends a word in Morse on a lamp and a piezo at once, and a button picks the next message.
- Board
- ESP32-C3-DevKitM-1
- Parts
- Resistor, LED, piezo speaker, push button
- Level
- Beginner

Doorbell
A pushbutton lifts the 555 out of reset and a 4 Hz astable beeps the buzzer.
- Board
- No board
- Parts
- Resistor, NE555 timer, capacitor, push button, buzzer
- Level
- Beginner

Stop the light game
Stop the light game on a Raspberry Pi Pico: press the button as a red light runs onto the green LED of a 16-LED NeoPixel ring, faster every level.
- Board
- Raspberry Pi Pico
- Parts
- WS2812 NeoPixel LEDs, arcade button, piezo speaker
- Level
- Beginner

Touch piano
Twelve foil keys on an MPR121 touch controller play an octave from middle C on a piezo; the lowest key held wins.
- Board
- Arduino Uno R3
- Parts
- Capacitive touch, piezo speaker
- Level
- Beginner

Vibration alarm: a spring switch on pin 3, a buzzer on 13
A spring vibration switch from pin 3 to ground fires an interrupt the moment it is shaken, and an active buzzer on pin 13.
- Board
- Arduino Uno R3
- Parts
- Resistor, transistor, buzzer, spring vibration switch
- Level
- Beginner

LED fireworks
Rockets climb a 30-LED WS2812B strip and burst into fading sparks while a piezo whistles and pops, with a button for the grand finale.
- Board
- Arduino Uno R3
- Parts
- Push button, resistor, WS2812 NeoPixel LEDs, piezo speaker
- Level
- Intermediate

ESP32 I2S sine player
A MAX98357A I2S amplifier on an ESP32 playing a 440 Hz sine into a speaker, the samples computed in the sketch with ESP_I2S.h.
- Board
- ESP32 DevKit V1
- Parts
- I2S amplifier, 8 ohm speaker
- Level
- Intermediate

Animated diorama: DFPlayer sound + stepper
A button plays a C-3PO line on a DFPlayer Mini while a 28BYJ-48 turns R2-D2’s dome.
- Board
- Arduino Nano
- Parts
- DFPlayer Mini MP3 module, resistor, push button, 8 ohm speaker, 28BYJ-48 stepper and ULN2003
- Level
- Intermediate

Pico W reversing aid: HC-SR04 and a beeper
MicroPython on a Pico W: an HC-SR04 on GP17 and GP16 measures the gap, and an active buzzer and an LED beep faster as an obstacle gets closer.
- Board
- Raspberry Pi Pico W
- Parts
- HC-SR04 ultrasonic sensor, resistor, buzzer, transistor, LED
- Level
- Intermediate

Jukebox
A DFPlayer Mini over SoftwareSerial with DFRobot’s library: it plays the microSD card’s files one after another, hears each one end, and watches BUSY.
- Board
- Arduino Uno R3
- Parts
- DFPlayer Mini MP3 module, resistor
- Level
- Intermediate

555 tone
A 555 astable drives a piezo straight from the output pin, no board and no button.
- Board
- No board
- Parts
- Resistor, NE555 timer, capacitor, piezo speaker
- Level
- Intermediate

DAC sine wave
An MCP4725 on I2C plays a 32-point sine onto a scope: a real voltage, not PWM, and A0 reads it back to check.
- Board
- Arduino Uno R3
- Parts
- DAC, oscilloscope
- Level
- Intermediate

ESP32 I2S microphone level meter
An INMP441 I2S microphone on an ESP32, read with the ESP-IDF I2S driver: the sound level in dBFS and a bar on the serial monitor.
- Board
- ESP32 DevKit V1
- Parts
- I2S microphone
- Level
- Intermediate

Handheld game console
A pocket console you can build: an ESP32-C3, a color TFT, a D-pad, A, B, Start and Select, chiptune on a piezo and a battery gauge.
- Board
- ESP32-C3-DevKitM-1
- Parts
- ILI9341 TFT display, game console buttons, piezo speaker, push button, battery: AA, +1 more
- Level
- Advanced

MIDI controller
Two faders, a knob, four drum pads and an encoder on a Pro Micro, sending real MIDI bytes the 5-pin way.
- Board
- SparkFun Pro Micro
- Parts
- Resistor, LED, slide potentiometer, push button, potentiometer, +1 more
- Level
- Advanced

Alarm clock with a timer on a four-digit display
A DS1307 keeps the time on a four-digit display driven by a 74HC595 (8, 13, 12).
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, four-digit seven-segment display, resistor, push button, RGB LED, +3 more
- Level
- Advanced

Slot machine
Pull a real arcade lever to spin three OLED reels that stop one by one. Coins, a bet, win lights and a pay table with odds you can check.
- Board
- Arduino Uno R3
- Parts
- Piezo speaker, WS2812 NeoPixel LEDs, arcade button, arcade joystick lever, SSD1306 OLED display
- Level
- Advanced

Breakout game on an OLED
Breakout game on an OLED with a knob for the paddle: 32 bricks, three lives, a faster ball for every wall you clear, and sound on a piezo.
- Board
- Arduino Mega 2560 R3
- Parts
- SSD1306 OLED display, arcade button, piezo speaker, potentiometer
- Level
- Advanced

Desk buddy robot
Animated robot eyes on a round GC9A01: it blinks and glances about, beams when you stroke it, gets dizzy when rocked and lonely when ignored.
- Board
- ESP32-C3-DevKitM-1
- Parts
- GC9A01 round display, MPU6050 accelerometer and gyro, touch sensor, photoresistor module, piezo speaker
- Level
- Advanced

Spaceship control panel
Arm three systems, pass the go/no-go poll, lift the safety and launch.
- Board
- Arduino Mega 2560 R3
- Parts
- Slide switch, LED arcade button, TM1637 four-digit display, piezo speaker, WS2812 NeoPixel LEDs, +7 more
- Level
- Advanced

Pinball table
A table you can play on a Mega: flippers, pop bumpers on a kicker solenoid, targets, a drain beam and a plunger, with a four-digit score.
- Board
- Arduino Mega 2560 R3
- Parts
- TM1637 four-digit display, WS2812 NeoPixel LEDs, pinball table, MOSFET, diode, +3 more
- Level
- Advanced

Eurorack CV quantizer
A control voltage snapped to the nearest note of a scale and sent out at one volt per octave through a filtered PWM DAC.
- Board
- Arduino Nano
- Parts
- Potentiometer, resistor, capacitor, LED, slide switch, +2 more
- Level
- Advanced
Wiring, libraries and more ideas
Wiring guides
Library pages
More project ideas
- Arduino Uno project ideas
- ESP32 project ideas
- Raspberry Pi Pico project ideas
- Arduino Mega project ideas
- Projects with a piezo speaker
- Projects with a push button
- LED projects for Arduino, ESP32 and Pico
- Projects with a buzzer
- Projects with a transistor
- Projects with an arcade button
- Servo motor projects
- NeoPixel projects