Hello Guest it is March 28, 2024, 07:25:23 PM

Author Topic: how to connect analog joystick to Mach4?  (Read 3404 times)

0 Members and 1 Guest are viewing this topic.

how to connect analog joystick to Mach4?
« on: September 17, 2016, 09:54:48 PM »
Any suggestions for how to connect a generic 2 axis analog joystick with a potentiometer for each axis to Mach4?

I'd like to use a joystick for jogging like this one: http://www.ebay.ca/itm/1PCS-2-axis-Joystick-Potentiometer-JH-D202X-R2-5K-ohm-2D-Joystick-/201463142585?hash=item2ee82398b9

I'm running an ESS and C25 BOB but I think I need some other input method for analog signals?

Leo
Re: how to connect analog joystick to Mach4?
« Reply #1 on: September 18, 2016, 03:57:57 AM »
Hi Leo,
I cant really help much but certain things are clear...

In order to use an analogue signal it will have to be converted to digital before Mach can use it.
On possibility is to use two ADC's (or one two channel) and communicate those values via Modbus.
The ADC's commonly used in microcontrollers are 12 and 14 bits and may therefore lack the resolution
you require. All in all this approach could be a major project.

I may be mistaken but I think HICON have an addon board which accepts two channels analogue. There may well
be others but I recall seeing that feature listed when I was surfing around.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Pedio

*
  •  200 200
    • View Profile
Re: how to connect analog joystick to Mach4?
« Reply #2 on: September 18, 2016, 12:26:00 PM »
Or you could use the Xbox plugin and controller.
Re: how to connect analog joystick to Mach4?
« Reply #3 on: September 19, 2016, 04:14:14 PM »
Thanks for your replies.

I see that the Pokeys57CNC has analog inputs so that's a possibility if I want to switch over to Pokeys from ESS.

https://www.poscope.com/product/pokeys57cnc/
« Last Edit: September 19, 2016, 04:16:30 PM by Durero »
Re: how to connect analog joystick to Mach4?
« Reply #4 on: September 20, 2016, 01:10:35 AM »
Has anyone ever used an ESS along with a PoKeys 57U for extended I/O?

I'm thinking that the 57U would give me the analog inputs I'm looking for along with a huge amount of future expansion while still using the ESS as the motion control device.

http://cnc4pc.com/pokeys-57-for-usb-with-terminals.html

Offline royce

*
  •  40 40
    • View Profile
Re: how to connect analog joystick to Mach4?
« Reply #5 on: September 22, 2016, 05:37:09 PM »
I'm 99% sure they can both be used. I have ESS and will be buying a Pokeys 57U for my future control panel.
Bridgeport Series 1 Rigid Ram Retrofitted w/PMDX126 BOB, PMDX107, Hitachi WJ200 VFD,ESS, Leadshine DM2282 Drivers running Mach4 comfortably.