Connect with us

Forgive me for I know not what I do....

Discussion in 'General Electronics Discussion' started by MichaelVanquish, Jul 3, 2015.

Scroll to continue with content
  1. MichaelVanquish


    Jul 3, 2015
    Hi there, I Googled for this, but since I am an absolute electronics novice, I don't even know what to type into Google so I didn't find an answer.

    The question is, I'm trying to make a simple switch. The problem I want it to solve is this: I have a commodore 64 with two 9-pin din joystick inputs and one joystick. The joystick will work in either port, but I want to make a switch so I don't have to unplug the joystick when I want to change ports, I just want to flick a switch, for convenience but to save wear on the important part too, the 64 itself.

    Is that explanation clear enough? Two input sockets, one joystick, a switch to choose which port it's connected too.

    I don't know what your 64 knowledge is like but I'm pretty sure not all 9 pins are relevant for a joystick with only five switches.... one for each cardinal point and the fire button. Here is a diagram:

    My basic idea is I should be able to buy two nine pin female din connectors, the kind you usually find on the plug end of a joystick lead, and one 9 pin male socket, the kind you usually find on the side of a 64. Between them I should be able to solder a switch which selects which port is connected to the joystick.

    My first problem is I don't even know the correct terminology: What's the name of a switch which reroutes nine lines in either one direction or another? Is there such a thing? And what's the name for a cable with something like 6 or 7 wires running through it?

    Mainly though, what do I need to do to make this little baby work??? :)

    Thanks in advance for any help you are willing to supply.

  2. Gryd3


    Jun 25, 2014
    I started eye-balling the ground and power pins on those pinout... Do you know if the pins are active high or active low?

    Depending on the behaviour of the wires, I would suggest using an IC and some logic instead of a 9 conductor switch... A simple switch could either enable or disable the IC (if it were a 'buffer') or work together with AND gates to route the button pushes.
  3. davenn

    davenn Moderator

    Sep 5, 2009
    before doing that,
    the first thing to do would be to open up the joystick and see exactly how many wires are in the cable going back to the din plug.
    It's 20+ yrs since I was repairing Commodore and Atari computers and unfortunately all my info has long since disappeared in my previous country of residence.
    But google is a wonderful thing ... typing in .... commodore C64 joystick wiring .....
    I came up with 100's of hits for circuit/connector info for the joystick port to refresh my memory :)

    The C 64 looks to be a 9 pin D- connector, not a DIN connector
    compared to the C16 which is a DIN connector

    so a 5pole 2 way switch would do the trick :) as you don't have to switch the ground

    Last edited: Jul 4, 2015
  4. Laplace


    Apr 4, 2010

    CDRIVE Hauling 10' pipe on a Trek Shift3

    May 8, 2012
  6. Gryd3


    Jun 25, 2014
    I'd say that entirely depends on if the ground between the two ports are common or not because the entire assemble will be connected to one or the other. Electrically if they are common, it won't matter which one is used will it?

    I think the only option is to switch the signal lines... either with a multi-pole switch, or an SPDT with some digital logic on a little board.

    Remember the op is wanting to use one joystick on both inputs of the console... so kind of like a KVM switch on a PC.

    CDRIVE Hauling 10' pipe on a Trek Shift3

    May 8, 2012
    Ha, I transposed what he wanted to do. I thought he wanted to use 2 joysticks on one console. Maybe I'm getting too much fresh air!

  8. Gryd3


    Jun 25, 2014
    I figured that's what you thought ;)
    And that can happen with too little fresh air, too much.little sleep, too much anything. Don't worry about it ;)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day