> For the complete documentation index, see [llms.txt](https://learn.arduinosa.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.arduinosa.co.za/blocking-coding-lessons/beginner-lessons/buzzer.md).

# Buzzer

## 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

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

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M6PUI7Rw78wyY-sriVE%2F-M6PWD-XaglCAWCEkGyi%2Farduino%20-%20buzzer.png?alt=media\&token=71e7e155-738a-4da4-b724-11a057681f3c)

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-M6PHk-NPMejaejAmPdb%2F-M6PT6ONvxHtboYJs59o%2Farduino%20-%20buzzer%20code.png?alt=media\&token=a3143a95-7e95-4eac-953f-ee84e0d82b1a)

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