Main > Main Forum
Help with wiring Steering Wheel Pots: A-Pac
Marsupial:
--- Quote from: BadMouth on September 22, 2010, 07:32:27 pm ---
Always the same result in the gamepad calibration screen.....
It tracks fine until it gets to 255, then it jumps back to the beginning, then it loops through a second time, then it gets almost halfway through a third trip, then freezes at the midpoint (128).
--- End quote ---
that's called rollover - you overpass the bit limit (255 decimal is 11111111 - if you have only 8 bits of data, 255 + 1 = 0!)
Maybe the 100k isn't all used by the joystick? if the values are too big for this controller, it'll send too high data for the driver to understand.
try a 30k pot or a 10k pot.
BadMouth:
--- Quote from: esoteric_rt on September 22, 2010, 08:30:11 pm ---This is strange issue I am having, to explain it further - when the wheel is turned to the left slightly it goes straight to the full value of the pot, the same when turning right.
--- End quote ---
Do you have pots wired up besides the wheel? (pedals?)
Are they behaving the same way?
--- Quote from: Marsupial on September 22, 2010, 08:48:37 pm ---that's called rollover - you overpass the bit limit (255 decimal is 11111111 - if you have only 8 bits of data, 255 + 1 = 0!)
Maybe the 100k isn't all used by the joystick? if the values are too big for this controller, it'll send too high data for the driver to understand.
try a 30k pot or a 10k pot.
--- End quote ---
Thanks for the reply. I appreciate it. :cheers:
I probably never would have come accross the rollover thing on my own.
I thought about trying a 30k pot though (hey, if it only works 1/3 of the way, only use 1/3)
I'll probably pick up one tomorrow and tinker with it for the learning experience.
Doubt I'll swap out the ones in the gun as it looks like it would be a PITA.
Everything I came across in researching this said the old joysticks were 100k though.
Seems odd to be off by more than 3x. I'm wondering if there is some other step that I'm missing.
I have a couple old joysticks that I bought to play Virtual On with, but I'm not liking the analogue feel.
Maybe I'll tear one apart and wire these pots to it and see what happens.
BadMouth:
Was doing a little research at work and might have figured out a few things.
I found an article where someone hacked one of the joysticks I have.
There are no components inside it but the buttons and two variable linear resistors...100k ::)
There are only two wires going to each resistor.
The joystick works fine with the gameport adapter, so it has to be something in my wiring.
Then I found this diagram:
It doesn't appear that there is any ground whatsoever on the pot circuit.
Is this the right way to wire it?
I thought I had tried it this way once and it behaved like a digital joystick.
Maybe I just went by the gamepad screen and didn't bother trying to calibrate it.
(I'm sure I'll find out when I get home from work, but it would be nice to know that I'm on the right track)
EDIT: Got home and wired it like the above diagram. Works fine now. There is a little dead zone toward the end of the pot, but the guns don't have a real wide range, so hopefully it won't affect anything.
:angry: my newbness!
Navigation
[0] Message Index
[*] Previous page
Go to full version