How to Program an Arduino as a Modbus RS485 Master & Slave (

Learn how to create your own Modbus RS485 Master and Slave Device using the Arduino Uno Development System

Created by: Emile Ackbarali

Produced in 2022

What you will learn

  • Understand the Arduino Uno and RS485 Shield from a Hardware persepctive
  • Connect an Arduino RS485 Shield to an Arduino Uno
  • Connect an Arduino Uno to a Hitachi HD44780 LCD display
  • Use the Arduino IDE to develop applications for the Arduino Uno
  • Write an Arduino Sketch application to display messages on an LCD display
  • Write an Arduino Sketch application to implement a Modbus Master
  • Test an Arduino Modbus master using the Modsim32 Modbus slave simulator
  • Write an Arduino Sketch application to implement a Modbus Slave
  • Test an Arduino Modbus slave using the Modscan32 Modbus master application

Quality Score

Content Quality
Video Quality
Qualified Instructor
Course Pace
Course Depth & Coverage

Overall Score : 98 / 100

Live Chat with CourseDuck's Co-Founder for Help

Need help deciding on a arduino course? Or looking for more detail on Emile Ackbarali's How to Program an Arduino as a Modbus RS485 Master & Slave? Feel free to chat below.
Join CourseDuck's Online Learning Discord Community

Course Description

If you work in the Automation Industry, you will know that automation equipment is very expensive. And many a time, especially for small applications, you simply cannot justify the use of very expensive equipment.
This is where the Arduino comes in!
The Arduino development board allows you to create very simple, but very powerful, Modbus master or slave devices through the use of relatively simple "C" programming. With the Arduino, you have full custom control over the program design allowing you to create very lean and very efficient devices for very specific purposes.
Put simply, mastering Modbus on the Arduino is going to take your skill level and value in the Automation Industry to a whole new level.
That is what this course is going to do. At the end of the course, you will know how to:
1. Choose the appropriate Arduino hardware.
2. Interconnect Arduino hardware with other add-on hardware.
3. Write "C" applications to implement Modbus master and slave functionality.
4. Use software and hardware to test each application that you write.
All of the programs written in the course are freely downloadable and give you a perfect starting point for further development. At the end of the course, you will have the knowledge to create your own products, your own custom Modbus master and slave hardware.
Looking forward to seeing you on the inside!Who this course is for:
  • Electrical Engineers
  • Electrical Technicians
  • Electrical Tech or Engineering Students
  • Process Control Technicians and Engineers
  • Process Automation Engineers
  • Programmers working in the Process Automation field

*Some courses are excluded from this sale. Coupon not working? If the link above doesn't drop prices, clear the cookies in your browser and then click this link here.
Also, you may need to apply the coupon code directly on the cart page to get the discount.

Coupon Code

Instructor Details

Emile Ackbarali

I have been working in the fields of Software Development, Software Systems Integration and Process Automation since 1996. In 2003, I stepped out on my own and started working for myself providing software development and systems integration services to small and medium businesses.
I am also associated with a great company called Mora Systems Limited that under the leadership of it's Managing Director has produced innovative and outstanding products and services in the fields of GIS and Cellular based SCADA.
Teaching has always been a passion for me. I have taught at the tertiary level for many years on the subjects of programming, control systems as well as systems integration. In the last few years I found myself incorporating more and more videos into the curriculum with amazing results.
When I heard of uDemy I just could not help but sign up. With teaching in a classroom, you can reach only so many students, but with uDemy you can reach the world! I plan to publish and promote as many courses as I possibly can on the uDemy platform.



50 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

Very good explanation of each and every small detail regarding hardware and softwareit's worth a penny. keep growing

Emile mentions some important things here that are not necessarily related to Arduino, RS485, or Modbus but are critical to getting those three to work together. Three hours here saved me three weeks at least.

please add section :- real plc with audrino and sensor please

As the other two Modbus courses this one is too is very well organized and delivered. However I would like to have a bit more practical content, spatially for slave devices. For example reading data from a meter or more complex sensor then package and broadcast as Modbus slave device. Other then that, very well done. Excellent job!

Nice content.I didn't know the Modbus protocol before. but after taking this course, I have basic knowledge of the protocol.This course meets the expectations for Arduino/Modbus implementation.

I thought it was a great course, it is quite direct and simple. The objectives are met. Whoever takes the course, should consider having a prior knowledge because this course does not explain the theory, I recommend to take the master course mpodbus from the same instructor.I am very satisfied!

Good course, well explained.

It was so clear and easy to follow the teacher was engaging and it was also enjoyable and satisfying being able to code along .

Great course and a very involved teacher. We be purchasing more courses from Emile

By Paul on

Excellent. Exactly what I was after.


easy to understand