How to Program an Arduino as a Modbus RS485 Master and Slave [Video]

By Emile Ackbarali
  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Introduction

About this video

Because of the high cost of the equipment, it has become difficult for people from the automation sector to get access to the automation equipment for working on small applications. This is where Arduino and this video course come into the picture. This course takes you through the Arduino development board and shows you step-by-step how to create simple, yet powerful Modbus master or slave devices using C programming.

The course introduces you to a list of hardware devices and software that you will use in this course. Next, you will use the Arduino IDE (Integrated Development Environment) to create and test your first Arduino Modbus master application. You will also learn how to modify the code to display the value of a variable on the LCD and how to use Modsim32 as a Modbus slave to run the application. Moving along, you will add code to read a holding register, input status, and coil. Next, you will learn the techniques required to configure Arduino to read and display data from a Modbus temperature sensor and write Modbus data to the slave. Finally, you will work with the Modbus slave Arduino library to implement the Arduino Modbus slave and test the read and write functionality.

By the end of this course, you will be well-versed with the Arduino Uno development system and will have developed skills to create robust Modbus RS485 and slave devices.

All the resources, supportive files, and reference links are available at https://github.com/PacktPublishing/How-to-Program-an-Arduino-as-a-Modbus-RS485-Master-and-Slave

Publication date:
January 2021
Publisher
Packt
Duration
2 hours 41 minutes
ISBN
9781801072960

About the Author

  • Emile Ackbarali

    Emile Ackbarali has been working in the fields of software development, system integration, and process automation since 1996. In 2003, he started his own business of providing software development and system integration services to small and medium businesses. Under the leadership of the Managing Director of Mora Systems Limited, he has produced innovative and outstanding products and services in the fields of geographic information system (GIS) and Cellular-based Supervisory control and data acquisition (SCADA). Teaching has always been a passion for him. At a tertiary level, he has taught programming, control systems, and systems integration for many years. In the last few years, he realized that incorporating more and more videos into the learning curriculum produces amazing results. So, he began the journey of creating educational online video courses as a medium to spread his knowledge across the world.

    Browse publications by this author
Book Title
Access this video, plus 7,500 other titles for FREE
Access now