16-bit shift register module using 74HC595 controlled through NodeMCU

16-bit shift register module will help you to create 16 digital outputs from only 3 digital outputs of NodeMCU. Circuit is done as shown in the diagram. Upload the following program to your NodeMCU.

/* Shift Register Example Turning on the outputs of a 74HC595 using an array Hardware: * 74HC595 shift register * LEDs attached to each of the outputs of the shift register */ //Pin connected to ST_CP (12) of 74HC595 int latchPin = 0;
Read More
Real time temperature monitoring and device control from mobile App developed on Flutter through NodeMCU

A temperature monitoring system which will turn ON a device such as cooling fan, when the temperature is increased above an upper threshold. Similarly, device will be turned OFF when the temperature is decreased below lower threshold. In between lower threshold and upper threshold, device will continue its state. Circuit is done as shown in the following diagram.

Download the TemperatureMonitorAndDeviceControl library from the following link.

TemperatureMonitorAndDeviceControl-newDownload

Unzip and copy the downloaded library to Arduino libraries folder.

Pages:  1 2
Read More
Real time monitoring of temperature from NodeMCU,  on mobile App developed on Flutter

This is a basic app for real time monitoring of temperature from NodeMCU. NTC thermistor is used as the temperature sensor. Mobile device will send HTTP request on every three seconds periodically to get the temperature from NodeMCU. Circuit is done as shown in the following diagram.

Download TemperatureMonitor library from the following link. Unzip and copy the downloaded library to Arduino libraries folder.

TemperatureMonitorDownload

Restart Arduino software and open the example program from File -Examples -TemperatureMonitor -TemperatureMonitor.

Read More
Read temperature from NodeMCU through mobile app developed on Flutter, on button press

This circuit and programs will help you to send HTTP request from the mobile device through an App to read the temperature from NodeMCU. NTC thermistor is used as the temperature sensor. Temperature will be updated when the “Read temperature” button is pressed. Circuit is done as shown in the following diagram.

Download TemperatureMonitor library from the following link. Unzip and copy the downloaded library to your Arduino libraries folder.

TemperatureMonitorDownload

Restart Arduino software and open File ->

Read More
Mobile App using Flutter to Turn On and Turn OFF LED through NodeMCU

This is a basic project for beginners who want to control an LED from a mobile device. Circuit is done as shown in the diagram. NodeMCU is used as the controller in Circuit.

Download the LEDcontrol library from the following link.

LEDcontrolDownload

Unzip and copy the downloaded library to your Arduino libraries folder.

Restart Arduino software and open

File ->

Read More
Turn ON and turn OFF an LED from Mobile App through NodeMCU

This is a simple method to control an LED connected to NodeMCU from a Mobile device through an app or from the web browser of your mobile device.

LEDcontrolDownload

After installing the library, open the example program from File -> Examples -> LEDcontrol -> LEDcontrol and upload to your NodeMCU. If uploading successful, connect your mobile device to NodeMCU through WiFi.

Read More
Temperature monitoring system over WiFi using NodeMCU and NTC thermistor

Download the TemperatureMonitor library from following link.

TemperatureMonitorDownload

Unzip the library and copy to the Arduino libraries folder. Program compiled and tested successful on Arduino 1.8.12.

Now, open the program from File -> Examples -> TemperatureMonitor -> TemperatureMonitor.

Compile and upload the program to NodeMCU.

Read More
NeoPixel ring colour picker with touch and drag support from Mobile device through NodeMCU over WiFi using javaScript

Arduino Program

#include <Adafruit_NeoPixel.h#ifdef __AVR__ #include <avr/power.h// Required for 16 MHz Adafruit Trinket #endif #define PIN D2 #define NUMPIXELS 16 Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); #define DELAYVAL 500 // Time (in milliseconds) to pause between pixels #include <ESP8266WiFi.h#include <ESP8266WebServer.h#include <FS.hconst char* htmlFile = "/index.html"; const char* ssid = "NodeMCU"; const char* password = "xxxxxxxxxxx"; int count = 0; #define LED 2 ESP8266WebServer server(80); void handleRoot() { server.sendHeader("Location",
Read More
NeoPixel ring colour picker from Mobile device through NodeMCU over WiFi using jQuery

Arduino Program

#include <Adafruit_NeoPixel.h#ifdef __AVR__ #include <avr/power.h// Required for 16 MHz Adafruit Trinket #endif #define PIN D2 #define NUMPIXELS 16 Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); #define DELAYVAL 500 // Time (in milliseconds) to pause between pixels #include <ESP8266WiFi.h#include <ESP8266WebServer.h#include <FS.hconst char* htmlFile = "/index.html"; const char* ssid = "NodeMCU"; const char* password = "xxxxxxxxxxx"; int count = 0; #define LED 2 ESP8266WebServer server(80); void handleRoot() { server.sendHeader("Location",
Read More
Real time data monitoring from NodeMCU through graphical interface using jQuery

Arduino Program

#include <ESP8266WiFi.h#include <ESP8266WebServer.h#include <FS.hconst char* htmlFile = "/index.html"; const char* ssid = "NodeMCU"; const char* password = "xxxxxxxxxxx"; int count = 0; #define LED 2 ESP8266WebServer server(80); void handleRoot() { server.sendHeader("Location", "/index.html", true); server.send(302, "text/plane", ""); } void handlePWM() { String PWM = server.arg("pwm"); int p = 1024 - (PWM.toInt()) * 10; Serial.println(p); analogWrite(LED, p); server.send(200, "text/plane", ""); } void getCount() { server.send(200, "text/plain", String(count).c_str()); Serial.print("Sending "); Serial.print(count); Serial.println(" to the client device...");
Read More
X