Minicom: serial communication
You can communicate directly with the ATmega2560 through the serial port using minicom. The serial port of the Raspberry Pi to use is always “/dev/serial0”, while the baud rate depends on the firmware running on he microcontroller.
If the RFLink firmware is running, use this command to open a connection:
pi@d-diot:~ $ sudo minicom -b 57600 -D /dev/serial0
Common minicom commands:
exit = press 'CTRL+a', then 'x' menu = press 'CTRL+a', then 'z' line parameters = press 'CTRL+a', then 'p'
To configure minicom:
pi@d-diot:~ $ minicom -s