Target Amount: $541 / $2000

Amount Raised will be updated once daily.

Thanks to those who have donated.

Starting Electronics Fund Raiser

It is that time of the year again when our annual web hosting subscription must be paid.
We also need to upgrade our lab equipment which is outdated (including test equipment).
Please consider giving a donation to Starting Electronics and help to fund this site.

Mobile and Small Screen Device users click / touch here for a better user experience

One of the projects funded by your donations is a responsive website (above link) that will give a better user experience on all devices, especially mobile and small screen devices. Please continue to donate to help fund the project. Preview the new website by clicking the above link. Some minor changes are being made to perfect the new site.

Connecting a Buzzer to an Arduino Uno

Created on: 3 September 2012

If a buzzer operates from a low enough voltage and draws low enough current, it can be interfaced directly to an Arduino Uno pin.

The buzzer used in this example can operate from a voltage between 3 to 28V and draws only 4mA of current at 12V. When the current drawn by the buzzer was measured at 5V, it was found that it only drew about 1.1mA which is well within the drive capability of an Arduino Uno pin.

See the Arduino buzzer circuit if you want to connect a buzzer to the Arduino that operates from a different voltage to the Arduino or if you are using a buzzer that draws more current than an Arduino pin can deliver.

Circuit Diagram

In this circuit, the positive lead of the buzzer is connected to pin 13 of the Arduino, the negative lead of the buzzer is connected to GND.

Arduino buzzer circuit diagram

Arduino Sketch

The Blink Arduino example program can be used to test the circuit. This is a program that is built into the Arduino IDE and can be found under File → Examples → 1.Basics → Blink

The Blink sketch will switch the buzzer on and off continuously.

Can't see the video? View on YouTube →

Buzzer Details

The buzzer used in this article has the part number KPEG260 and the RS Components stock number: 535-8275, the brand is Kingstate.

This is a piezo buzzer that has built in circuitry that produces the audible buzzer tone. A plain piezo disk will not work in this circuit as it does not have any circuitry to drive it, although an Arduino sketch could be written to drive a piezo disk that is connected to an Arduino pin.

© 2012 – 2015, Starting Electronics