Hi Everyone,
I'm new to arduino and finished going through some of the beginner tutorials.
I tried hooking up a buzzer to my arduino and couldn't get it to make a sound.
The Buzzer is a model 273-055 from Radio Shack. The description says it operates on 12VDC and delivers 75dB at 15mA maximum current.
I had the red wire running into the Ground port on the arduino, and the black wire first hitting a 1k Ohm resistor and then going into the 5V
port on the arduino.
Yes. You will need:
12v battery or a 12 volt dc power adapter (some 12v power supply)
An NPN transistor.
In case you don't know how a transistor works, it's basically a light switch that you turn on with the arduino. You don't have the power going into the arduino, over 9 volts can damage it. You can search around for transistor info. Basically:
12v power--- transistor ----- buzzer
|
|
Arduino
You send power to the transistor like you would an LED, and it allows 12v power to flow to the buzzer