This module allows you to open a serial port on your machine to communicate with hardware devices over RS-232 (serial communication). Lets you receive in a text string format ( ASCII ) and send values (text strings, array and MIDI/firmdata) .
Several Arduino examples are included (See serial module examples page for more infos.):
If you need to know your device serial port number to use this module:
Sets here the port used by your serial device.
Data transmission rate (bits/second), must be the same as your serial device (in your arduino code for example).Tested with standard baudrates 9600, 57600, 115200.
Determines the delimiter value: when this value is reached your buffer is stored (in a circular loop similar to the circular record mode of the sampler)
Connect the module to the serial port (must be switched twice)
Confirm the connection
Used to send 8-bit character strings data to the serial port, see send switch command to arduino example.
Used to send array data to the serial port.Values cell values must be in the range of 0-255.
Used to send MIDI/Firmdata to the serial port.Takes an incoming MIDI message and send it as a 3 bytes message without the channel information over the serial port. The channel information is ignored. This is a special format for the FIRMATA protocol.
Clear the buffer, useful, for example when you turn the module OFF, then ON again
Indicates a data overflow
Experts: serial protocol used:
Trace in the Usine console for debugging: