Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Producing sounds with PWM and a piezo buzzer

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
29,514
Loading...
Alert icon
Sign in or sign up now!
Alert icon
  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • The speaker looks like something out of an alarm clock... ;-)

  • I have a carless home telephon but it original buzzer burned I replace the new one with 3 volts but it needs 12watts and the sound is so slow so what I

    hve to do to increase the sound thanks pleas.

  • It's not PWM (Pulse Width Modulation) but PFM (Pulse Frequency Modulation). Pulse width is constant 50% (not modulated).

  • @fennecfanatic ehhh sort of not really. I think buzzers usually do best at 50% duty cycle and then probably taper off above and below that but PWM is not a good way to change volume. I tried it once a long time ago and remember noting not to do it again. Made it sound weird and screwed up.

  • @GTechno13 so PWM into a buzzer would produce the same frequency at different amplitudes?

  • Exactly the opposite. Pulse width modulation means your are modifying the duty cycle at a fixed frequency. I just want to clear that up for viewers. PWMing a buzzer will not produce different frequencies.

  • @GTechno13 sure it is. It's pwm with a 50% duty cycle and a varying frequency.

  • This is NOT PWM.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more