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.