RS485HwSerial

Enhanced Arduino serial library with RS485 transmit enable control.

Author
Frank Sautter,Nicholas Zambetti,David A. Mellis,Mark Sproul,Alarus,Matthijs Kooijman
Maintainer
Frank Sautter
Website
https://github.com/sauttefk/RS485HwSerial
Category
Communication
License
GPL 3.0
Library Type
Contributed
Architectures
avr

RS485HwSerial controls the transmit enable pin TE on half-duplex RS485 transceivers by utilizing the USART transmit complete interrupt USART_TXC_vect to disable the TE pin when the last stop bit was sent. Therefore the RS485 bus is only occupied as short as possible without blocking the code execution in the main loop.

Downloads

Filename Release Date File Size
RS485HwSerial-1.1.0.zip 2019-02-12 30.27 KiB
RS485HwSerial-1.0.0.zip 2019-02-08 30.16 KiB