Modbus RTU Master With Arduino Via RS232

About: Share - Learn - Makers. Projects, Articles, #automation, #PLC, #Arduino, #IoT and More PDAControl

In the previous test, performs the communication between Arduino Mega 2560 and a Modbus simulator slave THROUGH the USB port that commonly have our arduino, in this case we will test with an Arduino as Master Modbus but via RS-232 with our PC - simulator modbus slave.

More info:
Blog PDAControl English

Blog PDAControl Español

Step 1: Modbus Master Arduino Test Part 1

Arduino simple test via Modbus RTU Master to the PC via USB

Components and materials required for testing

1 Arduino MEGA 2560 R3

1 Display Oled 128 x 64 I2C

1 Protoboard


1 converter RS-232 a TTL MAX3232

Step 2: ​MAX232

MAX232 is used, voltage converter TTL to RS232

Step 3: Final Test

More INFO:

Blog PDAControl English
Blog PDAControl Español



Thanks to the creator of the library smarmengol.

Gracias al creador de la libreria smarmengol.



    • Organization Contest

      Organization Contest
    • Epilog X Contest

      Epilog X Contest
    • Pie Contest

      Pie Contest



    Question 5 months ago on Step 1

    if i want to print it in a serial monitor what changes should i do in code