Jump to content

Recommended Posts

This analogue stick popped up on ebay cheap so I grabbed it for a few quid. I was thinking I could maybe make a controller for my Vectrex so I have a spare / preserve my original one.

 

I don’t have much electronics experience, I’ve built a usb arcade stick for my PC but those are really just plug and play kits. If I’m honest I just bought this because I haven’t seen any other joysticks that seem to operate in the way the proper vectrex ones do :) I would want to maintain the authentic analogue approach.

 

Here’s the stick, my question is, can I use this for a controller build, and if so, can you recommend how to go about it? Thanks!

 

It has a 5k potentiometer on it, not sure what that is but maybe needs replacing?

 

IMG_4151.thumb.jpeg.363e124c4124afc08ce5af2c0519641e.jpegIMG_4152.thumb.jpeg.04ceb80768562d742cf3803dfd02734e.jpegIMG_4153.thumb.jpeg.a8351e748478cb966e777735b5bd5d85.jpeg

Edited by cheeko
Link to comment
https://forums.atariage.com/topic/364831-vectrex-controller-project-help/
Share on other sites

Two points:

 

1) 5K pot vs 10K pot: not a big problem. You can feed the two sides of each pot from a couple of voltage dividers, and build the voltage dividers using two of the small cheap trimpots rather than with fixed resistors, so that you can just tweak them to set the scale and to center the joystick accurately rather than have to work it out mathematically.  You're going to want the trimpots anyway just to ensure accurate centering of the joystick at 0,0 so might as well also use them for the voltage dividers on the inputs to your joystick module.  (Sorry, I don't have a specific diagram to hand, but basically its the same as the area at the top right of the diagram below, except that instead of using that digipot, you just use the joystick module (with PB0/PW0/PA0 being replaced by the joystick module's X pot, and PB1/PW1/PA1 being replaced by the joystick module's Y pot. All the other connections to that chip in the diagram are irrelevant when using a joystick module rather than a digipot)  So 4 trimpots plus your joystick module are all you need.  Easy to breadboard as a test.  Just make sure the trimpots are roughly in their center before you power it up so that you don't short +5 or -5 to GND. (I've done that on my Vectrex and it survived but I wasn't at all happy about it and would prefer to avoid the risk.)

 

 circuit.png 

 

Ignore the button part of that diagram (which is only relevant to the USB to Vectrex converter that I took the diagram from).  For a home-made controller you just connect the button wires through your button switches directly to the Vectrex ground wire.  You should probably should put a resistor in the path between each button and ground but it really isn't necessary.  It's cheap & hacky but it works. 

 

2) Since you have a USB joystick already - you might be able to build one of these https://gtoal.com/vectrex/joystick/USB-to-Vectrex.html on a breadboard and just use your USB joystick?  (We're also working on turning that into a PCB some time later this year.) Downside: it needs a Pi and some programming. Easy stuff if you're a programmer at all.  Not an option if you're not a programmer though.  The USB converter is basically the same circuit as what you need for your 5K joystick module except that the joystick is replaced by a single digipot chip - and a Pi to drive it.

 

Graham

PS The Vectrex test rom will help but I wrote this simpler joystick test code that you might find easier to use: https://gtoal.com/vectrex/joystick/AnaJoyTest.bin

 

Edited by gtoal
Added comment about the buttons.
  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...