Does anyone know what this cable is called?
I am using it to attach some arcade controls to my Raspberry Pi, but it broke and I need a replacement. I can't figure out what it is called so I can order a new one.
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
This is a USB pin header cable. You can order one on e-bay (though you'll probably want a longer one compared to what I have found), or salvage it from an old USB mouse or keyboard.
Measure the distance between the pins in the white connector. Usually, it's 2.54 mm (aka Dupont pin header), but it may be one of these:
In the latter case, it may be harder to buy a replacement, but googling for "USB pin header" together with the pin-to-pin distance should still work.
If the white plastic header didn't break, you can buy one that does NOT have the connector on the end, cut the wires from the old one near the end of the connector, leaving enough room, then solder and use heatshrink tubing over the cable to make it more robust....quick and easy.
In Chrome browser: Right click on your picture and choose "Search Google for image" - it returns a lot of results regarding Joystick cables and arcade games