bmc64 icon indicating copy to clipboard operation
bmc64 copied to clipboard

Raspberry Pi Zero - Analog Audio Output?

Open CemTezcan opened this issue 4 years ago • 4 comments

I don't know if it's possible or this may me out of the scope but Pizeros have an analog video pins on the PCB but there is no audio out. To use BMC 64 Lite with real CRT screens with audio there needs to be an analog audio out.

I checked that there is a tutorial that makes this happen. http://shallowsky.com/blog/hardware/pi-zero-audio.html

It mentions about adding a command to config file. dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

Can this be applied to BMC 64 lite to override pin config?

CemTezcan avatar Apr 30 '20 06:04 CemTezcan

Yes, this is doable. PWM audio is what's needed. It's supported by circle but I'd have to make some code changes. I'm taking a bit of a break from bmc64 stuff for a while but I'll get to this eventually.

randyrossi avatar Apr 30 '20 20:04 randyrossi

You might want to add a bit of hardware as well. Adafruit has a nice document on how to add audio to the Pi Zero: https://learn.adafruit.com/introducing-the-raspberry-pi-zero/audio-outputs . Hope this helps.

SvOlli avatar May 04 '20 11:05 SvOlli

Hi. Is there something new with analog output on pi zero ? I can't get it working.

maitrezoid avatar Dec 02 '20 16:12 maitrezoid

Hi. I saw audio can be set to PWM Gpio 12,3,18 or 19, but those Gpio are already used for real keyboard.

maitrezoid avatar Dec 04 '20 07:12 maitrezoid