Skip to content

RS-485

The Pigeon has two RS-485 ports. The RS-485 ports are available in Linux as '/dev/ttyRS485-1' and '/dev/ttyRS485-2'.

Useful commands

Check the RS-485 port settings:

$ stty -a -F /dev/ttyRS485-1 

Send data via the RS-485 port:

$ echo "test" > /dev/ttyRS485-1 

Read data from the RS-485 port:

$ cat /dev/ttyRS485-1 

Serial communication

For serial communication tool usage instructions, see tio.