connection for piezo buzzer

Discussion in 'The Projects Forum' started by jo12345, Oct 24, 2011.

  1. jo12345

    Thread Starter New Member

    Oct 23, 2011
    how do i connect the piezo buzzer in my circuit consisting of a microcontroller? i have attached the circuit diagram. its a quiz buzzer.this is a circuit i am mounting on a pcb. the seven segment display works properly and gives me the output. the problem with the circuit is that the piezo buzzer does not work in the circuit though it is in a working condition. one terminal of the piezo buzzer is connected to the pin 32 of AT89C51 and the other to +5V. do i need to connect any capacitor?
    i hav attached the code too
    please do reply...
    thank you
  2. KMoffett

    AAC Fanatic!

    Dec 19, 2007
    Is it a Piezo element or a active Piezo buzzer. If it's an active buzzer you just pull the output low to activate it. If it's a Piezo element, you have to pulse the output make it work.