How To Get Electric Power From Head Phone Jack?

前端 未结 3 1679
攒了一身酷
攒了一身酷 2021-02-08 04:12

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 a

3条回答
  •  天涯浪人
    2021-02-08 04:44

    You'll need to play some audio. A small amount of current flows anytime audio plays, that's what moves the tiny little speakers in your headphones. The voltage will vary with the level of the audio. It is also AC current, such that the frequency of the sound (pitch) affects the frequency of the AC cycle.

    It is going to be difficult to integrate with a device using this approach, especially because of the AC current. You can determine the appropriate pitch to send the voltage you want, but most "devices" are probably going to want a +3.3v or +5v DC signal. You'll probably need to do an AC to DC conversion to make that work.

    I believe there is a means to integrate with an Android device via the USB interface. That would probably be far better and easier. You could get yourself an Arduino kit with a built-in USB shield/controller, and build your device on top of that.

    See External USB devices to Android phones?

提交回复
热议问题