In the last post I made a short introduction on development using the NodeMCU platform with a simple reading of a 1-wire thermometer. This time I will show how to make a basic networked application for the NodeMCU and the server part for a computer to gather some useful data.
The idea is pretty simple: do a temperature conversion, connect to a wireless network, transmit the reading to a server, maybe get back some configuration and start over.
Continue reading “NodeMCU networked thermometer”
NodeMCU is a versatile board with the WiFi-enabled ESP8266 system-on-chip, USB to UART bridge, voltage regulator and some auxiliary components. With a price tag of about $9 on Aliexpress it allows you develop your own Internet “things” literally in minutes. The killer part is a build-in Lua interpreter, so no toolchain or development kit is required. The language is pretty easy. Text files containing Lua scripts are simply uploaded to the board and executed directly by the interpreter inside ESP8266. You can also type the commands directly via the terminal. NodeMCU firmware can also be uploaded to any ESP8266 module like the ESP-01, ESP-07 or bare ESP-12.
Continue reading “First steps with NodeMCU”