Armin Rehberger
Member
Example programs for RS485 communication between Raspberry Pi 3 B and Teensy4.0
Communication is started by typing a character in the serial monitor of the Arduino software (Setting with no line end).
ASCII Example:
End character = LineFeed \n
Raspberry: A_RS485.py
Teensy: A_RS485_Teensy.ino
Decimal Example:
Communicates a fixed amount of Bytes.
Last two Bytes are usede for CRC16 checksum.
Raspberry: B_RS485.py
Teensy: B_RS485_Teensy.ino
https://github.com/ArminRehberger/RS485-communication-Raspberry-Teensy4.0
Communication is started by typing a character in the serial monitor of the Arduino software (Setting with no line end).
ASCII Example:
End character = LineFeed \n
Raspberry: A_RS485.py
Teensy: A_RS485_Teensy.ino
Decimal Example:
Communicates a fixed amount of Bytes.
Last two Bytes are usede for CRC16 checksum.
Raspberry: B_RS485.py
Teensy: B_RS485_Teensy.ino
https://github.com/ArminRehberger/RS485-communication-Raspberry-Teensy4.0