Modbus RTU Master With Arduino in 5 Minutes Part 1
by Jhon_Control in Circuits > Arduino
42783 Views, 13 Favorites, 0 Comments
Modbus RTU Master With Arduino in 5 Minutes Part 1
![Arduino modbis 5 minutos.jpg](/proxy/?url=https://content.instructables.com/FL8/LXS2/ILV8GH9K/FL8LXS2ILV8GH9K.jpg&filename=Arduino modbis 5 minutos.jpg)
![Arduino Modbus - PC.jpg](/proxy/?url=https://content.instructables.com/FQN/M4SF/ILV8FBQD/FQNM4SFILV8FBQD.jpg&filename=Arduino Modbus - PC.jpg)
![frame.JPG](/proxy/?url=https://content.instructables.com/FI2/7U9Y/ILV8FBTM/FI27U9YILV8FBTM.jpg&filename=frame.JPG)
![20160320_202700.jpg](/proxy/?url=https://content.instructables.com/FZA/NYE8/ILV8FVAU/FZANYE8ILV8FVAU.jpg&filename=20160320_202700.jpg)
I start with the following question Arduino can be used in industrial aplicaiones? of course, using a common protocol used in the industry called Modbus Serial RTU in this case configured as Master.
MODBUS communication is done by sending the value of A0 (ADC0) 10 modbus records using a potentiometer 100k variation is performed.
Has implemented the library created by smarmengol, I have made changes to make reading and writing 10 registers 10 records.
More info:
Blog PDAControl English
Components and Materials Required for Testing
![20160320_215017.jpg](/proxy/?url=https://content.instructables.com/FA3/JGY3/ILV8FC6I/FA3JGY3ILV8FC6I.jpg&filename=20160320_215017.jpg)
![escritura de registros.jpg](/proxy/?url=https://content.instructables.com/FOW/DTLV/ILV8FQCP/FOWDTLVILV8FQCP.jpg&filename=escritura de registros.jpg)
![20160320_224435.jpg](/proxy/?url=https://content.instructables.com/F7R/Q4ER/ILV8FBIA/F7RQ4ERILV8FBIA.jpg&filename=20160320_224435.jpg)
Components and materials required for testing
It was used PyModSlaveQt simulator. created in python for debugging registers and oled display is used to view the variation in the value of the registers.
Test Complete
![Arduino Master Modbus In 5 Minutes .... : PDA_Control](/proxy/?url=https://content.instructables.com/F88/ZEB3/ILV8GGJ8/F88ZEB3ILV8GGJ8.jpg&filename=Arduino Master Modbus In 5 Minutes .... : PDA_Control)
Proyect Complete:
Blog PDAControl Arduino Modbus RTU MASTER
Git Hub Code Arduino
Channel Youtube JhonValenciaPDAcontrol
More info:
Blog PDAControl English