Serial & USB pin connections for XDA2 - MDA II, XDA II, 2060 General

I would like to connect my XDA2 to a garmin gps. I know there are ways to do it with null modem cables etc, but would like to use a simple cable, cut the end off it and put a pfranc connector on the Tx and Rx serial wires.
I wondered about using this as a starting point, as it would let me provide power to the XDA2 also.
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=58544&item=5137949363
But.....it is USB. Can I simply cut off the USB connector and identify the Tx Rx wires as with simple serial cables. I suspect due to the plug & play nature of USB, the wiring is more complex.
Thanx
J

http://wiki.xda-developers.com/index.php?pagename=Connectors
I don't know much about the USB side though.

Thanks thats helpful.....The USB is quite separate from the serial transmission, so cables will not be interchangable. Have ordered some connectors, and just make one from scratch. 8)

Related

Making a serial cable?!?!

Your guide to making serial cable is a bit iffy! You say we shall call this pin number 1 but we haven't got any confirmation about this... Is it pin 1 or not - doesn't fill me with confidence
Is it possible to make a USB to serial adaptor cable? I assume not as there arn't enough wires on the USB cable but I'm not familiar with this at all - yet!!
I've searched the web for a guide to serial cable pin layout but I can't find anything anymore.
Might just go and buy one and hope for the best.
Cheers
Fud
Also...
Can see anywhere if you can use a laptop to connect via IR com1 and unlock the xda with Manipulator.
IR port is not active.
So no this is not possible.
Can anybody help?
I still cannot get this to work. I have made my serial cable using a null modem cable and the board inside the O2 cradle. I have used a circuit tester to find the continuity between the actual XDA connector and the power connector for the cradle (con2 i think) - It has all the relevent pins for the serial connection.
Manipulator sits on the scanning ports screen and ActiveSync seems to be stuck in a loop but does not connect. I have obviously disabled ActiveSync b4 trying to connect with Manipulator and vice versa.
I have also attempted to rewire this as advised by one of you on another forum - using just the TX RX and GND pins as I am only trying to unlock the phone. This still does not work.
If somebody could send me a diagram of the serial connection it would help because the instructions here are a little vague. With just TX and RX connections I have wired up as so:
Com Port------------XDA----------------Con2
2-----------------------8-----------------5th connector from left
3----------------------10----------------7th from left
5-----------------------2-----------------1st from left
Also looking down on the circuit board with con1 away from you and con2 toward you. Con1 Pin 1 is on the right - right?!
I could go and buy the cable but to be honest I would probably just go and get a new phone on O2 to use that sim. I would really like to get somewhere on this coz it's now annoying!
Working
Sweet, Sweet, Sweet.
Didn't work with Manipulator but works with terminal prog??
I am now unlocked
Radio 4.06
Wallaby 5.15
Dunno if there is a prob with it - but just to let you know...
THX

HTC TyTN Y Cable

Has anyone ever tried splicing the HTC TyTN Y Cable Version: 11pin to 5pin + 6pin to a regular 5pin USB cable.
cooldrewb said:
Has anyone ever tried splicing the HTC TyTN Y Cable Version: 11pin to 5pin + 6pin to a regular 5pin USB cable.
Click to expand...
Click to collapse
Huh? It already allows you to plug in a 5 pin USB cable into the power side (5 pin). What are you trying to do?
URPREY said:
Huh? It already allows you to plug in a 5 pin USB cable into the power side (5 pin). What are you trying to do?
Click to expand...
Click to collapse
I would guess power in and audio out at the same time
I am using my phone in my car and don't want the power cable and music cable hanging down in front of my dash. What I want to do is run a USB cable out of my phone, drill a small hole and have the HTC TyTN Y Cable and everything else hidden.
Ooops when I said drill a small hole I am drilling it in my dash. I am just trying to extend the HTC TyTN Y Cable and unfortunately that is a different style connect on the end so there are no cables out there with a female end. So I figured I would splice it.
So can this be done?
If you want to split audio/power, you CAN NOT USE an USB cable.
See the difference between AUDIO jack (hearphones) & USB Jack.
also, the jack of the earphones is good, but it hasn't connected the power cables to the pins. i hope if you cut the cable, you will find only audio/mic cables.
so, or you buy a TyTn Y Cable and cut/extend it; or you have a male connector like that on earphones, and do with it all that you want.
::::::::::::::::::::.
OOps... i've understood now the very question.... :emb :emb
an user has dismantled it... HERE
What I want to do is leave the headphone and power intact and cut the male end off(the end that plugs into the phone) then take a regular USB 5pin cord and splice it onto that. Does that make more sense.
cooldrewb said:
What I want to do is leave the headphone and power intact and cut the male end off(the end that plugs into the phone) then take a regular USB 5pin cord and splice it onto that. Does that make more sense.
Click to expand...
Click to collapse
If you just want to extend it, buy the 3 way adapter from Brando and mod that one. What we're trying to tell you is that there are 11 wires in that harness, so if you want to extend the cord, all you'll need to do it splice a new set of extension wires in (multiple USB cables?). If you can solder, that's no big deal. I have mine mounted in a Brodit powered cradle with audio going into my car stereo, and the y cable is tucked behind the cradle and the wires hidden into my dash.
How many wires are in the Brando? Is it pretty easy to splice? Sorry if I am asking a stupid question.
cooldrewb said:
How many wires are in the Brando? Is it pretty easy to splice? Sorry if I am asking a stupid question.
Click to expand...
Click to collapse
I haven't taken mine apart, but I assume it still has 11 wires (one for each pin). The reason I was suggesting this is because if you want to have a 3.5mm audio out, you either have to buy an HTC-specific USB to 3.5mm audio adapter for $12-$15, or you can buy the Brando unit which includes everything for ~$20 (and if you screw it up, you're only out the $20).
Splicing wires isn't difficult, but if you're not handy with a soldering iron it might be. These a pretty small wires (30 gauge?). Practice on an old USB cable first.
I already have the 3.5mm headphone jack and the power connected. My only problem is the end that plugs into the phone. Instead of making a standard mini USB HTC changed it so it is a different shape. I guess I figured I could just cut off that end and it would be same as any USB cable. I didn't want to go into the jack itself where the headphone and power is.
cooldrewb said:
I already have the 3.5mm headphone jack and the power connected. My only problem is the end that plugs into the phone. Instead of making a standard mini USB HTC changed it so it is a different shape. I guess I figured I could just cut off that end and it would be same as any USB cable. I didn't want to go into the jack itself where the headphone and power is.
Click to expand...
Click to collapse
They changed the jack because it won't work in a USB plug - it has 11 pins (5 for USB power/sync and 6 for audio). You can extend it either way, but it takes 11 wires to extend it. I have a similar setup in my car, so I understand where you're coming from, but aside from extending the cable I've not seen a better solution...
What a pain. What really stinks is I only need to go about 8 inches.

Mini USB to Serial Cable?

Hey guys!
I've searched and searched for something to allow me to transfer data via a serial cable from my phone to device.
Let me try to explain this.
HTC Wizard
Windows Mobile 6 (Explore 1.1)
I have style tap (palm os emulator)
Software for palm os for a stand alone fuel managment system (msefi.com)
So on my car, I use a serial cable to program and get realtime data.
Now I know they make bluetooth to serial adapters for around 70, but I was wondering if they make a mini usb to serial cable for the Mobile OS.
Anyone have any ideas?
Thanks
Chris
Well, you could theoretically get a USB to serial adapter that has a cable. Then cut the USB connector that goes to the PC off the cable and just splice the miniusb plug onto the end. I don't know about device support though I'm going to guess you would have to at least come up with a driver and the device might not support that type of functionality at all anyways.
Since the Wizard doesn't have a USB Host (aka USB OTG) the short answer is no. Even more importantly, the wizard won't power the serial adapter so the device is a dud to begin with.
The odds that the BT to RS232 connector method will work are far greater than the USB method.

USB - Wiring for ADB?

Hi folks!
I want to connect an android device (it has usb slots... i can plug there 3g dongles, keyboards, wifi etc) with my computer to try to establish an adb session.
Is that possible like that (usb male - male)? Do i have to solder a custom cable - and how would he wiring be to force the android into "client mode"?
Any help is highly appreciated!
licht77 said:
Hi folks!
I want to connect an android device (it has usb slots... i can plug there 3g dongles, keyboards, wifi etc) with my computer to try to establish an adb session.
Is that possible like that (usb male - male)? Do i have to solder a custom cable - and how would he wiring be to force the android into "client mode"?
Any help is highly appreciated!
Click to expand...
Click to collapse
to wiring an usb cable is not so hard. normally you only need to solder the same coloured wire together, red to red, white to white, green to green and black to black. but there are already male to male cable to buy.
www.dx.com/p/ult-unite-ult-1234-usb...lated-data-connection-cable-white-60cm-269067
what does your android device have for an usb? is it micro usb or standard (type a)?
if you have a micro usb port so use an usb data cable, most of the charging cable does have data transfer support.
your computer even needs a driver for your android device to get working the adb.
good luck!
ps. on ytube there a lot vids how to... only search and destroy ( your android)
KindsKoPP said:
to wiring an usb cable is not so hard. normally you only need to solder the same coloured wire together, red to red, white to white, green to green and black to black.
ps. on ytube there a lot vids how to... only search and destroy ( your android)
Click to expand...
Click to collapse
Hi! Thanks for your help! Its a type A jack on that device just like on the computer. Adbd daemon is on the device running but my windows machine cannot detect an usb device with direct soldered pins (or a bought cable which seems to have the same wiring)
I read about possible collitions when both devices of an usb connection are in host mode and that maybe pullup resistors on the data lines are needed - but i didnt fully understand that part. (Its different to the pin shortening of an usb otg wiring which can be found thousand times on google *G*)
can u describe exactly which cable u have used? and sometime the colors of the cable are not correct e.g. red is not +. those are build by chinese manufactures for cheaps goods. so u have even to measure the cable with a voltmeter.
and describe what happen when u plug the cable in the pc. normally windows is always running as main and android as slave.
as you describe u have an usb a type so i guess your android version is minimum 4.x and is already automatically on host status because you said u can put in a 3g dongle...so u have to go to the android command change from inside. i dont know much about linux programming so have to ask a developer. i only do developing hardwares not softwares, sorry for that.
what is your android device? with a datasheet is it better to solve your problem.
Hi KindsKoPP!
Thanks for your help and interest!
Basically I tested with a 1 to 1 wired cable I soldered by cutting 2 usb cables. I double checked colors (measured their output when connected to the computer) and found them ok. Then I connected them 1 to 1 (red-red, black-black, green-green, white-white).
But no usb device showing up or asking for drivers...
I know that adbd is running on the target device.
I pulled up some info here: http://www.valki.com/2014/12/04/analyse-av7/
I am still hoping that those usb devices who are in a double role (like our phones too with their usb otg host mode and client mode for mtp, adb...) are triggerable externally by using special soldered cables (resistors?) ... like "when resistor xy is on D+ -> go to client mode"?

12 pin usb connection

Hi,
I recently purchased a usb cable for my android head unit and the lead doesn't work. I didn't buy the unit so I don't know the brand etc. The unit was in the car when I bought the car.
I'm guessing the wires that plug into the usb connection are in the wrong order. I have no way of finding out the correct order. Does anyone on the forum know the correct order or even show me a picture of their usb cable.
I've bought 2 cables so far, neither of them have worked and they cost close the £100. It's very frustrating that I can't get them to work
Thanks in advance
What does the seller suggest and what happened when you tried that.
Also, with no information and detailed screenshots, how did you want help
When I plug in the usb cable and try any basic usb connections like phone chargers usb sticks etc. Nothing happens at all.
I've attached a screenshot from a product guide I found online if that helps.
If anyone knew which pins were for data transfer or voltage, that could help me loads.
Thanks
Measuring is the magic word. 8 pins will be connected in the original cable. (VBUS)+5V 2 times and 2x GND
...then you only have to find out what is D- and what is D+ for the data lines.
If you don´t want to measure: Open the magic box and have a look at the pins from the connector inside.
Just with your picture no one can tell anything. Each supplier does it´s own magic.
By the way... Connecting that wrong, may damage the internal USB-Hub and you can buy a new mainboard... just to mention. Trying around is not a good idea.

Categories

Resources