The DHT22 is a temperature and humidity sensor in one package. It is widely used mainly due to its price but also because of it being robust and user-friendly. In this NodeMCU DHT22 interfacing tutorial, I will guide you in creating an IoT-based weather monitoring project with ESP8266.
Read More »How to Use PIR Sensor with NodeMCU ESP8266
A Passive Infrared (PIR) sensor is a popular sensor for detecting the presence of a person. This is a type of proximity sensor although you may also call it a motion sensor. This tutorial aims to guide you in using a PIR sensor with your NodeMCU ESP8266 WiFi board.
Read More »Arduino WiFi: Using ESP8266 with AT Commands
The ESP8266 has been a blessing to makers who need to connect their Arduino to the Internet on the cheap. In fact, boards like the NodeMCU and WeMos which feature the ESP module have become overly popular. This is unsurprising given that these boards can replace the Arduino without a …
Read More »Creating NodeMCU WiFi Access Point
You can use WiFi with the NodeMCU (ESP8266) even without a WiFi router. All you need to do is create a NodeMCU WiFi Access Point and the device will now act as a WiFi gateway.
Read More »Web Server with NodeMCU WebSocket
Uploading sensor data to web servers is one of the core ideas for Internet of Things (IoT). Such data are often small-sized and are continuously updated over time. And while HTTP performs satisfactorily for simple applications, like how I showed in my NodeMCU web server tutorial, there is a need …
Read More »NodeMCU MQTT Tutorial
So far, we’ve been using HTTP in our NodeMCU web servers and while it works, the protocol is not really the best way for sending and receiving small-sized data for IoT applications. In this tutorial, I will introduce you to MQTT using ESP8266.
Read More »NodeMCU Ajax: Dynamic Sensor Data on Web Page
Last time we managed to display sensor data to a NodeMCU web server. The problem with that code is that we need to refresh the page manually in order to update the sensor value. A better method is to use Ajax (asynchronous javascript and XML) so that we can request …
Read More »Log Data with NodeMCU and Google Sheets
Most of the time, the data from a sensor in an IoT application needs to be recorded. This data logging is important for later statistical analysis now most popularly known as data analytics. In this tutorial, we will record the data captured from the sensor to a spreadsheet. Let’s build …
Read More »Display Sensor Data to NodeMCU Web Server
We set up a simple NodeMCU web server in our previous tutorial. There we controlled an LED from a web page hosted by the NodeMCU ESP8266 board! This time, we’ll be displaying data from a sensor connected to the NodeMCU’s analog pin.
Read More »Creating a Simple NodeMCU Web Server
We’re done with basics of the NodeMCU in my last post. Now it’s time to use the NodeMCU like how it’s meant to be: an IoT device. Here I will show you how to create a simple NodeMCU web server which will control a LED attached to one of the NodeMCU’s …
Read More »