Home » NodeMCU

NodeMCU

Adding Location to Microcontroller Projects: GPS Tutorial

Global Positioning System (GPS) has been around since the 80's and is still one of the most important features you can add to any electronic system. The idea of tracking something (or someone) is cool enough but doing so without a telephone or an internet connection is much cooler. In this tutorial, we will discuss the basics of GPS and …

Read More »

NodeMCU MQTT Tutorial

NodeMCU Webserver

What is MQTT? MQTT (Message Queue Telemetry Transport) is a publish-subscribe messaging protocol widely used in IoT applications. This protocol is designed for data transfer between devices with limited network bandwidth and power. Thus, it is highly recommended for microcontroller projects that sends data over the internet. In this tutorial, I will show you how to use the MQTT protocol …

Read More »

NodeMCU Ajax: Dynamic Sensor Data on Web Page

nodemcu ajax dynamic sensor data

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 data from the server in the background with no page …

Read More »

Log Data with NodeMCU and Google Sheets

nodemcu ajax dynamic sensor data

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 a NodeMCU Google Sheets data logger!

Read More »

Display Sensor Data to NodeMCU Web Server

We setup a simple NodeMCU web server in our previous tutorial. There we controlled a 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

nodemcu-webserver

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 use: as 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 pins. Sounds interesting? Read on!

Read More »

Intro to NodeMCU and Arduino IDE

node mcu v1.0

NodeMCU is a development board featuring the popular ESP8266 WiFi chip. As it turns out, you can program the ESP8266 just like any other microcontroller. Its obvious advantage over the Arduino or PIC is that it can readily connect to the Internet via WiFi. However, the ESP8266 breakout board has limited pins although the chip itself has a lot of …

Read More »