Make Some Noise

This guide will show you how to program the buzzer on your Maker Uno RP2040 to play melody or tone. The on-board buzzer is connected to pin 8 or GPIO8. The buzzer also come with a mute switch, so you can mute the buzzer if pin 8 is used for other purpose.

 

 

 

 

  1. Open the Arduino IDE and make sure the correct board and COM port are selected.

  2. Copy and paste the folowing code to your Arduino IDE. 

  3. Verify and Upload the sketch to your Maker Uno RP2040. The expected output is that the buzzer will play a snippet of the Mario Bros theme song melody and then respond to button press to play a short tone.

 

Hardware Components

x 1 unit(s)