<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>How to send G-Code to the Arduino? (building an autosampler)</title>
        <description> 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</description>
        <link>https://reprap.org/forum/read.php?406,716750,716750#msg-716750</link>
        <lastBuildDate>Wed, 15 Jul 2026 06:48:48 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?406,716750,716750#msg-716750</guid>
            <title>How to send G-Code to the Arduino? (building an autosampler)</title>
            <link>https://reprap.org/forum/read.php?406,716750,716750#msg-716750</link>
            <description><![CDATA[ Hi people,<br />
<br />
for my master thesis im am planning to build an autosampler to take samples from a chemical reactor.<br />
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.<br />
But i dont really know how to do that. Im pretty new to Controling machines.<br />
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.<br />
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)?<br />
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.<br />
So how do i best setup a system like that? <br />
<br />
Greetings, ysubmarine]]></description>
            <dc:creator>ysubmarine</dc:creator>
            <category>Prusa i3 and variants</category>
            <pubDate>Mon, 24 Oct 2016 05:53:44 -0400</pubDate>
        </item>
    </channel>
</rss>
