Basically I'm building a paddle interface for a pong game. The
requirements are I am limited to 2 inputs (via keypresses to my PC, the
controllers are wired to a keyboard controller) + 1 input for fire
button. I understand how a rotary encoder works, using quadrature to
send a 2-bit signal so the software can tell what direction it was
turned. A pot instead sends resistance to a DAC which converts it to a
digital value, for exampe 8-bit would be a value 0-255. This takes up
too many inputs/keys on my keyboard (8 keys per paddle + 1 for fire),
whereas with wiring up my Atari 2600 driving controller I am able to
read it with 2 bits + 1 for fire. The problem with the driving
controller is the resolution is too low (16 pulses per rev) which means
you have to turn the thing a lot to move a little. The atari paddles
respond in such a way where less than 1 rev can move the paddle all the
way across the screen, so I am looking for a higher res encoder. I did
the math and need about 256 pulses per revolution. However even 128 bit
optical encoders such as
http://www.potentiometer.com/600.pdf
cost $50, and I need 2x that resolution.
Therefore building an interface for existing atari 2600 paddles using a
PIC controller which reads the pot value, and mimics quadrature, is a
cheaper solution. It's not as reliable as using an optical encoder
directly but my target cost is $5 a paddle. Anyway thanks for
listening.
Craig Yarbrough wrote:
> Atari PONG paddles just hang off one end of a 555 timer.Then the 555
> pulse gets measured into a up-counter IIRC.
>
> Still not sure what you're trying to do, but there are inexpensive
> 8-bit ADCs out there. Do you understand the difference between a wiper
> POT and a rotary encoder?
>
> You may try pinging Darren Harris and explaining to him what you're
> trying to do.
>
> - Craig