Skip to content

Mini Musical Instrument

Ashwin Rajesh edited this page Sep 11, 2025 · 1 revision

Difficulty: Easy

Hardware:

  • Button x 2
  • Buzzer

Requirement

Wire up two buttons and a buzzer on separate pins.

Every time button 1 is pressed the buzzer should play a low frequency tone. Likewise, every time button 2 is pressed, a high frequency tone should be played.

The frequencies that you use are up to you.

Bonus: Add an extra button to play a mid frequency tone.

Clone this wiki locally