G-code directly in Arduino.
- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Shop › Forum › Makelangelo Polargraph Art Robot › G-code directly in Arduino.
Have generated G code for the triangular coordinate system. Is there a tool to implement this G code directly in the sketch and send Arduino (bypassing Michelangelo). And start drawing! This can be implemented?
GCode can be sent directly from Arduino Serial Monitor as long as you have “newline” option set.
It is not the recommended method, as serial errors can cause accidents.
Generate some gcode in the Makelangelo software and you will see two lines at the start that are unique to the machine:
M101 T45.5 B-45.5 L-45.5 R45.5 I1 J-1;
D1 L3.2 R3.2;
These vary from machine to machine. Copy yours to the start of the gcode file to make sure your machine runs correctly.
What kind of checks and balances would you have to implement to get around the serial errors? What are the most important systems that the Makelangelo software does in serial if one wanted to port that over to a processing sketch or automated script of some sort?