danilom
Fri 08 June 2012, 05:42
In the process of retrofitting my lathe to cnc, I am making a control panel which will be connected to the Arduino running modbus slave.
All the inputs and outputs will be accessible from Mach3 serial modbus. I am using Arduino Mega2560 with 54 digital input/output pins (of which 14 can be used as PWM outputs) and 16 analog inputs. Feedrate and Spindle speed will be availabe via 2 analogue inputs. Joystick movement of axis will not be implemented and no MPG I leave that to others to make improvements (I use pokeys for that on my mechmate) as the lathe will have MPG on LPT pins for best response.
If anyone is interested I will release the sketch (code) so Mechmate members can use it to create a pendant or control panel for their machine.
All the inputs and outputs will be accessible from Mach3 serial modbus. I am using Arduino Mega2560 with 54 digital input/output pins (of which 14 can be used as PWM outputs) and 16 analog inputs. Feedrate and Spindle speed will be availabe via 2 analogue inputs. Joystick movement of axis will not be implemented and no MPG I leave that to others to make improvements (I use pokeys for that on my mechmate) as the lathe will have MPG on LPT pins for best response.
If anyone is interested I will release the sketch (code) so Mechmate members can use it to create a pendant or control panel for their machine.