Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[OTG USB] Using OTG cable and charging at the same time - SOLVED 29.08.12

OP sonic_boom

9th August 2012, 12:19 AM   |  #1  
sonic_boom's Avatar
OP Senior Member
Flag Dublin
Thanks Meter: 88
 
153 posts
Join Date:Joined: May 2010
More
UPDATE 30/08/2012

For "daily" updates, tutorials more videos visit my website

https://sites.google.com/site/sonicboomworld


Added more diagrams and pictures on my website --> https://sites.google.com/site/sonicb...s/otg-diagrams
Don't forget to check NEWS as well : --> https://sites.google.com/site/sonicboomworld/



OLD POST - HOW I STARTED

Firstly hi all

Secondly i want describe myself as a person who has only little knowledge about electronics etc. Also i am very busy at work and at home after work with kids, so to be honest with you i can test it only while i am actually working ( i do Testing and servicing medical devices )

At this moment i can't "afford" to buy SONY ERICSSON LIVEdock ( OTG MODE + CHARGING AT THE SAME TIME )

I just want to share my progress in making cheaper verision of LIVEdock, also i looking fore some smart arse to help me/us finish what i started,

I know this is little bit messy and don't kill me for my english please

Diagram:

Click image for larger version

Name:	DSC_0076.jpg
Views:	7260
Size:	255.8 KB
ID:	1249968

I made simple OTG CABLE with permanently shorted PIN 4 (sense) AND 5 (ground) on my microUSB. The i realized that phone battery must support power for phone and connected USB device such as keyboard, mouse, gamepad etc. Then i added ON/OFF switch between PIN 4 and 5 what i achieved ?

Click image for larger version

Name:	DSC_0080.jpg
Views:	4926
Size:	260.5 KB
ID:	1249954

Now i can switch between OTG MODE and CHARGING MODE ( unfortunately both modes wouldn't work at the same time ). Then i added another two ON/OFF switches to cut off the power from the battery VCC (red wire) and GROUND (black) while you are in OTG MODE. I added another USB cable ( this one suply power from computer or charger or car charger ) but i used VCC and GROUND only i connected these wires to each switches and FEMALE USB ( one you connect keyboard ,gamepad etc ). What i achieved ? now Battery support only my phone but phone is still in OTG mode, and whole power goes to our device ( Keyboard, USB flash memory etc ) .

Click image for larger version

Name:	DSC_0077.jpg
Views:	4943
Size:	256.9 KB
ID:	1249960Click image for larger version

Name:	DSC_0078.jpg
Views:	3874
Size:	257.0 KB
ID:	1249961Click image for larger version

Name:	DSC_0079.jpg
Views:	3729
Size:	258.1 KB
ID:	1249962Click image for larger version

Name:	DSC_0081.jpg
Views:	3214
Size:	263.0 KB
ID:	1249963

Now we know how to get external power source to our external device , but i still haven't find an solution how to get phone in charging mode or to do anything to prevent phone from discharging while we are in OTG MODE . I know that SONY instead of so many switches used just some simple electronics components. Also i still haven't try everything but if you have any idea please let me know.

Later on i will upload Video on YouTube ( HOW IT WORKS )

Regards
Last edited by sonic_boom; 30th August 2012 at 08:57 AM.
The Following 15 Users Say Thank You to sonic_boom For This Useful Post: [ View ]
16th August 2012, 09:10 PM   |  #2  
sonic_boom's Avatar
OP Senior Member
Flag Dublin
Thanks Meter: 88
 
153 posts
Join Date:Joined: May 2010
More
SUCCESS
BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )

OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...

Click image for larger version

Name:	Screenshot_2012-08-16-20-05-15.jpg
Views:	7865
Size:	73.9 KB
ID:	1264716

regards
The Following 7 Users Say Thank You to sonic_boom For This Useful Post: [ View ]
16th August 2012, 11:31 PM   |  #3  
memphian's Avatar
Senior Member
Flag Memphis
Thanks Meter: 38
 
229 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by sonic_boom

BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )

OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...

Attachment 1264716

regards

This sounds awesome. Looking to do something like this with a nexus 7 in my vehicle. Looking forward to this.

Sent from my SGH-I777 using xda app-developers app
17th August 2012, 03:30 AM   |  #4  
mvmacd's Avatar
Senior Member
Flag Massachusetts
Thanks Meter: 118
 
853 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by sonic_boom

BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )

OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...

Attachment 1264716

regards

Please do tell. Are you pretty sure it'll work for any OTG device? Regardless of its hardware. Specifically the nexus 7.
The Following User Says Thank You to mvmacd For This Useful Post: [ View ]
17th August 2012, 11:39 AM   |  #5  
sonic_boom's Avatar
OP Senior Member
Flag Dublin
Thanks Meter: 88
 
153 posts
Join Date:Joined: May 2010
More
I hope will work for all devices . Successfuly tested on my Xperia S. I will test soon on Galaxy S2 and S3. Also I completely redesign everything. Forget about first post and crappy switches. I made docking station for my phone I just have to finish my it. I want to add some LED. Is all about right cables and resistors in right place. I think this should also work on simple Y cable.

Give me some time to get everything ready. I have two kids a home plus looking for new house plus I am working. But I will post instruction here soon

Sent from my LT26i using xda app-developers app
The Following 4 Users Say Thank You to sonic_boom For This Useful Post: [ View ]
17th August 2012, 07:07 PM   |  #6  
GregórioAxiaMagno's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 65
 
329 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by sonic_boom

I hope will work for all devices . Successfuly tested on my Xperia S. I will test soon on Galaxy S2 and S3. Also I completely redesign everything. Forget about first post and crappy switches. I made docking station for my phone I just have to finish my it. I want to add some LED. Is all about right cables and resistors in right place. I think this should also work on simple Y cable.

Give me some time to get everything ready. I have two kids a home plus looking for new house plus I am working. But I will post instruction here soon

Sent from my LT26i using xda app-developers app

Interesting indeed.
Take you time. And you have the xda support, because this is something that we want also.
Thanks for the research and effort.
17th August 2012, 07:26 PM   |  #7  
sonic_boom's Avatar
OP Senior Member
Flag Dublin
Thanks Meter: 88
 
153 posts
Join Date:Joined: May 2010
More
At this moment i can post some pictures with my crappy beta most ugly dock - but was design for testing only and i have done already so many transformations . Most important

OTG and CHARGING working at the same time !!


Click image for larger version

Name:	CIMG8683.jpg
Views:	4393
Size:	234.6 KB
ID:	1266471


Click image for larger version

Name:	CIMG8684.jpg
Views:	2886
Size:	255.4 KB
ID:	1266472

On the photos you can see LED ON , USB STORAGE CONNECTED NOTIFICATION and MOUSE CURSOR !

I connected same time :

- 8GB USB MEMORY STICK
- WIRED MOUSE
- WIRED KEYBOARD
- USB WITH POWER SUPPLY FOR MY SPEAKERS ( then i connected jack for AUDIO )
- and phone CHARGING SAME TIME

at work also i connected HUB - 1 USB ( WIRELESS MOUSE AND KEYBOARD ) - WORKING PERFECT !

Before i will post any information HOW TO GET THIS DONE i will post video on YOUTUBE - i should have video before MIDNIGHT ( current time 6:22 PM)

VERY IMPORTANT !!! ( i connected GALAXY SIII - unfortunately not working at all - but dont worry - in 99% i know where seems to be the problem)

Regards
Last edited by sonic_boom; 17th August 2012 at 07:39 PM.
The Following 4 Users Say Thank You to sonic_boom For This Useful Post: [ View ]
17th August 2012, 10:12 PM   |  #8  
GregórioAxiaMagno's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 65
 
329 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by sonic_boom

At this moment i can post some pictures with my crappy beta most ugly dock - but was design for testing only and i have done already so many transformations . Most important

OTG and CHARGING working at the same time !!

Dude! I must say: congratulations, and the beta dock is more beautiful than my wooden dock, homemade also hahahaha. I'm excited to see how is the modification to earn charge and OTG function. I wanna try also and share my tests!
Last edited by GregórioAxiaMagno; 21st August 2012 at 09:23 PM.
18th August 2012, 08:35 AM   |  #9  
sonic_boom's Avatar
OP Senior Member
Flag Dublin
Thanks Meter: 88
 
153 posts
Join Date:Joined: May 2010
More
19th August 2012, 05:03 AM   |  #10  
GregórioAxiaMagno's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 65
 
329 posts
Join Date:Joined: Apr 2012
More
Very nice and cool .

I'm too curious...
I drew some scheme, is just what I'm wondering about what you did, and how can I do, or even you can use these pics when you explain .

Regards.
Attached Thumbnails
Click image for larger version

Name:	usb2.jpg
Views:	6005
Size:	35.1 KB
ID:	1273887  
Last edited by GregórioAxiaMagno; 22nd August 2012 at 02:19 AM. Reason: Anxiety xP

Post Reply Subscribe to Thread

Tags
cable, charging, mode, otg, usb
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes