How To Get Electric Power From Head Phone Jack?

Leirbag Onerom picture Leirbag Onerom · Apr 6, 2011 · Viewed 27.6k times · Source

My quest is if anyone knows how to create an Android app that can send electric charge through the device's headphone jack, like in this video iPocket_LED. The video shows an app for iPhone that controls a LED plugged into the headphone jack.

I want to know how to access the device to send an electric signal.

Sorry about my English, is not my language, I hope some one understand me

Answer

thomasrutter picture thomasrutter · Mar 14, 2014

Many consumer devices which accept an external microphone will provide "plug-in power". This is a small voltage typically from 1 to 5 volts across two of the contacts in the microphone connection.

Apple and (most) Android devices are no exception. Most use a 4-conductor TRRS connection with the following pin-out:

   TIP = left headphone out
  RING = right headphone out
  RING = ground
SLEEVE = mic in + plug-in power

The plug-in power is usually around 2V on smartphones and is supplied as +2V on the microphone (sleeve) conductor. The phone will only supply it if it detects that a microphone is in place, which it does by testing the resistance across Mic to Ground to see if it's consistent with a microphone's impedance - something like 200 to 5000 ohms impedance, and I hear the iphones can be very fussy with this and need very close to 1600 ohms.

This means the maximum power you could draw from this and still seem like a microphone would be pretty small - around 1.25 milliamps. There are some low powered microcontrollers or other devices you may be able to power with this.

Note that plug-in power may be a similar concept to "phantom power" as used in pro audio gear but it's a different and incompatible standard. "plug-in power" is what causes the tiny electret microphones in smartphone headsets to work without needing their own small battery.

As for how to actually exert control over your attached device from an app, that's getting into much more complicated electronics. Presumably it is possible if you use the left and/or right headphone out lines to send signals to the device.