This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Driving a PIEZO Buzzer using nRF52840

Hi All,

If I am to use a Piezo Buzzer to generate sound using nRF52840 PWM:

1. any suggestion on how to design the circuitry?

I am planning to use a Murata cimponent

 https://www.mouser.in/datasheet/2/281/7BB-20-6L0-792753.pdf

or

https://www.mouser.in/datasheet/2/670/cpt-3526-l100-1778018.pdf

2. Should I have a external driving circuit?

3. If so any suggestions on a driving chip?

Thanks a lot!

Parents
  • You can drive the piezo directly from 2 i/o port pins on the nRF52 in differential mode which acts like a full H-Bridge circuit without requiring external components. The volume is not great but can be improved by strategically placing the piezo on an acoustic resonant chamber - as with many small electronic devices, worth taking one apart to see. The PWM peripheral simplifies the driving. Here's an example midi-piano. There are some other examples which allow PWM sound file playback, worth a search on this forum.

    If you want to blast more sound out, have a look at the Thingy-52 circuit on how-to-generate-music-with-pwm

Reply
  • You can drive the piezo directly from 2 i/o port pins on the nRF52 in differential mode which acts like a full H-Bridge circuit without requiring external components. The volume is not great but can be improved by strategically placing the piezo on an acoustic resonant chamber - as with many small electronic devices, worth taking one apart to see. The PWM peripheral simplifies the driving. Here's an example midi-piano. There are some other examples which allow PWM sound file playback, worth a search on this forum.

    If you want to blast more sound out, have a look at the Thingy-52 circuit on how-to-generate-music-with-pwm

Children
Related