Buzzer + Push Button

What will we do

This example is an extension of the buzzer tutorial. We will now add a push button to restart the buzzer.

Parts List

You will need the following parts:
  • 1x arduino uno
  • 1x arduino uno USB Cable
  • 1x Breadboard
  • 4x Jumper Wire
  • 1x Piezo Buzzer
  • 1x Push button switch
  • 1x Resistors
Please ensure that you have mBlock setup on you computer. Click here to setup mBlock
You purchased your Arduino kit from here​
Arduino UNO R3 Basic Starter Kit
RoboFactory

Wiring it up

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

Block Coding

mBlock Block-Based IDE- Coding for Beginners
​
Last modified 10mo ago