# Buzzer + Push Button

## What will we do

This example is an extension of the [buzzer tutorial](https://learn.arduinosa.co.za/blocking-coding-lessons/beginner-lessons/buzzer). 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

## Wiring it up <a href="#wiring-it-up" id="wiring-it-up"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M6PWGATcwRqUb5i6zZm%2F-M6PYfnVUVQ1tHgKcsws%2Fbuzzer%20%2B%20push%20button.png?alt=media\&token=eefd7647-076e-4858-9a3d-aff7f0dfbe47)

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

## Block Coding <a href="#block-coding" id="block-coding"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M6PWGATcwRqUb5i6zZm%2F-M6PYjl7mKa65uzfdzsT%2Fbuzzer%20%2B%20push%20button%20code.png?alt=media\&token=c3d34839-eff6-44fb-9506-338bd13330ba)

{% embed url="<https://ide.mblock.cc/#/?cloudProjectId=218945>" %}
