2
\$\begingroup\$

I want to create a toolhead PCB for a 3D printer. Due to lack of space for a proper connector (i.e. a 2x8 Molex Microfit), I wanted to use a 24 pin USB-C receptacle. For that, I made a first, very crude schematic drawing: schematic

For reference, I took this pinout of USB-C: USB-C pinout

I have a few question in this matter:

  • are the Vbus pins inside a USB-C receptacle physically connected already or is this happening on the PCB pins?
  • Are the individual D- and D+ pins (for reverse polarity) A7 and B7 (A6 and B6 respectively) connected inside the connector?
  • Are the wires inside a USB-C cable for D+ and D- connected already (2 wires inside the sleeve) or are these 4 individual wires?
  • Same question goes for RX1/2 and TX1/2 (i.e.: is RX1+ physically the same wire as RX2+?)

I dont need reverse polarity protection for the cable itself. If possible, I would like to stuff all connections from the schematic into one connector. Is this even possible?

Addition: J5 Heater should carry around 3-5A. Should I maybe use Bvus and GND to carry this load and "abuse" another pin for GND (no load)?

Any help is appreciated!

\$\endgroup\$
1
  • \$\begingroup\$ This is only ok for self use if a) you assemble the cable yourself and b) make sure that no one tries to charge a phone from your fake-USB socket. It would probably kill any hardware that expects proper USB... \$\endgroup\$
    – Sim Son
    Commented Dec 30, 2021 at 17:24

2 Answers 2

4
\$\begingroup\$

When you find yourself wanting to use a common standardised connector for a non-standard purpose, stop. Don't do it. Pick a different connector, there are lots.

You will not be able to use standard USB cables for your design - you would have to make your own.


To answer your questions:

  • are the Vbus pins inside a USB-C receptacle physically connected already or is this happening on the PCB pins?

Not in the receptical, all of the pins are wired out seperately. But they might be in a cable.

  • Are the individual D- and D+ pins (for reverse polarity) A7 and B7 (A6 and B6 respectively) connected inside the connector?

Again, not in the receptical.

  • Are the wires inside a USB-C cable for D+ and D- connected already (2 wires inside the sleeve) or are these 4 individual wires?

All of the cables I have seen have only one pair of cables (2 wires) and not two pairs (4 wires). They are ususally wired up to one side of the plug (e.g. A side). For USB applications it is then up to the device to work regardless of which side of the connector is wired up

  • Same question goes for RX1/2 and TX1/2 (i.e.: is RX1+ physically the same wire as RX2+?)

That one is more complicated. There are at least four flavours of USB cable:

  • Power only - These have just the power pins and no data lines (though some might, it's complicated).
  • USB 2.0 only - These don't have any of the superspeed lines
  • USB 3.x - These typically have only two pairs of superspeed lines, one for Rx1p/n and one for Tx1p/n.
  • Thunderbolt compatible - These have four pairs of superspeed lines, seperate pairs for each of Rx1p/n, Rx2p/n, Tx1p/n, Tx2p/n

You also have to be careful of the fact that the Tx and Rx lines are crossed over in the cable (i.e. Tx at one end connects to Rx at the other end).

  • Addition: J5 Heater should carry around 3-5A. Should I maybe use Bvus and GND to carry this load and "abuse" another pin for GND (no load)?

Don't try and use the GND lines for anything other than GND. There is no telling how they are wired up in the cable itself, they may connect to the sheild, they will likely all connect together.

Furthermore the VBus line for USB cables will not necessarily be able to handle 5A.

All USB-C cables (assuming they conform to spec) are required to be rated for 3A (20V 60W PD). There is an optional 100W PD mode (20V 5A), however cables are not required to support it, and those that do have active electronics to identify that they support the higher power rating.

\$\endgroup\$
2
\$\begingroup\$

None of the pins in the USB-C connector are shorted together. They are individual pins. The ones with the same functions (Like GND, Vbus etc) gets connected to multiple pins on the PCB where the connector is mounted. You can use all 24 pins without any consideration of what their purpose is in USB if it's for a custom non-USB application.

Note the mating sequence though, that might be useful for you. Some pins are connected before others when the plug is inserted.

\$\endgroup\$
3
  • \$\begingroup\$ Thanks, that already helps. The mating sequence is not that important at this point. \$\endgroup\$
    – Royce
    Commented Dec 28, 2021 at 17:25
  • 1
    \$\begingroup\$ This only applies to this connector. If you buy a standard cable, standard plug, or another receptacle than this, all the GND pins and VBUS pins are mandated to be connected together for example. And B6 and B6 are mandated to be not present on the plug. \$\endgroup\$
    – Justme
    Commented Dec 28, 2021 at 17:53
  • 1
    \$\begingroup\$ There is also no guarantee that the cable you buy has every pin wired out - many USB-C cables only have two pairs of SS wires - so you end up not having connections on say the B side of the cable. \$\endgroup\$ Commented Dec 28, 2021 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.