Let's Make Robots! | RobotShop

How to write a GCode interpreter for your CNC mill, 3d printer, or robot arm

reads gcode from the serial line, moves stepper motors

I've been playing with the Adafruit Motor Shield v2 for some upcoming projects. I wrote a simple Gcode interpreter. With this you can write commands on the serial line and the motors will respond correctly and in sync. It would be pretty easy from here to extend the system to work with up to 32 stepper motors.

The code is available at https://github.com/MarginallyClever/GcodeCNCDemo