Serial Pass Through Driver

This driver is intended for use with the Arduino firmware based GCode Interpreter. With this driver, you need both the appropriate hardware and the appropriate Arduino firmware installed. The driver itself simply passes each GCode on to the Arduino over serial. The firmware is then responsible for parsing and executing the GCode itself. Obviously this is not an optimal solution, but this driver does work.

Driver Configuration

<portname> Element (optional)

This element specifies the serial port to use. In windows, provide COMXX where XX is the port number. In Mac / Linux, provide the path to the port (ie: /dev/tty.USB0)

If this element is omitted, it will default to the first serial port found.

<rate> Element (optional)

This element specifies the serial communication speed in baud. If it is omitted, it will default to 19200 baud.

<partity> Element (optional)

This element specifies the parity of the serial port. If it is omitted, it will default to N.

<databits> Element (optional)

This element specifies the databits of the serial port. If it is omitted, it will default to 8.

<stopbits> Element (optional)

This element specifies the stopbits of the serial port. If it is omitted, it will default to 1.

Example Configurations

Extremely simple:

<driver name="serialpassthrough"></driver>

Port name only:

<driver name="serialpassthrough">
    <portname>/dev/tty.USB1</portname>
</driver>

Port + Speed:

<driver name="serialpassthrough">
    <portname>/dev/tty.USB2</portname>
    <rate>19200</rate>
</driver>

Full configuration:

<driver name="serialpassthrough">
    <portname>COM1</portname>
    <rate>19200</rate>
    <parity>N</parity>
    <databits>8</databits>
    <stopbits>1</stopbits>
</driver>
Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.