• 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 1 week 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 7 days 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.

0 Vote Up Vote Down
Sara Santos Staff answered 6 days 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 days 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] Download Build Web Servers with ESP32 and ESP8266 (2nd Edition) February 8, 2021
  • [eBook Released] Build Web Servers with ESP32 and ESP8266 (version 1.0) October 27, 2020

You must be logged in to view this content.

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

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