Hello everyone,
I'll keep it simple and quick.
I've already read the different threads that talk about sending data in GCode from an Arduino but I want to be absolutely sure to understand everything, especially wiring and a little code.
A thread presents this schematic https://forum.duet3d.com/assets/uploads/files/1697735659312-duet3d-cnc-pendant-wiring.png
Does it allow you to connect the 6XD, its Panel I7 and the Arduino without an additional board and send it GCode?
In my case (large multi-axis CNC) I won't be able to slide an SD card onto the motherboard. So I need the second method of connecting the Panel with the “panel duet” port. (The only difference is that the Arduino is directly connected to the io_0 pin).
Another related question. About the code (I'm not the strongest on this side).
Arduino
void setup() {
Serial.begin(57600);
void loop() {
// Send Gcode exemple
Serial.print(g_code);
Will it be enough to send the information? (gcode is a text variable)
Duet 6XD Config.g
M575 P1 S0 B57600
Will it be enough to understand the information received?
Thank you in advance for your response.
To give more details: The goal is to create an ultra functional machine in “free access” of this fact to be able via a screen 10 inch touch connected to the Arduino to make a simple program for a fast and simple machining for all people. For example, you want to make 4 holes with 40mm and 110mm centres on a 500x500 plate, starting from the center. All you have to do is enter this information via a graphical interface, click on “ok” and you'll have your part back.