Back to articles
How to send sensor data to a gateway using PainlessMesh in ESP8266?
How-ToTools

How to send sensor data to a gateway using PainlessMesh in ESP8266?

via Dev.toGanesh Kumar

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 and send data from one ESP8266 board to another ESP8266 board. What Problem we are solving? Previously we explored how to use MQTT with ESP8266. Now let's integrate painlessmesh with MQTT. Let's assume we have 2 ESP8266 boards. One is gateway and another is node. We want to send data from node to gateway using painlessmesh. Next we want to send data from gateway to cloud using MQTT. For example we will use DHT11 sensor and mq series gas sensor with node to send data to gateway. This operation should be done with very minimal data transfer. If one node has 2 or more sensors it should be compressed and sent to gateway. What We will be achiev

Continue reading on Dev.to

Opens in a new tab

Read Full Article
7 views

Related Articles