September 2018
Intermediate to advanced
412 pages
11h 12m
English
In this section, we will try to build a simple IoT application for sending data from a sensor simulator module to a receiver device (a PC or a cloud), using a Raspberry Pi hub and the Modbus protocol:

For devices with limited hardware resources, it makes sense to use the Modbus protocol for serial communication. While simple, it has several open and proprietary implementations that vary in functionality.
Note that this protocol can be used on the transport layer, but, in our example, we are going to use Modbus TCP, working on the application level.
In ...