Hi, i have a buzzer taken from a motorcycle alarm system, I have tried to connect it directly to 12v but it didn't produce any sound so I think it is controlled by the alarm system and it's a passive buzzer. I want to figure out how to control it from arduino to play a sound. Thanks
Does this help ?http://www.arduino.cc/en/Tutorial/PlayMelody Can you provide a picture of the buzzer?
The buzzer is this:
Did you test it on arduino ?
No I haven't tried
I just tried and it work! But the sound is very low, how can I increase it?
Well it seems normal.. You said its 12v buzzer, however arduino outputs just 5v..
How can I increase it? Using a transistor?
Ok but is there a way without use a 12v external power supply? Only using arduino and the transistor?
Why don't you buy a nice 5V buzzer? XD XD XD They are cheap anyway!!! https://www.sparkfun.com/products/7950
Arduino14: Ok but is there a way without use a 12v external power supply? Only using arduino and the transistor?
I don't know, but it doesn't sound possible too!!!
If the buzzer came from a motorcycle it was designed to be powered by a 12V lead acid battery that is probably rated for at least 7Ah. You cannot run that on less than 12 V and expect it to sound the same and the 12V supply you use will have to be able to supply some current , like a 1350mAh 3S, Lipo batter (12.54V charged).