Hello, I would like know if it is possible to play a buzzer using the Low-power PWM Library ? I am using the nrf51 DK and Softdevice130. The SDK I use is version SDK V 12.3
Joseph Ayuk
Hello, I would like know if it is possible to play a buzzer using the Low-power PWM Library ? I am using the nrf51 DK and Softdevice130. The SDK I use is version SDK V 12.3
Joseph Ayuk
I don't know - you'll have to investigate ...
What do you mean by, "suitable".
What kind of "buzzer" (sic?) are you using?
Clearly, it's not going to give you CD quality!!
I'd also missed that you're using nRF51. The nRF52 are more powerful, so would have a better chance; they also have I2S ...
Yeah Exactly, It is a speaker I want to use to play a .wav file
Hi Joseph
As mentioned by Andrew the PWM driver is a much better option than the low power PWM library. It is documented here.
I would also strongly suggest looking at the nRF52 series instead of the nRF51 series, as the nRF52 devices have dedicated PWM modules with DMA support, making it much easier to playback a wave file from RAM (assuming you are fine with 8-bit sound).
Best regards
Torbjørn