• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

High speed MODBUS RTU & ESP32

Q&A Forum › Category: ESP32 › High speed MODBUS RTU & ESP32
0 Vote Up Vote Down
GERMAN GOMEZ asked 4 years ago

Hi,
I’m looking for a code sample, library, hardware definition about “ESP32 & MODBUS RTU RS485 protocol”, but I need baud rate communications between master-slave about 1,5 Mbit/s or more. Could anyone help me?

Question Tags: MODBUS RTU RS485 ESP32 ARDUINO IDE COMMUNICATIONS
3 Answers
0 Vote Up Vote Down
Steve Mercer answered 4 years ago

The biggest problem is that the voltage levels for RS-485 are way different than what you have on an ESP32 so you need an interfacing chip like an MAX485. This post should help out. I think 10Mb/s is max rate on an ESP32. Also I’m pretty sure the built-in serial library should work. RS-485 is in the Espressif docs.

1 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I don’t have experience with the MODBUS protocol on the ESP32.
The resources Steve shared can be a good starting point. I also find this library compatible with the ESP32 that might be useful for your project: https://github.com/emelianov/modbus-esp8266.
I’m sorry that I can’t help much with this subject.
Regards,
Sara

0 Vote Up Vote Down
GERMAN GOMEZ answered 4 years ago

Thanks so much for the answers, …and I will inform about it and if I find a solution.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.