›Arduino library

Text commands for your Arduino

SebisSerialInterpreter reads commands made of letters and numbers, like G1 X10.5 on 3D printers and CNC machines, and calls your own functions for them. You decide what a command does.

Free MIT license Open source
01What it does

Commands in, your functions out

01

Your own commands

You link each command to a function in your sketch and decide what it means.

02

Familiar from G-code

Lines like G1 X40 Y10 look like the G-code of a 3D printer, but you are not tied to G-code: you choose the letters.

03

Over the serial interface

Send the commands from the serial monitor or from your own program on the computer.

02Uses

Where it fits

Plotters and CNC
Handle text commands in your own plotter or CNC project.
Robots and camera rigs
Move a robot arm or a camera slider from the computer.
Test benches and prototypes
Control a setup with plain text instead of inventing a protocol of your own.
Teaching
A small, readable example of how machines understand commands.
03Get started

In three steps

  1. 1

    Download

    Get the library as a ZIP file or from GitHub.

  2. 2

    Install

    In the Arduino IDE: Sketch › Include Library › Add .ZIP Library.

  3. 3

    Try it

    Open an example under File › Examples and look up the details in the documentation.

04Documentation

Everything in detail

The documentation on GitHub covers installation, the accepted input and every function. It is kept in the repository, next to the code.

05FAQ

Frequently asked questions

Is the library free?
Yes. It is open source under the MIT license, also for commercial projects.
Do I have to use G-code?
No. You decide which letters the library reacts to and what they mean.
Which boards does it run on?
It is written for the Arduino platform. The documentation says what has been tested.
Where do I report a bug?
On GitHub under Issues, or by e-mail to support@giit.ch.