2

so I have a circuit with a buzzer and a resistor: enter image description here

This circuit should be working, but for some reason the buzzer doesn't sound. I pushed the buzzer into the breadboard as hard as I could, I put the + side to positive and the - side to negative but it still doesnt work :(. How can I fix this?

Quick curiosity question: When I was doing electricity in school, the teacher just called the buzzers 'buzzers' but when I started doing arduino I noticed that the arduino community seems to call them 'Piezo buzzers/piezo speakers'. Is there any significance in the word 'Piezo' and should I start referring to them as 'Piezo buzzers' myself?

3 Answers3

6

There is two kinds of buzzers - active and passive

  1. Passive buzzer means they can be operated by applying just logic high to + and low to ground.

Digitalwrite function will do this job

  1. Active buzzers needs pulses to make sound. Sound produced depends on the frequency. Your buzzer might be a passive one. You can make a symphony by applying different frequencies..

'tone' function will help you for this

Charlie
  • 3
  • 2
0

Try the toneAC library if it is a two pin piezo speaker... It generates weak alternating current, using two arduino pins. Your piezo will last longer. Works like old tone library. Remember to put a 100 ohm resistor in series :)

user400344
  • 348
  • 1
  • 11
0

Buzzer coils get locked if a higher voltage is applied to the terminals - it could be 5-9 V. Once it gets locked it won't work even if you put direct battery to it. The only solution is to first take out your buzzer and give it a reverse voltage that will get the coil out of the lock position, then put 180 Ω resistor and run. It will work and it will never lock again.

Greenonline
  • 3,152
  • 7
  • 36
  • 48