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

56,276

54

10

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

About: DIY Enthusiast

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: https://goo.gl/GHzVb1
Micro USB Male A: https://goo.gl/MtGTcF

USB Male A- https://goo.gl/ZnDXQj

USB Female A: https://goo.gl/ZnDXQj

Step 2: 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

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.

1 Person Made This Project!

Recommendations

  • Make it Glow Contest

    Make it Glow Contest
  • First Time Author Contest

    First Time Author Contest
  • PCB Challenge

    PCB Challenge

10 Discussions

0
iamsardorbek
iamsardorbek

5 months ago

Hello!
With a switch, charging worked very poorly in my case. I substituted the switch with a 330 Ohm resistor, charging quality improved, but still it is a degree worse than the original charging rate. Opening a resource-demanding app and connecting an Arduino thru OTG, and charging makes my phone lose 3% battery per hour.

0
88mtnbkr
88mtnbkr

Reply 2 months ago

Is it possible for you to post a schematic of how you wired it with a 330 Ohm resister instead of a switch? 3% loss per hour means it could last all day. Thanks!

0
magnuswf
magnuswf

4 years ago

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

0
jeevankumar.neer
jeevankumar.neer

Reply 1 year ago

hi,Did you try this . need your review man

0
iamsardorbek
iamsardorbek

Reply 5 months ago

See above, i uploaded pictures and a review.

0
DefD2
DefD2

2 years ago

What does the green (D+) and white (D-) do in a a power cable? Only Red (+) and black (-) are live... Why you connect the green to the switch? What's the purpose?
Instructables, I am really trying very hard to be nice, here...

0
DefD2
DefD2

2 years ago

Instructables should remove this nonsense article...
It is miss leading and insult for the rest of the people that write useful things here.

0
AbhishekS427
AbhishekS427

3 years ago

Hi,

I was just wondering why does D+ need to be switched as well. Only switching ID to ground will not work?

0
veggiebenz
veggiebenz

3 years ago

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

0
Calloseven1979
Calloseven1979

3 years ago

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.)