It should be outside of an enclosure but not move too much, might be bumped every so often but otherwise untouched.
My intent is to daisy chain several of these boards together via the UART, with the right UART going to the left UART, and be powered from a single board. I have VBUS and GND crossing over because if the cables are straight through, they'd shoort without. I drew my thinking below.
(Attachment Link)
Its not supposed to be used by anyone other than me, so left should always go to right, but I'm also aware that I have a chance of fucking it up if I get distracted so now I'm leaning to cross-over in the cables.
I guess could also just use 6 pins and not worry about it.
Ok, we’ve got a terminology issue here, then. A “straight through” cable means one where every pin connects to the same-numbered pin on both ends, i.e. pin 1 to pin 1, 2 to 2, 3 to 3, etc., regardless of how the wires in the cable lay.
“Straight through” does NOT mean a cable where the wires go
physically straight across, connecting two plugs back to back, connecting each pin to whatever pin it happens to be facing from the rear, which I think is what you assumed it to mean.
“Crossover” is actually a term fairly specific to Ethernet cables, as far as I know. In RS-232, a functionally equivalent cable (which swaps TX and RX, but not the other lines!) is called a “null modem” cable.
FYI, some general advice:
In ribbon cables (the kind terminated to IDC connectors), always keep the stripe (on non-rainbow cable) or brown (=1 in resistor color code) on the end with the pin 1 marker arrow.
In RJ45 cables, follow TIA-568 color code. For a straight through cable use 568B on both ends, for crossover use 568B on one end and 568A on the other.
4P4C (phone handset) cables are a bit of a “gotcha”, in that both straight-through cables (order of colors the same on both ends, as viewed from the mating side, meaning that one plug is facing up and the other is facing down), and reversed cables (both plugs facing up, meaning the order of the colors is reversed on one end) exist. When replacing a handset cord, one should look at the old one and see which was used.
Whatever connector you use for a given application, always look at the datasheets to determine how the pins are numbered, ensuring you triple-check whether the numbering is shown from the back (wire side) or front (mating surface), and which direction is “up”, and then triple-check that your PCB footprint matches this; these can be wrong, even “official” ones. Learn how a given connector marks one, if at all. And with connectors that are available from multiple vendors (like basic 0.1” headers, KK-style connectors, JST, and many others), triple-check whether the version you’re using numbers pins the same way as the other vendors, because they sometimes switch it around!!! (For example, I had an issue with cheap Molex KK clones that had the pin 1 marker on the opposite side as original Molex.) FWIW, I’ve almost entirely abandoned using cheap clone connectors and opt for original name-brand now.