Author Topic: USB port identification  (Read 1567 times)

0 Members and 1 Guest are viewing this topic.

Offline andrewlaphamTopic starter

  • Contributor
  • Posts: 48
USB port identification
« on: March 02, 2020, 04:58:18 am »
Hey, i picked up this GPS receiver from the second-hand store today and realized the USB cable wasn't included. i wanted to replace the female port with a standard mini USB port but quickly ran into a problem. the USB port in the device only has 3 wires attached to it and after inspection, i found some pads under a sticker that looks like a USB header but it still doesn't look right as it has 6 pads.  any ideas about what I'm dealing with here?



 

Online ejeffrey

  • Super Contributor
  • ***
  • Posts: 3888
  • Country: us
Re: USB port identification
« Reply #1 on: March 02, 2020, 05:41:59 am »
Usb <= 2.0 only has 4 pins.  5v, 0v, d+, d-. A usb target (not host) that is self powered only really needs to use the three pins.

 

Offline viperidae

  • Frequent Contributor
  • **
  • Posts: 306
  • Country: nz
Re: USB port identification
« Reply #2 on: March 02, 2020, 05:57:04 am »
That rdc r1120 MCU doesn't appear to have a USB peripheral. The proprietary USB cable may be a USB to UART adopter.

Edit: the sp385 is an rs232 level translator
The other 2 visible chips are the GPS chip and an SRAM. I don't see anything on that PCB with a USB controller.
« Last Edit: March 02, 2020, 06:04:39 am by viperidae »
 

Offline andrewlaphamTopic starter

  • Contributor
  • Posts: 48
Re: USB port identification
« Reply #3 on: March 02, 2020, 06:36:56 am »
so I'm guessing this needs an additional TTL Serial to USB bridge?
 

Offline MarkMLl

  • Frequent Contributor
  • **
  • Posts: 364
  • Country: gb
Re: USB port identification
« Reply #4 on: March 02, 2020, 08:31:23 am »
It looks to me as though five pins have traces or nearby vias on that connector, including gnd and 5V in the middle which is rather unlike USB. I've seen something (although I forget what) recently which used a USB connector for low-voltage serial, and this might be doing the same.

MarkMLl
 

Offline andrewlaphamTopic starter

  • Contributor
  • Posts: 48
Re: USB port identification
« Reply #5 on: March 02, 2020, 08:44:36 am »
So i just found the for the manual for the device and it originally had a 1394 (firewire) to PS/II --PS/II to USB. (the PS/ii to USB is what I'm missing)
 

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #6 on: March 02, 2020, 06:01:40 pm »
The 5 pin connector that is unsoldered(unpopulated) looks like a standard USB connector to me.  The 5th pin is the ID pin - Relevant specs: USB 2.0, USB OTG, USB BC1.2

If this device is self powered, it's unlikely that it uses the ID pin, however I do see a trace running to it so maybe there are multiple flavors of this device.
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #7 on: March 02, 2020, 06:10:04 pm »
Also it's relevant to mention that while only 3 pins may be required for communication w/o power, a peripheral still needs the power pin to allow for attach detection.  There are some other methods like DCD (Data Contact Detect) but they are not terribly reliable.  The attach->connect event is started by the peripheral seeing the 5V input rise >= 4.01V, without this pin it can't detect this.  I suppose it could blindly leave its pull-up (Rpu) enabled all the time, or wait to see the termination resistors on the host side, but this would violate USB specs and it wouldn't pass compliance testing.
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 

Offline MarkMLl

  • Frequent Contributor
  • **
  • Posts: 364
  • Country: gb
Re: USB port identification
« Reply #8 on: March 02, 2020, 07:11:15 pm »
@angrybird: OP's already determined that it's not USB:

> So i just found the for the manual for the device and it originally had a 1394 (firewire) to PS/II --PS/II to USB. (the PS/ii to USB is what I'm missing)

MarkMLl
 

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #9 on: March 02, 2020, 07:18:53 pm »
I should have specified "in the picture" -> There are PCB lands for an unpopulated 5-pin USB connector on the PCB shown in the picture.
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 

Offline MarkMLl

  • Frequent Contributor
  • **
  • Posts: 364
  • Country: gb
Re: USB port identification
« Reply #10 on: March 02, 2020, 07:51:39 pm »
If that were USB one of the middle traces would not be prominently labelled "5.0V".

MarkMLl
 

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #11 on: March 02, 2020, 08:00:49 pm »
Oh!  That's a SIX pin connector!  DOH!  I swear I saw five!!!   :palm:
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 

Offline MarkMLl

  • Frequent Contributor
  • **
  • Posts: 364
  • Country: gb
Re: USB port identification
« Reply #12 on: March 02, 2020, 08:13:02 pm »
[Nod] with vias on the outer pins, so they're probably not shield. Some one-of-a-kind internal connector, with what OP describes as a "PS/II" involved.

"Connector golf" can be a fun occupation, until one is doing a field job and finds that the schematics available aren't remotely like the hardware :-)

MarkMLl
 

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #13 on: March 02, 2020, 08:22:22 pm »
At least the pin density on this one is reasonable!  I've been handed the task of tacking very fine mag wires (~36AWG if I remember correctly) onto one of the inner layers of the multi layer ribbon cable going to an Apple device screen...  Honestly, I don't know what was more difficult, soldering them on in the first place, or working out strain relief so that they wouldn't break off during testing...
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 

Offline andrewlaphamTopic starter

  • Contributor
  • Posts: 48
Re: USB port identification
« Reply #14 on: March 03, 2020, 09:21:56 am »
Ok, guys. I'm still stuck trying to interface with this device. I'm going to need USB as an interface medium for use with my laptop but as i stated before i am missing the 1394(firewire) to the USB connector. I've included a picture from the manual to show all the different interface mediums available to the device such as RS-232 serial, CF-PCMCIA compact flash, and USB.

I was thinking of pushing the serial DB9 connecter through a TTL serial converter to use it as a USB interface but I'm not sure how to power the device if i do it this way or if it's even possible.

DB9                     USB TTL
Pin 2 (RX)      --    TX
Pin 3 (TX)      --    RX
Pin 5 (GND)   --    GND
 ???              --    VCC (3.3 or 5)

I've included some images of the hardware I'm planning on using.
 

Offline MarkMLl

  • Frequent Contributor
  • **
  • Posts: 364
  • Country: gb
Re: USB port identification
« Reply #15 on: March 03, 2020, 09:48:47 am »
So "PS/II" comes into it purely because they've used a PS/2-compatible cable as an extension, with a mini-DIN at each end. You might be able to hack it using something like an FTDI adapter, I suspect that "1394(firewire)" might indicate simply the outline of connector they'd used rather than suggesting signalling levels and protocol.

It's the middle cable of the ones shown in your photo that gives the useful info: it looks as though it's intended to plug into a PC's keyboard or mouse connector to get power and then puts some unspecified signalling level onto the 9-pin D connector... you could usefully check what that level is.

I'd be inclined to try an FTDI but to be prepared for something to blow up, but allowing for the commodity nature of GPS receivers and FTDI adapters these days it's not worth putting a great deal of effort into.

MarkMLl
 

Offline pcmad

  • Regular Contributor
  • *
  • Posts: 96
  • Country: gb
    • module web design
Re: USB port identification
« Reply #16 on: March 03, 2020, 04:00:44 pm »
that port looks like the connector from older cameras that had the feature of svideo combied with that connector

Offline angrybird

  • Regular Contributor
  • *
  • !
  • Posts: 142
  • Country: pr
  • I have a particular fascination with birds.
Re: USB port identification
« Reply #17 on: March 05, 2020, 03:40:33 pm »
This picture is very helpful!  I suspect you will find an RS232 level serial interface and nothing more!  The adapter pic you posted looks like a TTL level converter, you might want to also get an RS232 level converter, I kind of suspect this is what you will find based on the pics (The PS/II to DB9 connector hints towards this)
THE CAKE IS A LIE AND THESE NUTHATCH ARE WAY TOO DISTRACTING
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf