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

Feb 25, 2010 0 Replies

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:-)


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required