Welcome! Log In Create A New Profile

Advanced

How to send G-Code to the Arduino? (building an autosampler)

Posted by ysubmarine 
How to send G-Code to the Arduino? (building an autosampler)
October 24, 2016 05:53AM
Hi people,

for my master thesis im am planning to build an autosampler to take samples from a chemical reactor.
I want to use the Prusa i3 as a simple xyz autosampler, without using the extruder etc. The goal is to control the movements by simply sending G-Code as a STRING to the Arduino via labVIEW interface.
But i dont really know how to do that. Im pretty new to Controling machines.
I need the Arduino to behave like an independent, self running G-Code receiver. I sent G-Code to the Arduino and the Steppers move me to where i want. The rest of the programming is done in labVIEW.
Do you know how Marlin works with that? Can i just send G-code as string to the arduino with some sort of serial interface (e.g. USB - RS232)?
If yes how do i have to set up the Arduino to connect to my labVIEW? I know there is a labVIEW interface for connecting to the Arduino (Ni LIFA) but im not sure if the Arduino understands if i just send a String with the g-code.
So how do i best setup a system like that?

Greetings, ysubmarine
Sorry, only registered users may post in this forum.

Click here to login