Search code examples
ip-addresssensorsesp8266nodemcuesp8266wifi

send data collected on the internet instead of on the serial monitor (Nodemcu v3)


Good evening, I am working on a project on a brightness sensor (tsl2561). Not having arrived yet I used a photoresistor and a led and everything works perfectly. Practically, depending on the light seen by the photoresistor, the LED light is more or less strong and I see the data on the serial monitor. Now I would like to see this data online and they recommended Packet sender to send data packets but I can't. Can anyone help me? Thank you


Solution

  • I suggest you make your nodeMCU to work as a web server so that you can send/read data from it over your local network.

    Here is a tutorial on web servers with nodeMCU: https://lastminuteengineers.com/creating-esp8266-web-server-arduino-ide/?

    If you want your device to be seen over the internet go for DDNS.