AR-161BeginnerPremium

Musical Chairs: Press When the Music Stops (Arduino + 4 Buttons + 4 LEDs + Buzzer)

Musical chairs for four players: the buzzer plays music and goes silent at a random moment. When it stops everyone presses their own button and the LED of each player who pressed lights up; the last one left is out. Pressing while the music plays is a foul and that player is out too. Rounds go on until one player is left and the winner's LED blinks to a victory tune. Non-blocking music, button debounce and random timing are all in here.

0.0(0)
Musical Chairs: Press When the Music Stops (Arduino + 4 Buttons + 4 LEDs + Buzzer)
The classic of birthday and New Year parties now sits on your table. While the music plays everyone keeps a finger ready, and nobody knows when it will stop. The moment it goes silent, the slowest player to press is out, and anyone who gets impatient and presses early commits a foul and is out as well. Four coloured lights show who is still in the game, and the last player standing wins the victory tune.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions