Audio amp with multiple outputs
Posted: Sun Mar 22, 2015 1:04 am
Hello,
I am currently building a project which will include a Raspberry Pi that will feed audio in to an audio amplifier.
I was thinking about using either the TDA2822M or the PAM8008 as the amplifier IC.
What I would like for my project to have is multiple audio outputs which would need to be switched depending on what's connected.
The outputs will be: 2x in-built speaker, 2x speaker terminal and a 1x 3.5mm jack.
I am thinking about using a PicAxe 14M2 to control the display and the front panel which would allow me to control the audio amplifier without using the Pi.
If I was to use the PicAxe IC, how would I control the volume (since it's a digital chip)? And also would I have to use a nest of transistors in order to switch between the outputs using the Pic?
One last question, is it possible to detect if external speakers are connected using either the speaker terminals or the 3.5mm jack so that the in-built speakers would turn off?
I am currently building a project which will include a Raspberry Pi that will feed audio in to an audio amplifier.
I was thinking about using either the TDA2822M or the PAM8008 as the amplifier IC.
What I would like for my project to have is multiple audio outputs which would need to be switched depending on what's connected.
The outputs will be: 2x in-built speaker, 2x speaker terminal and a 1x 3.5mm jack.
I am thinking about using a PicAxe 14M2 to control the display and the front panel which would allow me to control the audio amplifier without using the Pi.
If I was to use the PicAxe IC, how would I control the volume (since it's a digital chip)? And also would I have to use a nest of transistors in order to switch between the outputs using the Pic?
One last question, is it possible to detect if external speakers are connected using either the speaker terminals or the 3.5mm jack so that the in-built speakers would turn off?