controlling arduino to operate a servo motor
-
This might be a very long shot but I was wondering if I can control an arduino using a duet2wifi. What I want to do is have Duet report the Y coordinates and which tool is selected as the output and feed that information t the arduino to run an IF command.
-
@tekstyle M114 reports the current position of all axes and "T" reports the currently selected tool so the Arduino can "poll" for these values.
How do you intend to connect the Arduino to the Duet?
t Tool 0 is selected M114 X:0.000 Y:0.000 Z:394.697 E:11.015 E0:15095.3 Count 64841 64841 64841 Machine 0.000 0.000 395.397 Bed comp -0.046
-
not sure. but I read that it can be connected through the paneldue port.
-
@tekstyle
What is it the you need the arduino to do that RRF can't?
You can use conditional g code to do your IF statements and can control a servo.