Here's how buttons on earphones work (hint: voltage dividers)
HTML-код
- Опубликовано: 28 сен 2024
- I just learned how the buttons on wired headphones work. I've always wondered because the 3.5mm plug has just four terminals, and they're already occupied by the left and right channels, the microphone and the common ground connection.
To my surprise, it is not difficult to make multiple buttons work using just two pins -- the microphone and ground, in this case. (Does not apply to iPhones.)
The buttons, and there can be up to four of them, use a simple voltage divider network to send commands to the phone they're connected to.
Related Android article:
source.android...
🛒 SHOPPING LINKS*:
🟢 A Basic Multimeter: amzn.to/43Cjnom (Amazon US)
🟢 Mini Breadboards:
Amazon US: amzn.to/3vvFtfC
AliExpress: bit.ly/brdbd1
🟢 3.5mm Breakout Board:
Amazon US: amzn.to/3V36ilb
AliExpress: bit.ly/3UItDr0
🟢 OLFA Cutting Mat: amzn.to/3HX3Ipp
*Affiliate links. I may make a small commission, but the price you pay DOES NOT change. Your support helps me make more videos. Thank you!
#electronics #diy
*******
More cool stuff on Instagram: / leftymaker
Follow me on TikTok: / leftymaker
Donate on Ko-Fi: ko-fi.com/left...
The cellular audio interference is amazing. I also wonder if this is why left and right audio apst always hace dofferent levels as well.
u should mention how the AC mic wave forms can be differentiated from the buttons using a coupling capacitor (or DC blocking capacitor)
What if you press more than one at the same time?
Awesome ‼
Thanks 👍
Very nice. So, the phone has the mcu that decodes the voltages/signals, right? If there is an mcu involved, why not use regular io pins. I guess this method only uses one io pin, instead of several.
I bet it's all integrated into the audio chip, if not into the snapdragon/mediatec/whatever SoC the phone has.
@@LeftyMaker You must be right, it probably is a feature widely adopted decades ago. Great content, keep it up.
Usefull
nice explanation
I liked your content keep it up🎉
Very cool vid!
Добре
Вече ми е ясно ❤