CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] XY joystick jogging

Posted by Brian Pitt
on 2001-04-04 12:14:07 UTC
On Wednesday 04 April 2001 07:29, you wrote:
> How do you use the game port for a shaft encoder? Please give a little
> more detail. I can't picture this.
>
> Tom

if you take a joystick/gamepad and work the buttons like so
push&hold button1
push&hold button2
release button1
release button2
youve just walked it thru one quadriture cycle (4 states/counts)

you could do the same thing with 2 roller lever microswitches and
a 25 tooth timing belt pulley as the encoder weel to get 100 states/
counts/rev and 100 detent positions/rev

add a little bit of code to read the bits on the game port in the
CNC programs jog mode and you have a jog handweel

Brian

Discussion Thread

Doug Fortune 2001-04-03 17:34:37 UTC XY joystick jogging Alan Marconett KM6VV 2001-04-03 18:31:21 UTC Re: [CAD_CAM_EDM_DRO] XY joystick jogging Tom Eldredge 2001-04-04 07:33:08 UTC Re: [CAD_CAM_EDM_DRO] XY joystick jogging Brian Pitt 2001-04-04 12:14:07 UTC Re: [CAD_CAM_EDM_DRO] XY joystick jogging Alan Marconett KM6VV 2001-04-04 15:44:08 UTC Re: [CAD_CAM_EDM_DRO] XY joystick jogging Tom Eldredge 2001-04-05 03:51:01 UTC Re: [CAD_CAM_EDM_DRO] XY joystick jogging