Skip to main content
Post Deleted by CommunityBot
Post Locked by CommunityBot
Post Migrated Away to arduino.stackexchange.com by Nick Alexeev
Post Closed as "Not suitable for this site" by Nick Alexeev
Source Link
soyxan
  • 83
  • 1
  • 1
  • 3

Drive 12V Piezo Buzzer (Arduino)

I want to drive this 12V piezo buzzer: http://www.conrad.com/ce/en/product/130256/Kemo-L001-High-Freqeuncy-Piezo-Speaker-Component-12-24-V

This is the circuit I am using.

Circuit

The Arduino is powered by a 12V DC adapter trough the DC IN jack.

I have tested the following code:

void setup() {
}

void loop() {
  int pinOut = 9;
  int freq = 10;
  int duration = 100;
  while(1)
  {
    for(int i=0; i<1000 ; i++)
    {
      tone(pinOut, freq*i, duration);
      delay(duration * 1);
      noTone(pinOut);
    }
  }
}

When run I can hear the tones changing but is really really low. I have measured the voltage between buzzer pins and it is 12V (as expected) so the MOSFET seems to be properly working.

This piezo buzzer should be louder (I have tested it with this 12V tone generator http://www.kemo-electronic.de/en/Car/Modules/M048N-Ultrasonic-Generator.php )

I am making any mistake? Thanks in advance!