Hey all,
i am building a small phone project and have a question regarding the usage of speakers.
I'm using an Arduino Nano, SIM7670 module and a PAM8302A amplifier.
The SIM module has a mono output, and i can either directly connect my headphones (62 Ohm) or my loudspeaker (8 Ohm via amplifier), both work fine.
Because of space issues, i was thinking to use the same hardware for both cases.
So to have a loud volume when the phone is ringing, and a very low volume when i'm picking up.
Since they have different impedances, i was thinking of using a SPDT switch after the amplifier to put a resistor in series to the speaker, so i can change the impedance, hence the outgoing volume.
Do you think this might work, or did you maybe even build this once?
Thanks and have a good weekend!