Arduino Software for RS485 support with collision detection and message handling capabilities