← index #8328Issue #5087
Related · high · value 0.637
QUERY · ISSUE

Modbus Module for ESP32

openby eydam-prototypingopened 2022-02-19updated 2024-09-08
enhancementport-esp32

Hey,

I created a Modbus Module for the ESP32 and need some people to test it :)
You can create a RTU-Master/Slave and TCP-Server/Client.
My own tests are passing, but it would be great, if someone else could do some more tests.

You can find the code here:
https://github.com/eydam-prototyping/micropython/tree/TEy-Modbus-2022-01-09

Some pre compiled images and the documentation here:
https://drive.google.com/drive/folders/12ZPlzrywi3Wp9dnlOKTvR8OETy1F6aCX
(always choose the newest ones)

There are some known bugs:
https://github.com/eydam-prototyping/micropython/issues?q=is%3Aissue+is%3Aopen+label%3Amodbus+
If you know how to solve them, please let me know.

Maybe we could integrate it to the main repo at some point.

Best regards
Tobias

CANDIDATE · ISSUE

[ESP32] CAN bus and MOD bus master RTU.

openby beyonloopened 2019-09-09updated 2024-10-01
enhancementport-esp32

Hello.

  1. Are there support or plans to support CAN bus on ESP32? I see that there are a implementation for pyboard https://docs.micropython.org/en/latest/library/pyb.CAN.html - is that a similar implementation on the ESP32?

  2. And about the MOD bus master RTU on micropython?
    I think that, differently of CAN bus, MOD bus implementation is not a microcontroller dependent, just works over UART, is that correct?
    I not found a implementation for the modbus master RTU in micropython libs and so on, anyone know if are there a third lib for that?

Thank you so much.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied