ivop Posted September 24, 2014 Share Posted September 24, 2014 Recently I acquired a couple of these PS2 style analog sticks: I thought it'd be fun to wire them up as a digital stick for the Atari. Here's what I came up with: Thought this might be of interest to some of you They can be bought dirt cheap from http://www.banggood.com/PS2-Game-Joystick-Module-For-Arduino-p-76465.html Currently I'm busy getting the stick to actually work as an analog stick (pin 5 and 9 for left/right and up/down). Paddle controllers have a way higher resistance, so wiring it up directly as a pot gives way too little range (2 - 4 - 6) and basically keeps it digital. I tried an optocoupler which increases the sensitivity somewhat but is extremely non-linear. Perhaps a LED/photoresistor combo will work better (and it's cheaper ). Anyway, this could result in a 5-button analog stick, switchable to a 1-button digital stick 2 Quote Link to comment Share on other sites More sharing options...
foft Posted September 24, 2014 Share Posted September 24, 2014 (edited) Perhaps you could add a capacitor to slow down charging. More charge for pokey to dump, but hopefully will be ok! Or perhaps do something like the touch tablet, It appears like it has a delay circuit and drives the pot input high after a delay. Edited September 24, 2014 by foft Quote Link to comment Share on other sites More sharing options...
ivop Posted September 24, 2014 Author Share Posted September 24, 2014 Thanks! I totally forgot that pokey discharges after every "scan". I thought adding a capacitor would mean pokey would measure the speed at which the stick was moved and then have the measured value go down again, but it's not. Anyway, adding about 1 uF non-polarized between the wiper and the end of the pot that has 5V connected to it and connect the wiper to one of pokey's analog pins increases the range to 1-27-60 (left/mid/right). 27 is still fairly "in the middle". Increasing the capacitance more does not help much further. It mostly increases the upper limit and the non-linearity going right. Quote Link to comment Share on other sites More sharing options...
rockdoc2010 Posted June 28, 2021 Share Posted June 28, 2021 I bought the same stick and broke it out! it is not a digital stick! Atari consumes the resistance values and corrects them to Atari digital figures. I have already broke this stick out. All joystick values are analogue?? Quote Link to comment Share on other sites More sharing options...
ivop Posted June 28, 2021 Author Share Posted June 28, 2021 (edited) Not sure what your question is, but it's indeed not a digital stick. It's analog. With the 10K resistors, it emulates a digital stick for up/down/left/right. I also (not published) connected it to the POT inputs, i.e. the analog inputs that meassure current by charging a capacitor each scan cycle. With a proper external capacitor, you have a range of about 1-60 on both pots (up/down and left/right). Edited June 28, 2021 by ivop Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.