beepy-hardware icon indicating copy to clipboard operation
beepy-hardware copied to clipboard

Add a piezo element for audio in Rev A HW

Open 57Bravo opened this issue 1 year ago • 2 comments

I was able to use a piezo element to get my beepberry to speak using espeak. It would be nice if the next rev of HW had a buzzer/piezo for indications and audio.

A little tinny, but it's usable.

beeper_speaks

https://github.com/sqfmi/beepy-hardware/assets/17078019/80972862-f4a9-4f71-973d-3ff777216369

57Bravo avatar Aug 05 '23 16:08 57Bravo

Could you upload a schematic and a BOM to this request so that I could look into reproducing it? Pictures of hardware install would be great too.

sockbot avatar Aug 05 '23 23:08 sockbot

Sure thing. I pushed the repo here.

https://github.com/57Bravo/BeepSensors

I'll add some notes on the SW tonight. It's basically just using raspi-gpio to map GPIO to a pwm audio device. You can use anything that works with alsa. Play, ffmpeg, etc.

57Bravo avatar Aug 06 '23 00:08 57Bravo