Multiple Nodemcu esp8266 network monitoring using Blynk

(Last Updated On: October 19, 2019)

Nodemcu esp8266 network

Description:

In this Article” Nodemcu Esp8266 Network” you will learn how to monitor multiple Nodemcu esp8266 wifi modules using only one blynk application.  This project can be really helpful in situations where you need to monitor multiple sensors installed at different locations.

Nodemcu esp8266 network

Let’s say you want to make a security system and you want to monitor Living room, Storeroom, bedroom and so on…In a situation like this, you can install Nodemcu modules at different locations and monitor all the sensors using only one application… In a situation like this the Nodemcu Esp8266 Network can be very helpful; this way you won’t need a lot of wiring.


Nodemcu esp8266 network

The distance between the Nodemcu modules really doesn’t matter so far the wifi connection is available, even if the Nodemcu modules are installed in different countries like for example Pakistan, INDI, USA, CANADA, and so on. we can monitor all the Nodemcu modules using only one blynk application. The Nodemcu Esp8266 Network based on the WIFI is not bound by the distance so far the wifi connection is available.


In this Tutorial, I am going to combine my previous two projects.

  1. Iot based Car Parking Slots Monitoring System

https://www.electroniclinic.com/iot-based-car-parking-system-using-arduino-and-nodemcu-esp8266/

  1. IOT based Analog Sensor Monitoring.

https://youtu.be/1OiKkgUBJBk

I have already explained these projects in very detail.

So in this Article “Nodemcu Esp8266 Network”, I am only going to explain the changes in the Nodemcu programming, and will also explain how to modify the application which was designed for the car parking monitoring system. The components used in this project are already explained in my previous tutorials and their purchase links are given below. Without any further delay, let’s get started.

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
16×2 LCD: https://amzn.to/2FcXuUS
Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
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 / strip board: 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
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

DISCLAIMER:

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!



As I said earlier this project “Nodemcu Esp8266 Network” is based on my previous two Tutorials. The circuit connections used in both the projects remains the same, and also the programming remains the same except the Authentication Token and the Virtual Pins which will be changed, and this is what I am going to explain.

Let’s call the Car Parking Slots monitoring system as Nodemcu1 and Analog Sensor Monitoring as the Nodemcu2. So we have a total of two Nodemcu Esp8266 wifi Modules if you want you can also increase the number of the Nodemcu Modules. Our main Aim is to monitor both the Nodemcu Modules using only one Blynk application.

For Monitoring multiple Nodemcu esp8266 wifi modules the only thing that we need to take care of is, we have to use the same authentication token in all the Nodemcu Esp8266 Modules. Never use a virtual pin which is already used in another Nodemcu module. In simple words all the Virtual pins which are used in another Nodemcu module never use those virtual Pins in another Nodemcu Module, otherwise, the blynk application will be confused.


So I Made changes only in the Nodemcu2 Programming and I didn’t even change a single instruction in the Nodemcu1 programming. Let me tell you once again, use same authentication token for all the Nodemcu modules as we will be using only one application to monitor all the Nodemcu modules and second important point is, use different virtual pins. For example, if you have used virtual pin 30 in Nodemcu 1 never use the same virtual pin 30 in Nodemcu 2 or Nodemcu 3 if you are using three Nodemcu modules.

Programming:

Following are the Modified codes of the two projects mentioned above. For the step by step explanation, you can watch the video given at the end of this Article.


Nodemcu 1 Programming: Car parking Slots Monitoring



Car Parking Slots monitoring system Arduino programming:


Nodemcu 2 Programming: Analog Sensor Monitoring

If you look at the programming of both the Nodemcu Esp8266 wifi modules you can find that both the Nodemcu Modules share the same Authentication Token and different Virtual Pins. For the best understanding watch video given below.


Blynk Application Designing:

The Blynk application designing is already explained in the iot based car parking slots monitoring system. For further explanation and App modification watch Video given at the end of this Article.



Watch Video Tutorial:

 

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