Skip to content

RS-485 Library (Full Mesh, Multi-drop Bus) with Teensy3.5 which is 32 bit 120 MHz ARM Cortex-M4 processor with floating point unit

Notifications You must be signed in to change notification settings

jinparksj/RS485TEENSY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RS485TEENSY

RS-485 Library (Full Mesh (Multi-drop Bus)) with Teensy3.5 which is 32 bit 120 MHz ARM Cortex-M4 processor with floating point unit


1. Summary

  • It is designed for RS-485 communication in BUS terminating 120ohm resistors at each end.
  • It is originally designed to communicate two Teensy3.5 and six Arduino Mega.
  • Each Teensy and Arduino Mega have IDs, such as 0, 1, 2, ..., 7.
  • For example, first Teensy has ID 0 and first Arduino Mega has ID 1.
  • Based on the ID, each module takes serial packets and sends packet.
  • It has noise and error corruption filter based on ASCII number.
  • It has Parity Checker.

2. Important Notice

  • I tested 2M, 250K, and 9.6K baudrate. RS-485 communication with Arduino Mega and Teensy3.5 with 2M bps shows error.
  • Error at 2M bps seems to be caused by Arduino Mega.
  • 250K bps seems fine and shows optimized results with 24-hrs testing in vulnerable conditions.

About

RS-485 Library (Full Mesh, Multi-drop Bus) with Teensy3.5 which is 32 bit 120 MHz ARM Cortex-M4 processor with floating point unit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages