Shop OBEX P1 Docs P2 Docs Learn Events
Pin Header Standard? +,-,data,data......? — Parallax Forums

Pin Header Standard? +,-,data,data......?

tonyp12tonyp12 Posts: 1,951
edited 2015-05-30 20:33 in General Discussion
Though there is probably no official recommended layout, but to help avoid shorts and mistakes that takes time to debug.

Should pin1 (square pad) be from left to right looking from nearest edge?
Should the order be: Volt, Gnd, Data1, Data2........

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-05-30 10:12
    If it's possible to plug it in backwards, arrange the pins to minimize the consequences.

    -Phil
  • LeonLeon Posts: 7,620
    edited 2015-05-30 10:14
    The convention is for pin 1 to be on the left.

    The supply and other connections are arbitrary, there is no convention.
  • tonyp12tonyp12 Posts: 1,951
    edited 2015-05-30 10:26
    >there is no convention.
    Why did they not semi-officially come up with one 30years ago?, as now everyone just comes up one grabbed from thin air on a whim.

    If the data bus width can be flexible, I think Volt and Gnd first instead of Volt,data1...data8, Gnd
    As with the later you would always have to use full width connector even if 2bit mode is used.
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2015-05-30 11:31
    There isn't a standard so to speak, but there is common sense ....


    Keep the ground pin on the outside so that in case a "live" connector bumps up again something the first point of contact wont be a Power.

    Also if you have the real-estate on the connector, place a NC (no connect) that aligns with the Power if the connector were to be accidentally connected in reverse.

    i.e.

    GND - PWR - D0 - D1 - D2- ... - D6 - D7 - NC - GND

    or some other variant ....

    GND - PWR - D0 - D1 - D2- ... - N6 - NC - D7
  • Hal AlbachHal Albach Posts: 747
    edited 2015-05-30 11:59
    "Also if you have the real-estate on the connector, place a NC (no connect) that aligns with the Power if the connector were to be accidentally connected in reverse."

    +1
  • Cluso99Cluso99 Posts: 18,069
    edited 2015-05-30 17:44
    If it is for a propboard, a number of us have agreed to using
    V+,GND,P0..P7,[P8...]
    where V+ can be either 5V or 3V3
    and P0 is usually P0/P8/P16/P24 and is usually 8 consecutive ports but may be more (eg P8..P19)

    Also, we have kept the PropPlug connection as GND,/RST,P31,P30. I often use a 6 pin version with 5V,GND,/RST/P31,P30,nc where the propplug can be the centre 4 pins.
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2015-05-30 17:59
    I'm just saying for larger projects... larger voltages, you might consider adopting a method of keeping the neutral or ground on the outside of your connectors, and a NC is a must if there is even a small chance that the plug and be connected backwards....

    attachment.php?attachmentid=114372&d=1433033825
    960 x 720 - 112K
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-05-30 18:12
    Okay, Beau, now that you've teased us with that awesome photo, can you tell us what it is?

    -Phil
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2015-05-30 18:37
    @Phil,


    "Okay, Beau, now that you've teased us with that awesome photo, can you tell us what it is?"

    No Specific details ... other than it's just one of the projects I am involved with. Water cooling, 1800 Watt Heater Element, 4000 psi hydraulic ram .... Used in the first stage sample preparation to be used later in forensic analysis.
  • idbruceidbruce Posts: 6,197
    edited 2015-05-30 20:08
    Okay, Beau, now that you've teased us with that awesome photo, can you tell us what it is?

    Looks like a classic dooms day device to me :) Notice the center removable core..... Perhaps we should all start to worry.
    Just wanted to feel the power between my legs
    Steve Buscemi - Armageddon
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-05-30 20:20
    ... Water cooling, 1800 Watt Heater Element, 4000 psi hydraulic ram ...

    count_floyd.jpg?w=536

    Ooooh! Pretty scary, kids! Did you see the CHILLER?!!! Ah Whooooo!
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2015-05-30 20:33
    @idbruce,

    "Looks like a classic dooms day device to me" - lol ! .... and it even counts seconds backwards .... ahem .... to let you know how much time you have left in various stages of the cycle :-)
Sign In or Register to comment.