Controlling 8 Channel Relay Board Using Modbus Protocol and Arduino Uno As Slave

by rupjit81 in Circuits > Arduino

691 Views, 3 Favorites, 0 Comments

Controlling 8 Channel Relay Board Using Modbus Protocol and Arduino Uno As Slave

20230724_191856.jpg

In this design Im going to show how to control 8 channel relay board using Modbus protocol. Im using Arduino Uno as a slave device in this project.

PC based software Modbus Poll is the master and it is giving command to the Arduino uno. Arduino Uno will process the command and trigger the relay.

Supplies

  1. Arduino uno 1 pc
  2. 8 channel relay board 1 pc
  3. Vero board 1 pc
  4. Jumper wires
  5. Modbus Poll software Download (modbustools.com)

Modbus write command implementation on relay board controlled by Arduino Uno
Modbus write command on relay board controlled by Arduino Uno
20230724_191901.jpg
20230724_191908.jpg
20230724_191921.jpg
20230724_191926.jpg
20230724_192016.jpg
20230724_192037.jpg
20230724_192039.jpg
20230724_192054.jpg
20230724_192104.jpg
20230724_192113.jpg
20230724_191856.jpg
20230724_191858.jpg

Modbus Poll software is the Modbus master in this project. This is installed in a PC. This software transmits Modbus frame to control the Arduino Uno. The Arduino Uno being a slave device verifies the address, task and gives command to the relay board.

This is a tested project.

Software, circuit diagram, photos and videos are attached.