How to Program an Arduino as a Modbus TCP/IP Client and Server [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

Are you finding automation devices expensive? Do you want to create your own Modbus client or server devices? This course will familiarize you with the Arduino development board and teach you how to use the Arduino integrated development environment (IDE) and C programming for creating your own automation equipment.

You will start by exploring hardware devices and software that you will be using in this course. Next, you will learn to use the Arduino IDE to create and run your first Modbus Transmission Control Protocol (TCP) server application and learn how to add code on your application to read a holding register, an input status, and a coil. Towards the end, you will learn to program the Arduino to behave like a Modbus TCP client by configuring the client library in the Arduino IDE and writing the code to read the Modbus register types. You will also learn how to test the expanded Modbus TCP client application.

By the end of this course, you will have all the skills needed to create your own Modbus TCP/IP client and server device using the Arduino Uno development system.

The code bundle for this course is available at

Publication date:
January 2021
2 hours 6 minutes

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