Switch between USB and ac charge - Galaxy Tab 2 Q&A, Help & Troubleshooting

I am installing a tab 2 7 as a permanent fixture to my car dashboard. I would like to charge the tablet in ac mode when the ignition is on and, trickle (USB) charge while the ignition is off.
As well as saving my car battery, this will also be my trigger for tasker to activate / deactivate the display.
My question is this, if I use a relay to short the two data pins on the USB cable will this switch to ac charge mode.
An alternative may be to use a standard Car charger and use a relay to break the continuity in the middle cores when the ignition is off
Sent from my HTC One X using Tapatalk 2

Anyone
Sent from my HTC One X using Tapatalk 2

KrisPerry said:
I am installing a tab 2 7 as a permanent fixture to my car dashboard. I would like to charge the tablet in ac mode when the ignition is on and, trickle (USB) charge while the ignition is off.
As well as saving my car battery, this will also be my trigger for tasker to activate / deactivate the display.
My question is this, if I use a relay to short the two data pins on the USB cable will this switch to ac charge mode.
An alternative may be to use a standard Car charger and use a relay to break the continuity in the middle cores when the ignition is off
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
OK I'm guessing no one has tried this yet. I have ordered the parts and will post my findings in due course
Sent from my HTC One X using Tapatalk 2

http://forum.xda-developers.com/showpost.php?p=27443722&postcount=4
This may help you.

bark777 said:
http://forum.xda-developers.com/showpost.php?p=27443722&postcount=4
This may help you.
Click to expand...
Click to collapse
Yeah thanks I had already read this, although it is still unclear what is actually going on
Sent from my HTC One X using Tapatalk 2

I'm going to be attempting the same thing with a Droid X I'm using as a DVR in my car. Any updates? According to this, once AC charging is initiated, removing the short will not revert the charging mode back to the lower rate without interrupting the connection.

MasterTactician said:
I'm going to be attempting the same thing with a Droid X I'm using as a DVR in my car. Any updates? According to this, once AC charging is initiated, removing the short will not revert the charging mode back to the lower rate without interrupting the connection.
Click to expand...
Click to collapse
I haven't had a chance to look at it yet. But this sounds like it may put a spanner in the works. I may have to rethink
Sent from my HTC One X using Tapatalk 2

KrisPerry said:
I haven't had a chance to look at it yet. But this sounds like it may put a spanner in the works. I may have to rethink
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
I'm still waiting on the boat from China for my parts, but had an idea in the meantime. Perhaps a second relay to simply interrupt the +5V wire (and a capacitor to add even more of a delay?) would do the trick. I'm no EE, but it seems like this may do the trick.

MasterTactician said:
I'm still waiting on the boat from China for my parts, but had an idea in the meantime. Perhaps a second relay to simply interrupt the +5V wire (and a capacitor to add even more of a delay?) would do the trick. I'm no EE, but it seems like this may do the trick.
Click to expand...
Click to collapse
The basic principal doesn't work anyway. No matter if the d cores are disconnected
Sent from my HTC One X using Tapatalk 2

My new plan is to switch in a resistor to trick the Tablet into thinking it's docked. Then use this to trigger events in tasker
Sent from my HTC One X using Tapatalk 2

KrisPerry said:
My new plan is to switch in a resistor to trick the Tablet into thinking it's docked. Then use this to trigger events in tasker
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
@KrisPerry - Can you elaborate more on how to accomplish this with the Galaxy Tab 2? I have seen threads on how to do this for the S2/S3 with the micro USB connector, but nothing for the the Galaxy Tab 2. I would be very interested if this works for you.
Cheers!

stranger8 said:
@KrisPerry - Can you elaborate more on how to accomplish this with the Galaxy Tab 2? I have seen threads on how to do this for the S2/S3 with the micro USB connector, but nothing for the the Galaxy Tab 2. I would be very interested if this works for you.
Cheers!
Click to expand...
Click to collapse
Ok first I ordered the breakout board from http://www.podgizmo.com. this allows components to be soldered directly to the relevant pins.
I simply used a 33 and a 10ohm resistor to give approx 7.5 ohm resistance. When the ignition is started a relay switches the resistance across the deviceID pin. The Tablet then thinks it has been car docked and subsequently runs a specific tasker profile

KrisPerry said:
Ok first I ordered the breakout board from podgizmo. this allows components to be soldered directly to the relevant pins.
I simply used a 33 and a 10ohm resistor to give approx 7.5 ohm resistance. When the ignition is started a relay switches the resistance across the deviceID pin. The Tablet then thinks it has been car docked and subsequently runs a specific tasker profile
Click to expand...
Click to collapse
@KrisPerry - Brilliant, this is exactly what I have been looking for. Do you already have this working? Just to confirm, is the deviceID pin you reference pin 13 (ACCESSORY_ID)?
I'd love to learn more about your setup if you have it documented somewhere (I didn't find anything on XDA).
Cheers!

stranger8 said:
@KrisPerry - Brilliant, this is exactly what I have been looking for. Do you already have this working? Just to confirm, is the deviceID pin you reference pin 13 (ACCESSORY_ID)?
I'd love to learn more about your setup if you have it documented somewhere (I didn't find anything on XDA).
Cheers!
Click to expand...
Click to collapse
Correct, between pin 13 and ground. I have it working on the bench. Next step is to test in the car before installation. I'll maybe document the whole process once completed
Sent from my HTC One X using Tapatalk 2

Update so far.
Sent from my HTC One X using Tapatalk 2

Sent from my HTC One X using Tapatalk 2

Related

Docks recognition?!

Hi,
I have been trying to find how the sgs recognizes the different docks. Is it something generic for android or phone specific?
Thanks for any help.
Sent from my GT-I9000 using XDA App
It is a resistor placed on pins 4+5 of the microUSB. Do a search here the full details are available.
I already suspected something like that but i have tried to search and i came out empty, perhaps I'm not using the correct keywords.
And can you confirm that the resistor values are android generic or phone specific?
Thanks
Sent from my GT-I9000 using XDA App
Here you go. Link:
http://tinyurl.com/4spsw9q
Fenix_999 said:
And can you confirm that the resistor values are android generic or phone specific?
Click to expand...
Click to collapse
Search XDA for "fun with resistors"
I have been trying to find how the sgs recognizes the different docks
Click to expand...
Click to collapse
It's not at the resistors only.
I installed a third party USB charger as mounting socket in my car, so that you can charge any USB device by using the USB cable only.
While using the original Samsung USB cable the i9000 switches immediately to the car dock application. So it seems that the Samsung recognizes that kind of electricity as "car owned". Don't why or if - but it works like that.
As so many handsets are using the same way to trigger the dock it may be that your car charger is already pre wired with the resistor..
Tehpriest said:
As so many handsets are using the same way to trigger the dock it may be that your car charger is already pre wired with the resistor..
Click to expand...
Click to collapse
Interesting. Never given a thought that such cheap socket has more inside than 2 power cables. Mh ... analyzing the charger inside means dismantling the cars interior again - not in that mood.
So, the opener should think about resistors only.
Thanks for all the help.
Now i believe to be in the right way.
Sent from my GT-I9000 using XDA App

Dock pins? anyone know the pinout?

Just wondering if anyone knows the pinout for the 5 contacts on the back so i could make myself a speaker/charger dock until an official one becomes more available.
I've wondered this myself. After running a meter across the pins. Pins 2&4 seem to accept a voltage pin 5 is a ground I think. I feel through a guesstament that it follows the USB pinout in flat lateral form.
Sent from my HTC One X using xda premium
Usually I would literally just test each pin to see what was what but obviously being an expensive phone and canceling my insirance I do not want to short anything out, and yes it seems logical for one of the end contacts to be a ground, did you put a voltage into pin 2 & 4? If so how much?
Sent from my HTC One X using XDA App
I've been getting read to cut an older USB cable and test that way. But I used 4.4 volts. I to don't want to kill the warranty by ripping the phone apart. After I cut the USB I'm going to make a jig and do tests. If I find anything out I'll post here.
Sent from my HTC One X using xda premium
It's the micro USB pinout in pogo form..
1. 5vcc
2. Data -
3. Data +
4. Audio out mono
5. Ground.
Left to right pinout with the camera facing your left shoulder.
Sent from my HTC One X using xda premium
Thank you, I shall post a pic of homemade dock when I have the time to make one.
Sent from my HTC One X using XDA App
Ok. I tested. Connected HTC ONE X to lab power supply (5V 1A limit) and after a while (2-3 seconds) is started charging and 0.44A was flowing into phone. It was almost fully charged at the time.
Does anybody know how to get audio out on audio out pin?
And why Data - pin has 1,8V in reference to ground at all times?
edit:
Ok. I measured again. 0.44A and phone goes to charging (USB). I don't have time today to see what happens if you connect Data + adn - pins...
But still no luck with audio.
dkirchik said:
It's the micro USB pinout in pogo form..
1. 5vcc
2. Data -
3. Data +
4. Audio out mono
5. Ground.
Left to right pinout with the camera facing your left shoulder.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
can you do USB OTG out via POGO?
z0bug33 said:
can you do USB OTG out via POGO?
Click to expand...
Click to collapse
i wonder that too, "4. Audio out mono" is this really correct ? or is it the yellow identifier in a normal micro usb
Vcek said:
i wonder that too, "4. Audio out mono" is this really correct ? or is it the yellow identifier in a normal micro usb
Click to expand...
Click to collapse
Bump
hey guys you can check this site out http://techno-fix.com/ . i found my pinout searches there. there are very usefull things
hey guys i just had this thing in mind...many a times my hands get a bit sweaty or its very habitual for me to kinda use the phone wid wet hands..
can the contact with the docking pins cause any issue?

Hyperion Dock

Got mine off amazon. Does not activate dock mode.
Is it defective?
Sent from my PG86100 using xda premium
No I think it is the way it was designed. Doesn't use the pins on the back and you have a microusb nub that sticks up for you to connect to.
Hd04 said:
No I think it is the way it was designed. Doesn't use the pins on the back and you have a microusb nub that sticks up for you to connect to.
Click to expand...
Click to collapse
Well...It doesn't necessarily have to use the pogo pins to activate dock mode. For example the official car dock will launch the Car application when the phone is docked even though it uses usb. It's all in how the connector is pinned out.
Having two of these I can say neither activate dock mode.
Sent from my HTC One X using XDA Premium HD app
I'm sure you could get an nfc tag, stick it to the dock and have the phone launch the dock mode when it detects the tag. Of course, this solution leaves the phone in dock mode when you undock it and I'm not sure what happens if you just kinda leave the phone sitting on top of the tag like that and try to do other stuff.
If the tag is too low for the phone to detect I'm sure you could jury rig something to raise the tag closer to the center of the phone.
H4x the cable or order one already modded. I just ordered two cables. 1 for car and 1 for night stand.
id10terrordfw said:
Having two of these I can say neither activate dock mode.
Sent from my HTC One X using XDA Premium HD app
Click to expand...
Click to collapse
Install "any cut" from the play store, open it and pick new shortcut. The find HTC Dock mode and select that. Now at least you have a icon on your home screen to get into dock mode even though your dock doesn't automatically trip it.
nugzo said:
H4x the cable or order one already modded. I just ordered two cables. 1 for car and 1 for night stand.
Click to expand...
Click to collapse
can you give a link to what this is?
nugzo said:
H4x the cable or order one already modded. I just ordered two cables. 1 for car and 1 for night stand.
Click to expand...
Click to collapse
Does the dock mode turn off the soft key lights? That's my issue right now because using my phone as an alarm clock at night, the dang soft key buttons are way too bright!
Sent from my HTC One X using Tapatalk 2

Technical: Flex Cable

Hi all guys. when replacing a display for htc one x I happened to break a cable. has been damaged.
The cable in question is called: dock cable.
Can anyone tell me if it only serves to power the phone from the dock station, or is it essential for the operation?
Here Link
I can confirm it does NOT affect the screen/touch functionality. Not sure about wireless connectivity as I haven't tested it.
Most likely you'll only lose docking if you leave it disconnected.
Sent from my IceCold One X
I ripped the same cable nearly in 2 last night. After a bit of diy I got it back in place and together.
Even if my repair wasn't successful my phone is working correctly
Sent from my HTC One X using Tapatalk 2

How to make DIY charging dock

First of all sorry for my bad english
The things that you need to fabricate charging dock are as follows:
1) Old CD case
2) Old sony ericsson data cable
3) Some fast glue
1) Disassemble CD case in order to use only the back side
2) From data cable remove plastic fixing legs
3) Mesure with the phone and mark the correct position of the cable ( the picture of the cable should be upwards)
4) Using some fast glue bond the connector to de CD case and voalla the dock is ready
And hese are the pictures. Maybe tomorrow i will make it like stand but for now is working ok for night charging
ht
Yeah, nice work!
Did you see this topic ?
http://forum.xda-developers.com/showthread.php?p=38501016
There are other DIY charging systems.
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z
Now, I will adapt this for car holder !
TurboKan said:
Now, I will adapt this for car holder !
Click to expand...
Click to collapse
Share the result after that
There is already a thread to share these. Let's keep them in one place.
Sent from my C6603 using Tapatalk 2
alias_neo said:
There is already a thread to share these. Let's keep them in one place.
Sent from my C6603 using Tapatalk 2
Click to expand...
Click to collapse
Ok if possible delete my tread i will continue posting in another
It works! But, what's the voltage? Isn't it low?
Why would the voltage be low? USB is a standarized port so there's no difference between chargers when it comes to voltage.
The other thing is the current that varies from 500mA (USB 2.0 port) and 900mA (3.0 port) up to 3mA. The current depends on the charger not the cable.
I tried making this and the charging time takes a long time. I am gaining about 10% per hour. Is this normal?
zaku2s said:
I tried making this and the charging time takes a long time. I am gaining about 10% per hour. Is this normal?
Click to expand...
Click to collapse
Depends. Which charger do y use, more precisely how many amps does it output? Maybe you contact surfaces are to small. A pic would be welcome
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z
I don't think the charger has any effect, I believe the pins are set up to draw a maximum of 1A, probably due to it being a dock, it wants to "slow" charge.
As for it taking a long time, I found that the cable had a huge effect, switching to a better cable made it charge correctly.
Sent from my C6603 using Tapatalk 4 Beta
I am using the stock charger. It would probably be the contact point. I don't want to scrach my XZ so I didn't push it all the way down. I'll try again when I get home
alias_neo said:
I don't think the charger has any effect, I believe the pins are set up to draw a maximum of 1A, probably due to it being a dock, it wants to "slow" charge.
As for it taking a long time, I found that the cable had a huge effect, switching to a better cable made it charge correctly.
Sent from my C6603 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Ah, correct, wiring, to small section causes more energy loss. So taking a thicker wire isn't l luxury. But standard usb wire should work.(I used a Sony Ericsson fastport data wire)
Could also be the soldering, if it isn't sold properly you get bad contracts.
I'm using a 750mA charge ( from the x10) and it never takes so long to charge even over my custom system running a sleep taking app over night.
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z
Do anyone know the model number or name of the old ericsson cable?
Sent from my C6603 using Tapatalk 4
pjgowtham said:
Do anyone know the model number or name of the old ericsson cable?
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
The connector was called FastPort, so look for something like FastPort usb data wire
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z
naphets8 said:
The connector was called FastPort, so look for something like FastPort usb data wire
Click to expand...
Click to collapse
I think it's sony dcu-60 am I right?.
Sent from my C6603 using Tapatalk 4
pjgowtham said:
I think it's sony dcu-60 am I right?.
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
Can't tell you from scratch. Wanna say Google is your friend.
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z
Does anyone have any ideas because I found an old DIY speaker and I was wondering if anyone had ideas for a dock in which it could be used.
Sent from my C6603 using xda app-developers app
I wanted the same dock+speaker end result so I ended up using my BT speaker and using tasker (but can use smart connect) to auto on BT when docked which it then reconnects to speaker when in range then turns BT off when undocked. Obviously totally different than wjatbtou have to work with but I already had the speaker so it cost me nothing to do.
Sent from my C6606 using Tapatalk 4
slyviper1700 said:
Does anyone have any ideas because I found an old DIY speaker and I was wondering if anyone had ideas for a dock in which it could be used.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
Hi, I would go with something like the attachment. Using a sbh20(or similar) for wireless sound transmission. Speaker on the side. ( if you thing is stereo, one on each side), and the phone in landscape mode on a inclined surface with the pins on the bottom.
"I know that my English isn't perfect, but I still hope it's comprehensible." Send over the cool Xperia Z

Categories

Resources