micropython / micropython/micropython

Modbus Module for ESP32

Open
#8,328 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement port-esp32
Dominant language
C
Stars
22.1k
Forks
9k
Avg merge
6d 4h
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the TEy-Modbus-2022-01-09 branch and the linked precompiled images and documentation, using the newest images. Test the RTU master/slave and TCP server/client paths, then compare results with the linked open Modbus bugs; done requires documented test results and a decision about integration into the main repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, python
Domain
embedded-iot, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.