0

So I have this project where the component "buzzer" is implementet. I was wondering if the voltage is changing along the change of frequency given to the buzzer?

Note that the project just says "buzzer" - not any more details.

Project: http://www.instructables.com/id/Arduino-Distance-Detector-with-a-Buzzer-and-LEDs/?ALLSTEPS

5
  • 1
    Please supply more details, this is just unanswerable. What project?
    – Nick Gammon
    Commented Aug 24, 2015 at 22:14
  • instructables.com/id/…
    – NicklasF
    Commented Aug 24, 2015 at 22:19
  • What voltage? The buzzer voltage? The frequency will change, not the voltage.
    – Nick Gammon
    Commented Aug 24, 2015 at 22:26
  • So the voltage in the circuit is not affected by the buzzer; say when it's on and when it's off?
    – NicklasF
    Commented Aug 24, 2015 at 22:29
  • 1
    The buzzer would consume some current which may lower the voltage. Why are you asking all this?
    – Nick Gammon
    Commented Aug 24, 2015 at 23:34

1 Answer 1

1

No, the frequency of the "buzzer" has no relationship to the voltage.

The duty cycle of the generated tone is proportional to the average voltage though. Typically the duty cycle is 50% - that is it's turned on for half the time, and turned off the other half the time, to make a square wave. This means that the average voltage is 50% of the supply voltage.

If you were to low-pass filter the signal (say through an RC filter as many people do to create a crude DAC) you would end up with a voltage around 2.5V.

Changing the frequency doesn't change the duty cycle, it only changes the audio pitch.

The only caveat to that is that if the buzzer draws more current that the IO pin (or the power supply) can source then it may cause the voltage on that IO pin to droop. That has nothing to do with the frequency though and it would droop just the same at all frequencies. Basically the IO pin has a small resistance to Vcc through the MOSFET that drives it internally - the higher the current the more voltage is dropped across that resistance, and the lower your resultant output voltage. Draw too much current and the heat dissipated by that MOSFET's resistance becomes too great and damages the chip.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.