G Code Interpreter Development

A basic G-Code interpreter for PIC18 controllers

G Code Interpreter Development

Postby vegipete » Thu Dec 13, 2012 7:12 pm

It's been quite a long time in the making but my interpreter is finally getting close to being useful. I was using it previously to draw with a pen on paper with synthetic feedrates but now that real feedrates are working, it is already quite usable. There are a few more features I want to implement before general release but it's getting close.

The current version functions as a 2.5 axis machine. Z moves are performed before X and/or Y moves if they're together in the same block. Units can be inches or millimeters. Each axis can be individually calibrated for the number of steps per inch. Maximum step rate is near 100kHz - yes, one hundred thousand steps per second.
So far, only lines are done - no arcs yet.

Here's something silly done with it:

(The stepper driver in this video is the new THB6064AH driver from MassMind.)

Anyone have any specific requests?
Posts: 37
Joined: Sat Jul 09, 2011 7:38 pm

G Code Interpreter Development



Re: G Code Interpreter Development

Postby Embedded_robots » Sat Nov 16, 2013 12:20 pm


I'm trying to make a g-code interpreter on the PIC32. Could you possibly share the code? I'll be using it as a reference.

Thank you!
Posts: 1
Joined: Sat Nov 16, 2013 12:16 pm

Return to PIC18 G-Code Interpreter

Who is online

Users browsing this forum: No registered users and 1 guest