Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: RS485 communication Raspberry Pi 3 B to Teensy4.0

  1. #1
    Junior Member
    Join Date
    Jan 2022
    Location
    Germany
    Posts
    4

    RS485 communication Raspberry Pi 3 B to Teensy4.0

    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/RS...erry-Teensy4.0

  2. #2
    Junior Member
    Join Date
    Jan 2022
    Location
    Germany
    Posts
    4
    Added a decimal Example with automatic flow control:

    Communication is started automatically.
    Communicates a fixed amount of Bytes.
    Last two Bytes are usede for CRC16 checksum.
    Raspberry: D_RS485.py
    Teensy: D_RS485_Teensy.ino
    Example D: Reached baudrate 500000 bits/s, 0.0002% error

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •