Machsupport Forum
Third party software and hardware support forums. => Third party software and hardware support forums. => Topic started by: crob09 on April 08, 2012, 08:05:32 PM
-
Just wondering if anyone has Arduino working with Mach3, I have hunted high and low with no luck finding Firmware that will work. I am sure there is more than Firmware involved and if anyone knows I hope you can find the time to help me out.
I have a small mill that I would love to make work using Mach3, I don't have plans to run things very fast and have some ULN2003 drivers already.
Thanks for your time.
-
I am using Arduino with Mach3. Using Modbus sketch on Arduino Uno. How do you plan to use Arduino with Mach.
Zafar
-
Hi Zafar,
Do you use a FTDI cable to connect the Rx and Tx pins of the Arduino to Mach3?
Regards
-
I connect the arduino to the USB port and put the com port no. in Mach which is indicated in the arduino software.
Zafar
-
I tried that, but I keep getting "Cannot open port" error. Any ideas on why that might be?
Just some background on my project: I need to monitor and control Mach3 from a SCADA program, but I am unable to connect directly to SCADA via modbus, so I want to communicate Mach3 with the Arduino and then send serial data from my Arduino to SCADA.
-
I don't think arduino can communicate on two serial connections at a time. Which modbus sketch are you using on arduino.
Zafar
-
Correction! Arduino Mega can can have 4 serial communications. I haven't tried it yet. I guess you can run modbus on serial0 and SCADA on serial1. I have experimented so far with Arduino Uno only.
Zafar
-
I am using Arduino with Mach3. Using Modbus sketch on Arduino Uno. How do you plan to use Arduino with Mach.
Zafar
sorry it took so long to get back to you, I would like to use mach3 to output packets to the arduino and the sketch on arduino deciphers the packets and outputs to the drivers.
How do I specify the COM port?
How do I start the Sketch for Arduino?