I want to connect two PCBs with four wires: VCC, GND, 2x I2C. Which connector is best suited for this application? I was thinking about an USB connector (and wire), but I am not sure if that is the best possibility. Therefore I wanted to ask if there are better connector types than USB for this application? VCC is 5V.
-
4\$\begingroup\$ Do not use USB connector for non-usb signals. It will confuse people. Any simple connector will do, unless you have some high currents. \$\endgroup\$– Eugene Sh.Jan 27, 2015 at 16:58
-
1\$\begingroup\$ What do you expect from your connector: A huge number of mate/demate cycles? Low price? Mechanical stability? Low contact impedance? Small size? Ease of mate/demate? Pre-made cables available? Stackable? etc. \$\endgroup\$– Wouter van OoijenJan 27, 2015 at 17:04
-
1\$\begingroup\$ A JST XH or PH connector should work for most cases. \$\endgroup\$– Ignacio Vazquez-AbramsJan 27, 2015 at 17:05
-
1\$\begingroup\$ I use MTA100 for I2C at work, which is 2.54 mm pitch like what Ignacio suggested. Really depends on what current you'll be pulling, what gauge wire you're using, etc. \$\endgroup\$– I. WolfeJan 27, 2015 at 17:05
-
1\$\begingroup\$ @EugeneSh. makes an important point. If you use a USB connector, someone will eventually connect it to an actual USB hub (or other USB device)!! \$\endgroup\$– bitsmackJan 27, 2015 at 17:11
3 Answers
Some I2C interfaces on the market (MCC iPort for instance) use AMP 4-1761206-1 connectors, for which pre-fabricated cables are readily available.
You could also go with RJ-11 if you're not worried about shielding (as long as no one connects your board to the PSTN...)
I use this type of flat cables. They are reliable to use.
My go-to solution for something like this is just female headers on the board, ribbon cable with male headers soldered on for the cable. I will often use an extra pin clipped off with the hole in the female header plugged with a piece of wire. This keeps me from plugging it in backward.