CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] XY joystick jogging

on 2001-04-04 15:44:08 UTC
Hi Tom,

I didn't even draw up a schematic for it, it's that simple! I use the
+5 and ground from the DB15 connector to power the encoder, the ENC A
and ENC B wires out of the encoder go to the A and B switches for the
1st joystick.

Read the "port" for the joystick, return the lower four bits, which are
the four switches.

The two bits for the encoder are watched in a loop, and as the edges
change through their quadrature cycles, CW or CCW "steps" are
recognized.
On each CW or CCW "event", you do something (like issue step pulses)!

Alan KM6VV


Tom Eldredge wrote:
>
> Alan,
>
> How do you use the game port for a shaft encoder? Please give a little more
> detail. I can't picture this.
>
> Tom
> ----- Original Message ----- >
>
> Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the discussion of shop built systems, for CAD, CAM, EDM, and DRO.
>
> Addresses:
> Post message: CAD_CAM_EDM_DRO@yahoogroups.com
> Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...
> Moderator: jmelson@... timg@... [Moderator]
> URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> bill,
> List Manager
>
> FAQ: http://www.ktmarketing.com/faq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

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