Skip to content

RS-232

The Pigeon RB700 Essence and Standard models have one RS-232 port. By default, the RS-232 serial port is configured to be used for the console.

The following parameters are required to connect to the Pigeon console:

  • Baud rate: 115200 bps
  • Data Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Flow Control: none

The RS-232 port is available in Linux as /dev/ttyAMA0 or /dev/ttyRS232-1.

Useful commands

Check the RS-232 port settings:

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

Send data via the RS-232 port:

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

Read data from the RS-232 port:

$ cat /dev/ttyRS232-1

Disable RS-232 port console

To use the RS-232 port for communication with other devices, the serial console login must be disabled. The easiest way to do that is to use raspi-config:

  • run raspi-config,
  • navigate to Interface Options,
  • navigate to Serial,
  • select "No".

Warning! After a reboot, the serial console will no longer be available, so the only way to access the login shell will be via SSH. You need to know the Pigeon’s IP address.

Using picocom for Serial Communication

To install picocom, run:

$ sudo apt install picocom

To open a serial connection using picocom, run the following command:

$ picocom -b 115200 /dev/ttyRS232-1
  • -b 115200 sets the baud rate to 115200.
  • Replace /dev/ttyRS232-1 with the appropriate serial device.

Notes: To exit picocom, press Ctrl-A, then Ctrl-X.