NodeMCU ESP8266 Tutorials

IOT based Car Parking System application designing and nodemcu esp8266 programming

Description:

IOT based Car Parking-In this tutorial, you will learn how to use the Arduino, Nodemcu esp8266 wifi module and Blynk software to build an IOT-based Car Parking Slots monitoring system. The parking slots can be tracked from anywhere in the world using the Nodemcu esp8266 wifi module and Blynk software. In this task, in the Blynk program, we will also learn how to use the tabs and led widgets.

The parking space is split into two parking spaces.

  1. Parking 1
  2. Parking 2

Each parking space is equipped with 3 slots and each slot has one detector. So we have 6 infrared sensors in all. The presence of the car in the slot is detected by each infrared sensor. These sensors are mounted to the Arduino.So when a  car is parked in the slot, the infrared sensor is triggered and the command is sent to the wifi module nodemcu esp8226, Nodemcu sends the command to the Blynk request.




The Amazon Purchase links :

Infrared sensor:

Nodemcu esp8266: 

Arduino Uno:

Mega 2560: 

lm7805 Voltage Regulator:

330-ohm resistors pack: 

female DC power jack socket: 

470uf capacitors: 

5×7 cm Vero board: 

female headers: 

connection wires: 

Super Starter kit for Beginners: 

Jumper Wires: 

Bread Board: 

12v Adaptor: 

PCB plate: 

Variable Supply: 

Digital Multimeter: 

Vero Board / stripboard: 

Soldering iron kit: 

Solder wire: 

Wire Stripper: 

wirecutter:

PCB drill machine: 

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!

About the IR sensor Module:

iot based car parking

I use this IR detector for car detection. As you can see, the VCC, GND, and OUT are clearly labelled with the three male headers. The 5 volt pin of Arduino is attached to the Vcc. The field is connected to the ground of Arduino.  While the OUT pin is connected to the IO pins of Arduino. What I’m going to explain in the diagram.  In IR there are two black and white LEDs, one for tx and the other for RX.

About the Nodemcu ESP8266 WIFI Module:

iot based car parking

Nodemcu ESP8266 wifi unit, we can track the parking slots from anywhere in the world from this module. As you can see from the pic above, all the pins are clearly labeled. Never use 5 volts of the Arduino to power the Nodemcu esp8266 wifi module. If you use the 5 volt Arduino to power up this module, we will continue to reset this wifi device. To solve this problem, you can use the LM7805 voltage regulator to design a separate power supply for this module.



Circuit Diagram:

iot based car parking

Six infrared sensors are used as you can see all Arduino pins 4 to 9 attached sensors. The VCC pins of the infrared sensor are attached to the 5v of the Arduino. Grounds are attached to the ground of the Arduino while pin 4 to 9 connects the out pins of all the infrared sensors.

The tx and Rx pins of the Nodemcu module are connected to Arduino’s pin2 and pin3. The voltage controller output is connected to the 5v nodemcu Vin pin power supply based on the lm7805 voltage controller and tw0 470uf capacitors are attached to the controller output and input. In series, a 330ohm resistor is connected to a 2.5v led. This is a resistor that is currently limited. Although J1 is a female dc socket,

you can attach a 12v adapter or battery to the nodemcu module for power-up with your laptop or USB device I’m going to use two USB cables, I’m going to use the cable to power the Arduino, and the other USB cable to power the nodemcu.



IoT based Car Parking  Blynk Application:

You will need to download the Blynk software from the App Store for the development of the android or apple cell phone app.  Upon installing the Blynk software,  you will need to use  Facebook or any other email ID to register for free.

IoT based Car Parking  Programming:

Two programs are used in this tutorial for the Arduino and another for the wifi unit Nodemcu esp8266.

Arduino Programming:




IoT based Car Parking  Nodemcu esp8266 wifi module Programming:

Watch Video Tutorial

Related Articles

One Comment

  1. Hello Sir Can you please add to the circuit an entry gate and exit gate (using IR sensors and servo motor) it is very helpful thank you. if you added i would really appreciate it

Leave a Reply

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

Back to top button