PIC 18F22K14 as class D audio output amplifier, 2 components... first test

PIC 18F22K14 as class D audio output amplifier, 2 components... first test results.

I have updated the asm file, this the latest one: ftp://panteltje.com/pub/audio_pic/audio2.asm

Enabled the RS232, 19200 Bd, 8 data bits, 1 stop bit. Type h for help. Now you can set volume with the ']' key (up), and ']' key (down) from the terminal.

Interesting math left justified signed...

One remark, it recommend a 180 Ohm resistor in series with your earplugs, better for your ears, and for the PIC, and still plenty of volume to hurt the ears. Not counting the 60 kHz continuous PWM :-)

I love it when an idea works:-)

Reply to
Jan Panteltje
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.