I am working on a small project using sound from an Arduino Pro Mini, through a Sparkfun Mono Audio Amplifier Breakout (https://www.sparkfun.com/products/11044) to a small speaker.
It works just fine.
What I would like to do is add a mono headphone jack and have a choice of choosing, via a switch(?), whether the sound from the audio output of the amp board goes to the headphone jack or the speaker.
Thank you for taking the time to reply to this super-Newbie question.
I do have an SPDT switch on hand but I am a bit confused with the hookup.
The Audio Amp Breakout has OUT + and - wires which are easy when it is just a speaker being hooked up, + and - go to each of the speaker wires. My confusion is with addition of the headphone jack and switch.
May I ask how you would suggest hooking it all up? I am still in the breadboard stage.
aarg:
Don't forget to put a 100-200 ohm resistor in series with the headphone output. Otherwise the level will be way too loud for a given speaker volume.
Thanks for the tip, a 220 ohm resistor for the headphone output is giving me just the right volume.
Paul__B:
It would be rather unusual to have a jack - at least a panel mounted or PCB jack - that does not have the closed circuit pin.
Thank you Paul for your reply. So I really don't need a switch. I've got a few of these jacks on hand. How would this be wired? I assume it goes between the Audio input and the speaker?