Modify any USB GPS to XDA Serial RS232, afterrnoon project - General Topics

You have a USB GPS which you dont use, or dont know what to do with ? Well :arrow: Do not despair, heres your solution.
I kinda got bored the other day, no Mobiles to repair. So... I ripped apart my USB GPS which I didnt use for my lappie anyway, too bulky to drag around I found out after a while, and to use GPS in the home hehe well...
What you need :
1 : USB GPS any make
2 : Soldering iron 30~50W with small tip, I prefer SMD 1mm tip
3 : Soldering iron 60~80W for removing RF shields
3 : Some wires, I'm sure you have'em somewhere
4 : Old GSM mobile cable for COM port which have seen better days
5 : Some good flux
6 : XDA connector
Now, most USB GPS have only output for USB, some engine boards if your lucky have also a real RS232 output, but they are few.
The engine board I used is the BU-303 (note: similar to the EM-401 engine board with 2 output connectors, but be aware for some strange reason both outputs are USB only !) All GPS which are enabled with USB you can convert to RS232 output, because all have a onboard TTL to USB converter. The converter on this specific engine board is the PL2303 which converts the TTL v.24 output to USB Bridge, you can grab the datasheet is here now... we cant use a low level TTL/CMOS signal for anything, we need to convert that to a proper RS232 level
NOTE : RS232 is the electrical specification, V.24 is the protocol specification
Here's where your old mobile cable comes into the picture, you need to connect the INPUT TX/RX from the GPS to that RS232 converter and then connect it to your XDA, see the pictures below
Since the GPS now is not powered by the USB any longer I used the power from the XDA connector as you can see on some of the pictures. BE aware that the RS232 converter also is powered from the +5V which is given to the XDA. Works for me without any problems at all.
The cable I found was using the Sipex SP385A RS232 SOIP chip, datasheet is here
Heres the PL2303 TTL to USB Bridge module PL2303 on the GPS engine board
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Heres the RS232 converter from a old mobile phone cable
Heres a view of the thing before assembly, note that I opted in for keeping the DB9 connector, just in case I wanted to use it on my laptop in the future, I could also have keept the USB connection, but too many cables in that cramped space. On the picture you see the the right the old mobile cable I used for RS232 conversion in order for the TTL v.24 from the GPS to get a proper RS232 level, the middle the engine board, and left the antenna and XDA connector
And here is the finished unit, working on my good ole SX-56
And here a datasheet for the Circom Gmouse engine board
Enjoy the tinkering, I had fun doing this. If you have any further question, feel free to ask, and I'll answer to the best of my ability's. And please note duh, I do not take whatever responsebillity for what you do to either your GPS or XDA.
Regards

Related

Mini USB rather than slightly rounded connector?

Any idea why the connector is slightly different to a normal mini USB (i.e. one corner is slightly rounded).
Anyone had any joy using a miniUSB connector?
I've managed to charge mine using a miniUSB connector but it doesnt seem to connect to a PC with it. I'm wondering if the pin out is slightly different from an apparently proprietary HTC Diamond cable (but the power works)?
No idea why the connector is different, but my Diamon connects to the PC using a standard USB cable...
There are different types of mini usb cables. Some will not allow data connections from the daim100. I dont the technical reason. However i have cables from freecom usb harddisks that should be data compatible that will only charge the phone and nothing more.
counterfitninja said:
There are different types of mini usb cables. Some will not allow data connections from the daim100. I dont the technical reason. However i have cables from freecom usb harddisks that should be data compatible that will only charge the phone and nothing more.
Click to expand...
Click to collapse
Yeh. Mine will only charge....
I've tried at least 4 different miniUSB cables that I have around and all of them charge and allow data sync.
I've used a mini USB from a digicam, both charge and data worked.
I've heard miniUSB wall chargers won't work, though...
you must used in usb standard cabl with shild 5port not 4port
I've got an HTC wall charger and it worked with a miniUSB cable I had lying around.
-Mike
I believe the rounded plug is a HTC ExtUSB™ 11pin mini USB which has the additional pins for audio (headphones, etc). The standard USB Mini-B connector is fine for all charging and data needs providing you have a standard cable (good quality). Some cannot provide enough power to charge/power external devices.
USB Mini-B
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
More USB stuff & Pic from:
http://en.wikipedia.org/wiki/USB_cable#Cables
I used a standard miniUSB cable to sync, charge using HTC charger and charge using another charger. However, for some reason phone thought I am connecting to PC when I was charging.
there has already been a thread about this (and there has been on every section of the forum!)
I'm using a Motorola Mini USB cable for both charging and data, works great.
The Diamond differentiates between a charger and a PC by the use of pin 4 in the cable. On standard USB-cables, pin 4 is not connected. On a HTC-charger, it is connected to ground. If you connect pin 4 to ground, the charger will be seen as a charger, and htc's battery-tool will indicate "AC".
Have fun!

Forcing USB audio ouput - possible?

Is it possible? I bought this mini USB to 3.5mm adapter and the description said it was suitable for the S710. Actually, it isn't. So I'd like to know wheter it's possible to force the phone to use the USB-output instead of the speaker.
The phone doesn't detect the headset.
Thanks in advance. I tried to find it on the internet, but that didn't work out. My excuse if I missed something.
I am not actually expert with that but I think, one of audio part's pin is not connected properly, or some part of electronics is missing. I am suspecting pin 9 marked as S - look at ExtUSB pinout).
I was just about to buy one of those adapters, but now I'm hesitant. Is this a common problem with the s710?
torrentonly said:
I am not actually expert with that but I think, one of audio part's pin is not connected properly, or some part of electronics is missing. I am suspecting pin 9 marked as S - look at ExtUSB pinout).
Click to expand...
Click to collapse
Indeed. I also purchased this one today. It seems to have a slightly bigger connector. It's only 2 dollars so the price isn't an issue, but I just want to have it work.
The description should say extUSB to Audio (if it's not extUSB it might not work).
Look if the pins of your phone are dirty or something.
And no, with an extUSB to audio converter this doesn't happen (so not a common problem)!
frauhottelmann said:
The description should say extUSB to Audio (if it's not extUSB it might not work).
Look if the pins of your phone are dirty or something.
And no, with an extUSB to audio converter this doesn't happen (so not a common problem)!
Click to expand...
Click to collapse
I don't know, I only got the cable without any description.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This was the one. The default headset works fine.
Look at the USB part if you have 6 little pins in it. If you don't, you haven't ExtUSB converter.
Hi 3lmo,
...the one in your post looks like a normal USB connector. There the 5 pins of the USB are used to transport also the Audio (i.e. audio and USB/charge are not possible at the same time). This is used for some devices like Motorola Razor V3 or differently for BenQ E72.
The ExtUSB from HTC has added to the 5 pins of the USB another 6 on the other side of the plug insert. The original 5 pins are used only for USB purposes - not for Audio which uses the other 6 pins. There is info in the net about the details somewhere. Just take care that you get the extUSB type. The second one you got should work (I have the same from the same vendor).
See also this post: http://forum.xda-developers.com/showpost.php?p=3473046&postcount=12
bye
tobbbie

Dual ended USB/Samsung flashdrive prototype

This is something I made as a prototype/proof of concept test for something I hope to make for my S2, but since I only have Tab OTG adapters around and no S2 ones yet I made the prototype for the Tab
Anyways, this is quite simple. Take a USB OTG adapter, strip it down to where you have wires sticking out of a 30 pin connector, find a tiny USB flash drive, strip it down, and solder the two together so that the USB plug is still usable. End result is a small USB flash drive that can connect to both a computer and the Tab (not at the same time, obviously)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Were I to make a V2 of the Tab version I would have located the USB connector on the side - which was always the plan with the S2 one, just didnt bother wit the Tab prototype
The connector is NOT proprieatry, its a 30 pin PDMI connector. Read it at everyone's favourite encyclopaedia: http://en.wikipedia.org/wiki/PDMI
So basically you can just solder pins 1,2,3,5 to your thumbdrive and pin 4 to pin 2, and optionally solder pin 15 to pin 6 for high power and you're set. Saves money on getting the expensive OTG thingy. The hard part is getting the jack..
arikyeo said:
The connector is NOT proprieatry, its a 30 pin PDMI connector. Read it at everyone's favourite encyclopaedia: http://en.wikipedia.org/wiki/PDMI
So basically you can just solder pins 1,2,3,5 to your thumbdrive and pin 4 to pin 2, and optionally solder pin 15 to pin 6 for high power and you're set. Saves money on getting the expensive OTG thingy. The hard part is getting the jack..
Click to expand...
Click to collapse
Have you verified the pin outs? Since the cables from original Tab can be used and it did not have a PDMI port I would guess that the Plus is not a PDMI port.
http://en.wikipedia.org/wiki/Samsung_Galaxy_Tab
It also has a 30-pin docking and charging connector very similar to the standard PDMI connector (a non-proprietary alternative to Apple's docking connector). It appears so similar to the PDMI connector that it is widely mistaken for it, but it is non-standard and all accessories, including charging cables, are incompatible with other equipment and only available from Samsung.​
http://forum.pocketables.net/showthread.php?t=7722&page=2
http://fatmixx.com/2010/12/07/samsungs-galaxy-tab-has-a-familiar-looking-connector/
http://www.kineteka.com/galaxy-tab-connector.aspx
I attached pictures of the pinouts.
I was really disappointed with this when I found out about it yesterday.
Indeed nothing universal about Samsung...they even use a trigger to activate charging, effectively making all third party non.Samsung specific chargers and battery packs out there useless without an adapter

HooToo® HT-UH010 7-Port USB 3.0 HUB with 2 Smart Charging Ports

http://www.amazon.com/HT-UH010-Char...=UTF8&qid=1389199349&sr=8-3&keywords=hootoo+7
HooToo® HT-UH010 7-Port USB 3.0 HUB with 2 Smart Charging Ports
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Manufacturer Description
Smart Charging Port Adavantage: 2 smart charging ports provide full-speed and sufficient powers to charge all Apple and Android smartphones, tablets and other USB charged devices with a 5V charge input. The iPod nano and some GPS and Bluetooth devices are not supported.
Massive expansion, provide 7 USB 3.0 ports for home and work users
Premium 12V/5A AC power adapter makes full use of all 9 ports
LED indicators for each USB 3.0 ports and power supply. 18 Months Warranty.
Plug and play. Supports hot-swap function and no driver needed. Built-in current protection system effectively protects hub and connected devices from electronically accident.
Size
Length - 5.71 inches
Width - 1.73 inches
Height - 0.91 inches
I'm sure a lot of you guys are like me and probably have a charger and a usb hub on your desk/table/workstation. Everytime I used to look at my usb hub, I used to get so frustrated that it only had 0.5 amps for charging and that simply didn't cut it with most phones/tablets. Now comes this handy little savior of a device and it combines a usb 3.0 hub and a 2 port charger.
There are 7 usb data ports each numbered and 2 charging ports (a 1 amp port and a 2.1 amp port). So it can charge most devices under the sun.
Build Quality
It's made out of plastic, lightweight but not flimsy. Does not bend or creek that I've noticed when trying to flex it. Seems like a good well built usb hub.
The number on each data port lights up when being used. While the Charging port has no light notification that its being used.
It is to note that t does slip around a bit. This is because the bottom doesn't have any anti-slip feet or rubber pads at the bottom. Easy fix for as you can get them for a few bucks on amazon or ebay.
Performance
I won't talk too much about the usb 3.0 read and write speeds; But I was able to get:
on a slower usb 3.0 usb drive:
21 mb/s write
31 mb/s read
the fastest USB 3.0 drive I had:
45 mb/s write
153 mb/s read
so its safe to say that the usb 3.0 hub works well with data transfers. The speeds will mostly depend on your peripheral you're using
The ports were able to charge an array of devices. Different combinations of the following were able to be charged with no problem:
Nexus 5
Nexus 7 2013
Ipad 2
Ipad 4
Sansa Clip+ mp3 player
Galaxy S3
Galaxy S2
Conclusion
For what this little gadget does I think it's a no brainer to have for us tech geeks. Small, functional and multi-purpose.

[QUESTION] USB-C cable no ADB connection

I got the original USB-C to USB-C cable for my Kebap on my charger. On the PC with Windows 10 on a very new MSI motherboard I used some cheap USB-C to USB cable for everything regarding my smartphone. Now I felt that the old cheap USB-C cable was a bit too short and got a pretty good looking mesh covered USB-C to USB with 2 meters length. Now I realized that ADB does not work with it. Data transfer is fine on the PC, but ADB just turns on and off the connection all the time looping. I checked with the old cable on the same USB port on the PC, and it works fine. Checked the new cable on some other USB port, not working. For my Trezor hardware wallet the new cable works.
How comes that some cables work, and others don't? I thought as long as they are sold as "data cable" suitable for syncing stuff, all should work?
C to C cable is kind of mess, especially those with E-Mark chip, they can negotiate the communication protocol(USB3/4_GEN1/GEN2 Thunderbolt3/4_20Gbps/40Gbps…) and current with the system or charger.
So different type C to C cable will act different, cable it self can backward compatible, oneplus 8T USB prot is USB3.1 GEN1(USB2.0 compatible), any C to C cable should work fine(I use tunderbolt3 cable do all the stuff).
Oneplus 8T C to C cable connector only has 2 data pin(D+ D-), means is USB2.0 only cable.
In your case, there are two possible situations;
1> New cable is USB3.X or higher(use more pin/core), but the core is low quality or damaged, or the phone/cable connector is dirty or oxidized. try unplug/plug different side several times, or use another cable.
2> Some PCIE GEN 4.0 AMD motherboard/laptop has USB disconnect issues, try set PCIE to GEN3 may solve this problem.
Or, just use USB2.0 only cable, for maximum compatibility….
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for all the info.
Went to the hardware store, and got me some higher quality USB-A to USB-C cable (15$ - more than double the price of the cheap one), and ADB works mow. The eBay seller of the cheap cable with mesh just wrote me, that he will send me another piece. I will test that, and then I will know if it's just lame ass cable quality or some defect.
E-mark Cable info dump? You got a gadget to analyze smartphone cables? Nice.

Categories

Resources