Nodemcu esp8266 notification message & real time monitoring using Blynk

(Last Updated On: October 26, 2019)

esp8266 notification message

Description:

esp8266 notification message- In this Tutorial, you will learn how to make a message notification system using Arduino, Nodemcu esp8266 wifi module and Blynk application.

We have been using GSM modules for notification or Alert messages. GSM modules are most commonly used for monitoring the sensors. Whenever the sensor value exceeds a pre-defined value a notification message is sent to the owner. A major problem with the GSM module is that you cannot monitor the sensors in real-time, as sending and receiving a message takes time.  This problem of monitoring the sensor in real-time can be solved by using the Nodemcu module. With the help of the Nodemcu module, you can monitor the sensors in real-time and also it can be programmed to send notification or alert messages whenever a pre-defined value is exceeded, so this way you don’t need to monitor the values all the time. One of the major advantages of using the notification widget in Blynk application is that, even if the application is running in the background, still you are informed through a notification message. Which at this point works just like the GSM module.


The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 UF capacitors: https://amzn.to/2xDCOzf
5×7 cm Vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / stripboard: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wirecutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Circuit Diagram:

Nodemcu esp8266 notification message

esp8266 notification message

So this is the final circuit that we will be using today. If you are using Nodemcu with Arduino or mega and you are not using many sensors then you don’t need this power supply, you can power up the Nodemcu module using Arduino or mega…let me tell you once again, if you are using many sensors then I recommend you should use a separate power supply for this.  Let’s have a look at the complete circuit diagram.

This schematic is designed in Cadsoft eagle 9.1.0 version. If you want to learn how to make a schematic and PCB then watch my tutorial, “click here”.


This is the 5v regulated power supply based on the lm7805 voltage regulator. As I said earlier if you are not using many sensors then you don’t need this power supply. In this project as we will be using only one sensor which is a variable resistor, so that’s why we don’t need this power supply, that’s why the Vin pin of the Nodemcu is connected with the Arduino’s 5v, and the ground pin of the Nodemcu is connected with the Arduino’s ground.  But if you have connected many sensors then simply connect a wire from the output of the voltage regulator with the Vin pin of the Nodemcu.

As the Nodemcu will communicate with Arduino through serial communication, so for this we need a serial port, as I always say never use the Arduino’s default serial port for communication with other devices, Use Arduino’s default serial port only for debugging purposes. So now the question is if we are using the Arduino’s default serial port for debugging purposes then how we will communicate with Nodemcu. Well my friends no worries at all, we can define multiple serial ports using the Software serial library, which I will explain in programming. So as you can see the Nodemcu Rx pin is connected with Arduino’s pin3 and the Nodemcu tx pin is connected with Arduino’s pin2 and the ground is connected with GND.


A variable resistor is connected with the Analog pin A0 of the Arduino, while the remaining two legs of the variable resistor are connected with 3.3v and ground.

Blynk Application:

For the application designing watch video tutorial Click here

Programming:

Arduino Programming:


Nodemcu Programming:

Watch Video Tutorial:

 

Some other IOT based Projects:

IOT 3 Phase Transformer Load monitoring using Arduino and Nodemcu

 

IOT Water Quality monitoring using Arduino,pH Sensor,Nodemcu ESP8266

 

Nodemcu ESP8266 DS18b20 Waterproof Temperature Sensor Monitoring

 

Wireless vibration sensor, iot vibration sensor, Industrial vibration sensor “nodemcu esp8266”

 

IOT light dimmer using Arduino and Nodemcu esp8266 wifi module

 

Top 10 Arduino IOT projects 2019-2020 with tutorials | IOT projects using Arduino

 

Arduino IOT Project: Nodemcu ESP8266 wifi Robot Car “L298N motor driver + Blynk + Joystick”

 

Ubidots IOT Platform Control and Monitoring using Nodemcu esp8266 wifi Module

 

IOT Water level monitoring using Ultrasonic Sensor

 

 

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply

Close