Howdy, I had an itch to use an OEM 2600 joystick on old 4-way games in MAME like pacman and dkong. What's the current best/preferred way to interface the db9/serial connector with a USB port? I imagine a bog standard rs232 to USB wouldn't do it. Thanks -
Atari 2600 joysticks are really easy to hook to your choice of USB encoders.

- I'd probably use a 32u4 Arduino like the Pro Micro with a gamepad/joystick firmware and a 3d printed case. YMMV.
1. Get a DB-9 M-F extender cable -- make sure it's "straight through" NOT a "null modem" cable.
https://www.amazon.com/StarTech-com-Black-Straight-Through-Serial/dp/B00A6GIUNC/?th=1https://www.amazon.com/YCS-Basics-Serial-Female-Extension/dp/B009WUPS92/?th=1https://www.amazon.com/JoFong-Controller-Extension-Classic-Console/dp/B09T3K9H4V/?th=12. Cut off the female end.
3. Peel back the outer insulation and strip the wires.
4. Use your multimeter to find which male pin on the extender cable goes to which wire.
5. Attach wires 1, 2, 3, 4, 6, and 8 to your encoder.
- Pin 8 is the common ==> ground on an IPac/Arduino
or the outer row of pins on a ZD encoder. Since the outer pins on a ZD encoder are all tied together, you'll only need to connect one of the outer pins to pin 8 and the PCB in the joystick does the rest. Most ZD encoders are "active high" devices so the outer pins are tied to 5v --
do not connect any of them to the outer shielding on the extender cable.
Scott
EDIT: Added several more cable links. The three linked cables have all 9 pins wired per either the product description or a user review.