Reinventing Modbus Protocol

Round Table [CDC Saal 3]
Despite being a relic from the 70s, Modbus is still widely used in home and building automation applications due to its simplicity and interoperability. It is also extremely cheap to implement in hardware, making it a common choice for most related DIY projects. Unfortunately, due to its client-server architecture, the central controller of an installation must resort to polling to retrieve data and events from end devices. For some devices, like motion detectors or simple wall switches, this results in a significant delay between user input and the corresponding action. In short, Modbus installations can be terribly slow.
What we will demonstrate at the workshop is how to overcome this limitation of the protocol. This extension, known as 'fast Modbus,' employs clever tricks to achieve guaranteed 50ms latency while remaining completely compatible and relatively easy to implement. Bonus point: we can now scan the RS-485 line for devices in just a couple of seconds. We will discuss the underlying theory of operation and then try it in action. We will observe the data on the RS-485 bus and attempt to send some bytes manually to achieve the same results. The hardware aspect is quite straightforward, and we will primarily focus on bytes, so don't be scary of it. Consider bringing your laptop.

Additional information

Type other
Language English

More sessions

12/27/23
House
Join us for a cozy, un-ceremonial opening of the House of Tea! Come and chill, learn how to help yourself with the tea and share it, and/or ask any questions about the project, helping, and how you already are part of it! :)
12/27/23
Kidspace - Workshopraum in Saal B
### Eine pädagogische Einführung in das beliebte Computerspiel mit Minecraft Education. Wolltest du schon immer einmal wissen, was es mit Minecraft auf sich hat und würdest gerne herausfinden, ob du dich in dieser digitalen Sandkiste wohlfühlst? Unser 2-stündiger Workshop bietet AnfängerInnen jeden Alters das passende Umfeld, um das beliebte Spiel in Ruhe kennenzulernen.
12/27/23
Chillout Lounge
https://soundcloud.com/jeanette-tr-sbien/0116a
12/27/23
Stage Y
https://pretalx.c3voc.de/37c3-haecksen-workshops-2023/talk/GN9LDH/
12/27/23
Sendezentrum Assembly
Eröffnung der Sendezentrum Assembly
12/27/23
Pseudoroom
Wer nicht Chefredakteur einer großen Zeitung ist, kann auf andere Art die öffentliche Debatte vorantreiben: Kommunikationsguerilla im öffentlichen Raum schafft Erregungskorridore, an denen die öffentliche Debatte aufgehängt werden kann. Wir haben den Hergang verschiedener vergangener Projekte, kleinere wie größere, rekonstruiert und geben Tipps zu Theorie und Praxis.
12/27/23
Saal E
Just one sign switched and all of physics changes: Moving objects lose kinetic energy instead of gaining it and radiating objects get hotter instead of colder. Infinite velocity and infinite temperature are no longer impossible. Stars look like rainbow-colored lines instead of white dots and turning your arrow of time around into your own past is just as easy as turning from left to right. In this talk, we will explore the physics in a spacetime with signature (+,+,+,+) as presented by Greg Egan ...