NodeMCU Lua Cheap 6$ Board With MicroPython Temperature and Humidity Logging, Wifi and Mobile Stats

by loggingforest in Circuits > Microcontrollers

755 Views, 1 Favorites, 0 Comments

NodeMCU Lua Cheap 6$ Board With MicroPython Temperature and Humidity Logging, Wifi and Mobile Stats

Screenshot_1.jpg
Screenshot_2.jpg

This is basically cloud weather station, you can check data on your phone or use some phone as live display
With NodeMCU device you can log temperature and humidity data outside, in room, greenhouse, lab, cooling room or any other places completely free.

Device will be connected to internet via Wifi

You will be able to check latest readings on your mobile phone, desktop or any other device with browser

Supplies

Add Your Device to Logging Platform

add_device.jpg

Here you can add your device to get api keys needed later: https://loggingforest.com/index.php/page/pricing

Hardware Connection

nodemcu_dht22.jpg

Connect DHT22 Out to NodeMCU D2

Connect DHT22 + to NodeMCU 3V

Connect DHT22 – to NodeMCU GND

Diagram example on image

Upload Software Needed to Device (Windows Guide)

upi_com.jpg
burn_firmware.jpg
params.jpg
download_run.jpg

Connect device to USB on your Windows PC
Download and install Python here: https://www.python.org/downloads/

Download and run uPyCraft IDE tool to flash your NodeMCU here: uPyCraft.exe

Select COM port (this is usualy larger number if you don’t have other devices connected) as on image 1

Burn microPython downloaded firmware to device as on image 2

If you have pyBoard or device with preloaded firmware you can skip this step

Download MicroPython firmware for NodeMCU here: https://micropython.org/resources/firmware/esp826...

Upload LoggingForest basic code example to device

Download example code here: main.py

Use menu->Save page as or CTRL+S to download from this page main.py

Now open file in uPiCraft tool and change parameters received on loggingforest.com website as on screen 3

Download and Run as on screen 4

Check Data on LoggingForest Platform

parameters_platform.jpg
preview.jpg
data.jpg
nodeMcu.jpg

After that your device will start sending data to loggingforest and you can see it there
In loggingforest device edit just define parameters name and values as on screen 1

Click on preview as on screen 2

And you will see nice data as on screen 3

Feel free to comment and share your logger, my is visible on image 4