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.
Commands in, your functions out
Your own commands
You link each command to a function in your sketch and decide what it means.
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.
Over the serial interface
Send the commands from the serial monitor or from your own program on the computer.
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.
In three steps
-
1
Download
Get the library as a ZIP file or from GitHub.
-
2
Install
In the Arduino IDE: Sketch › Include Library › Add .ZIP Library.
-
3
Try it
Open an example under File › Examples and look up the details in the documentation.
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.
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.