ESP8266IOT Projects

Nodemcu esp8266 notification message & real time monitoring using Blynk

ESP8266 Notification Message, Project 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.

Note: this old version of the Blynk app is no more functional. For the blynk mobile App setup and Blynk.cloud dashboard setup ready my article on the New Blynk V2.0. In this article I have explained how to migrate your projects from Blynk 1.0 to the new Blynk V2.0. You can also watch the video.


Amazon Links:

12v Adaptor:

Arduino Uno

Arduino Nano

Nodemcu ESP8266 WiFi Module:

LM7805 Voltage Regulator:

470uf capacitor:

330-ohm resistor:

DC Female Power Jack:

Female Headers:

Male Headers:

Other Tools and Components:

Top Arduino Sensors:

Super Starter kit for Beginners

Digital Oscilloscopes

Variable Supply

Digital Multimeter

Soldering iron kits

PCB small portable drill machines

*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!

Nodemcu ESP8266 interfacing with Arduino, Circuit Diagram:

Nodemcu 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.


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 given at the end of this article.

Programming:

Arduino Programming:


Nodemcu ESP8266 Notification Message Programming:

Watch Video Tutorial:

 

Some other IOT based Projects:

https://www.electroniclinic.com/iot-3-phase-transformer-load-monitoring-using-arduino-and-nodemcu/

 

https://www.electroniclinic.com/iot-water-quality-monitoring-using-arduinoph-sensornodemcu-esp8266/

 

https://www.electroniclinic.com/nodemcu-esp8266-ds18b20-waterproof-temperature-sensor-monitoring/

 

https://www.electroniclinic.com/wireless-vibration-sensor-iot-vibration-sensor-industrial-vibration-sensor-nodemcu-esp8266/

 

https://www.electroniclinic.com/iot-light-dimmer-using-arduino-and-nodemcu-esp8266-wifi-module/

 

https://www.electroniclinic.com/top-10-arduino-iot-projects-2019-2020-with-tutorials-iot-projects-using-arduino/

 

https://www.electroniclinic.com/arduino-iot-project-nodemcu-esp8266-wifi-robot-car-l298n-motor-driver-blynk-joystick/

 

https://www.electroniclinic.com/iot-project-control-and-monitoring-using-nodemcu-esp8266-and-ubidots-iot-platform/

 

https://www.electroniclinic.com/iot-water-level-monitoring-using-ultrasonic-sensor/

 

 

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

Your email address will not be published. Required fields are marked *

Back to top button