Introduction: DIY Cable to Use OTG and Simultaneously Charge the Device (Windows and Android)

Picture of DIY Cable to Use OTG and Simultaneously Charge the Device (Windows and Android)

You can use this cable with all android and windows devices to use the OTG function and simultaneously charge the devices.

Step 1: Materials Required

  1. Micro USB male A,
  2. USB Male A,
  3. USB female A
  4. DPDT or 2P2W or 2P2T switch
  5. and some wires.

Links to purchase the items:

DPDT Switch:
Micro USB Male A:

USB Male A-

USB Female A:

Step 2: Wiring Micro USB

Picture of Wiring Micro USB

Wire the Micro USB male A according to the schematic shown and USB guidelines.

Step 3: Preparing USB Male a and Female A

Strip and tin the wires of the USB male A and female A

Step 4: Wiring

Picture of Wiring

Wire the connectors to the switch as shown in the diagram below. A clear explanation has been given in the video and working has also been demonstrated.


veggiebenz (author)2017-10-19

I wonder if it would be possible to do this with a small timer circuit instead of a manual switch....

Calloseven1979 (author)2017-10-08

In short:

1. Make cable as per schematic in Step 4: Wiring.

2. Switch to 'Charge'.

3. Connect everything: Phone charges.

4. Switch to 'OTG': USB device is connected to phone, and phone is still charging.

(I haven't made it yet though.)

magnuswf (author)2016-06-15

I've been needing this for a project! Thanks man :D

About This Instructable




Bio: DIY Enthusiast
More by ssiddharth:Install Alexa on Raspberry Pi With Wake Word and Airplay SupportInstall Amazon Alexa on Windows PC Install Mac OS X Sierra in PC
Add instructable to: