How to Set Up PainlessMesh With a NodeMCUv2 (ESP8266) Board?
Hello, I'm Ganesh. I'm building git-lrc, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. Star Us to help devs discover the project. Do give it ...

Source: DEV Community
Hello, I'm Ganesh. I'm building git-lrc, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. Star Us to help devs discover the project. Do give it a try and share your feedback for improving the product. In this article, I will be demonstrating how to use PainlessMesh with a NodeMCUv2 (ESP8266) board. What Problem we are solving? ESP8266 is a low-cost Wi-Fi microcontroller. It is a popular choice for IoT projects. Main advantage is it can connect to Wi-Fi network. If it connect to network and it can transmit data wirelessly. This make it suitable for IoT projects. Where we need to collect data from sensor and transmit to cloud or any other device. But this also comes with a limitation. If we need to connect each ESP8266 board to router, then we need to have router in range of each ESP8266 board. For Example I will name ESP8266 boards as Node A, Node B, Node C. If Node A and B are within range of and connected to the gateway If Node C is