-
Working on a capstone project that uses ESPNow to communicate between sensor nodes(with ESP32s) in a spider mesh topology. We were recently ordered to use PainlessMesh instead. From my understanding, PainlessMesh is an Arduino library that is still pretty dependent on other Arduino libs. I can't see any Micropython support for ESP-MESH too. Is there an existing equivalent of PainlessMesh lib/ ESP-MESH in Micropython? If not, could you give me an idea of how I'll implement this? tl;dr: Is there a way to port PainlessMesh onto Micropython from Arduino |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Unfortunately, as far as I am aware, there is currently no direct equivalent of PainlessMesh or ESP-MESH in MicroPython. Both PainlessMesh and ESP-MESH are designed specifically for the ESP32 and rely on the Arduino libraries. Porting PainlessMesh to MicroPython would be a significant undertaking, as it would require re-implementing the entire library in MicroPython. However, it may be possible to adapt some of the concepts and techniques used in PainlessMesh to work with MicroPython and the ESP32. One option would be to implement your own mesh networking solution using the ESP32's built-in Wi-Fi and socket programming features of MicroPython. By the way, since you are working with ESP-NOW, this project may interest you: https://www.pcbway.com/project/shareproject/Bat_Hand_Controller_ESP32_and_Joystick_97e8ad4b.html |
Beta Was this translation helpful? Give feedback.
-
Still not PainlessMesh but a Mesh implementation: |
Beta Was this translation helpful? Give feedback.
Unfortunately, as far as I am aware, there is currently no direct equivalent of PainlessMesh or ESP-MESH in MicroPython. Both PainlessMesh and ESP-MESH are designed specifically for the ESP32 and rely on the Arduino libraries.
Porting PainlessMesh to MicroPython would be a significant undertaking, as it would require re-implementing the entire library in MicroPython. However, it may be possible to adapt some of the concepts and techniques used in PainlessMesh to work with MicroPython and the ESP32.
One option would be to implement your own mesh networking solution using the ESP32's built-in Wi-Fi and socket programming features of MicroPython.
By the way, since you are working with ESP-NO…