Modbus Module for 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
[ESP32] CAN bus and MOD bus master RTU.
Hello.
-
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?
-
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.