Arduino Forum

Using Arduino => Audio => Topic started by: Kutyus on Sep 29, 2017, 10:43 am

Title: Arduino Due and PAM8403
Post by: Kutyus on Sep 29, 2017, 10:43 am
Hi!

I am not an expert in audio circuits, I would like to play some audio with my Due.
This amp is working with SimpleAudioPlayer example: https://www.hestore.hu/prod_10038182.html (https://www.hestore.hu/prod_10038182.html)?

Thanks in advance.
Title: Re: Arduino Due and PAM8403
Post by: DVDdoug on Sep 29, 2017, 05:09 pm
It should work fine.    Most power amplifiers* expect a line level (https://en.wikipedia.org/wiki/Line_level) signal (about 1V) and you can get that from the Due.   

Test the amplifier first by plugging it into a CD/DVD player, or the RCA audio outputs from your TV, etc.   A headphone output (from your phone or computer, etc.) will also work.     (If you have a problem, troubleshooting/debugging is a lot easier if you know the amp & speaker are working.)

A headphone output is around line-level, but you might need to crank-up the volume.   The main difference is that headphones are capable of driving lower impedance loads and headphone outputs always have a volume control...  Some line-outputs have a volume control and some don't.   Again...  That's just for pre-testing the amplifier & speaker.






* Power amplifiers are designed to drive speakers, as opposed to preamps which are designed to bring a microphone signal or phono pickup signal up to line-level.

Title: Re: Arduino Due and PAM8403
Post by: Kutyus on Oct 05, 2017, 01:28 pm
Thank you, I will try it.