What will we do

This example will show you how to wire up a buzzer and play a sound.

Parts List

You will need the following parts:

  • 1x arduino uno

  • 1x arduino uno USB Cable

  • 1x Breadboard

  • 2x Jumper Wire

  • 1x Piezo Buzzer

Please ensure that you have mBlock setup on you computer. Click here to setup mBlock

You purchased your Arduino kit from here

Wiring it up

Ensure that the buzzer are the right way around, with the positive lead to the left.

Block Coding

Last updated