Author Topic: Safe order for three signals GND TX RX  (Read 1007 times)

0 Members and 1 Guest are viewing this topic.

Offline alank2Topic starter

  • Super Contributor
  • ***
  • Posts: 2185
Safe order for three signals GND TX RX
« on: April 21, 2018, 02:07:49 am »
I need a 3 pin header and I don't think there is any standard for it, but I could be wrong.  What is the best order to keep someone from causing any damage/trouble by reversing the connector?

TX is an output (driven output high/low)
RX is an input (HiZ)

This keeps the output in the middle...

GND TX RX
 

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4103
  • Country: us
Re: Safe order for three signals GND TX RX
« Reply #1 on: April 21, 2018, 02:14:01 am »
Putting the Tx in the center is fine, but isn't the Rx connected to a Tx pin on the other side? You would end up with a short between a Tx and a GND or other Tx any way you slice it, no?

If you want to use a reversible 3 pin connector, it probably doesn't matter in the sense that it probably won't cause permanent damage. But you could check the datasheets. Or you could put a 10R resistor on your Tx and Rx pins.

Safest is to wire it to a 4 pin header. Cut off one of the pins on the male side and plug the hole on the female side with hot snot or epoxy.
« Last Edit: April 21, 2018, 02:26:22 am by KL27x »
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: Safe order for three signals GND TX RX
« Reply #2 on: April 21, 2018, 02:48:58 am »
Both your TX and RX should be able to survive being shorted high, low, preferably somewhere above high (like 5V), and ESD from probing fingers.

Sort that out and you'll not have to worry about the order.
 

Offline xrunner

  • Super Contributor
  • ***
  • Posts: 7517
  • Country: us
  • hp>Agilent>Keysight>???
Re: Safe order for three signals GND TX RX
« Reply #3 on: April 21, 2018, 02:50:20 am »
Safest is to wire it to a 4 pin header. Cut off one of the pins on the male side and plug the hole on the female side with hot snot or epoxy.

That's what I was going to say.  :-+
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3359
  • Country: nl
Re: Safe order for three signals GND TX RX
« Reply #4 on: April 22, 2018, 12:11:39 pm »
From an ESD point of view it is very preferable to make the GND connection first.
When using standard 0.1" connectors you can push the GND pin out a bit, so it makes first contact.

Putting in small series resistors help a lot in preventing ESD damage and also help in preventing damage from short circuits. But they may limit the baudrate, especially on long cables.

With a 5 pin connector you can have 2 GND pins on the outside. Then two pis for Rx or Tx, and a single pin in the middle. This would make your connector reversible.
I suggest the GND pins on the outside, because it is likely the connector will be first inserted under a slight angle and the outside pins make first contact then.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf