Testing Modbus RTU Communication on Raspberry Pi 3
libmodbus We have introduced it many times in our public account and application notes, regarding its download, compilation, installation, configuration, cross-compilation, etc. If you are unclear, you can refer to previous articles in our public account.
Classic example demonstration of Modbus TCP/IP
Today I recommend: libModbus
This article mainly involves testing the Modbus RTU mode. Regarding Modbus TCP/IP, it has also been pushed in previous articles. Because the hardware serial port and Bluetooth of the Raspberry Pi 3 are shared, some configurations and