-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use in ESP32 Platform. #65
Comments
Hi, thanks for the question/ I don't know, if you make it work comment here. |
Hi @yaacov , I tried to use in ESP32 kit but I have no success at this point. I focused on Serial RTU. Regards. |
Ler me know if someone have sucsess with this. im also srugling to get the RTU slave to Work on my ESP32 |
I have not success to run this code in ESP32. I have found a library on github. But I have come across problems to use this library. Regards. |
Hi, I've tested the RTU-RS485 Client and with a few tweaks the code works like a charm with the ESP32dev Kit. Martin |
esp32能用,但是0x03每次最多只能读50个,0x0f每次最多只能写50个 |
This is limited by Modbus protocol.
…On Tue, 12 Apr 2022, 23:26 547176052, ***@***.***> wrote:
esp32能用,但是0x03每次最多只能读50个,0x0f每次最多只能写50个
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAFJN42DWD5WON7OQAURB3VEWI33ANCNFSM4QN2MQLA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
that is not completely right. The Modbus protocol has a frame width of 256 bytes. (253 bytes for user data). We are currently only using 128 bytes here, according to the specifications of the ESP32 core. You can try changing the RX/TX buffer size. In ModbusSlave.h change:
and in your Setup Routine and BEVORE the Serial init:
I don't know if that works with the Arduino 1.6 ESP Core, but it should work with the 2.02. good luck... |
#if defined (ESP32) || defined (ESP8266) 我改到1024还是只能写 55 个 |
I'm successfully using V2.1.1 on ESP32 and it worked more or less out of the box ... |
Hi there,
I wonder that can I use this library on ESP32 module?
Have you ever tried that?
Regards.
Erkan
The text was updated successfully, but these errors were encountered: