IOT based Car Parking System using Arduino and Nodemcu esp8266

(Last Updated On: February 13, 2020)

iot based car parking


In this tutorial, you will learn how to make an IOT based Car Parking Slots monitoring system using Arduino, Nodemcu esp8266 wifi module and Blynk application. With the help of Nodemcu esp8266 wifi module and Blynk application, the parking slots can be monitored from anywhere around the world. In this Tutorial, you will also learn how to use the tabs and led widgets in Blynk application.

The Parking Area is divided into two Parkings.

  1. Parking 1
  2. Parking 2

Each Parking has 3 Slots and every slot has one infrared sensor. So we have total of 6 infrared sensors. Each sensor is used to detect the presence of Car in the Slot. These infrared sensors are connected with the Arduino. So when a Car is parked in the slot, the Arduino sends a command to the Nodemcu esp8266 wifi module, then Nodemcu then sends the command to the Blynk application.

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

Arduino Uno:
Mega 2560:
Infrared sensor:
Nodemcu esp8266 wifi module: Best price:
lm7805 Voltage Regulator:
330-ohm resistors pack:
female DC power jack socket:
470 uf 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 / strip board:
Soldering iron kit: “best” You guys should definitely purchase this:
Solder wire:
Wire Stripper:
wire cutter:
PCB small portable drill machine:

*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

This is the IR sensor which I will be using for the cars detection. As you can see the three male headers are clearly labeled with the VCC, GND, and OUT. The VCC pin is connected with the Arduino’s 5 volts. The ground is connected with the Arduion’s ground. While the OUT pin is connected with Arduino’s IO pins. which I will explain in the circuit diagram. While the black and white leds are the IR leds “one is the Tx while the other one is the Rx”.

About the Nodemcu ESP8266 WIFI Module:

iot based car parking

This is the Nodemcu ESP8266 wifi module, with the help of this module we can monitor the car parking slots from anywhere around the world. As you can see clearly all the pins are clearly labeled. Never power up the Nodemcu esp8266 wifi module using the Arduino’s 5 volts. If you power up this module using the arduino’s 5 volt then this wifi module we will keep reseting. To solve this problem you can design a separate power supply of this module using the LM7805 voltage regulator.

Circuit Diagram:

iot based car parking

As you can see six infrared sensors are connected with the Arduino pins 4 to 9. The infrared sensor VCC pins are connected with the Arduino’s 5v. Grounds are connected with the Arduino’s Ground while the out pins of all the infrared sensors are connected with pin 4 to 9.

The Nodemcu module tx and Rx pins are connected with pin2 and pin3 of the Arduino. while the Vin pin of the Nodemcu module is connected with the output of the voltage regulator. This is a regulated 5v power supply based on the lm7805 voltage regulator.

Two 470uf capacitors are connected at the input and output side of the regulator.  A 330-ohm resistor is connected in series with a 2.5v led. This is a current limiting resistor. While J1 is a dc female socket, over here you can connect a 12v adaptor or battery. But you can also power up the Nodemcu module using your laptop USB port. I will be using two USB cables, I cable will be used for powering up the arduino and the other usb cable will be used to power up the nodemcu.


Blynk Application of iot based car parking:

For the android or apple cell phone application designing you will need to download the Blynk application from the App Store. After you download the Blynk application then you will need to register yourself for free using Facebook or any other email id. The cell phone application making is explained in the video. The video is available at the end of this Article.

Programming of iot based car parking:

In this project, two programs are used one for the Arduino and another one for the Nodemcu esp8266 wifi module.

Arduino Programming:

Nodemcu esp8266 wifi module Programming of iot based car parking:

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


    1. Nodemcu esp8266 wifi module Programming of iot based car parking there is some error coming during verify on IDE platform. can anyone help me.

  1. are the above components are all needed for this project?? because you didnt use any led screen in the video

    1. Not all the components are used, some tools and components which I have added are the most commonly used components, which often people need. You can purchase the components which are used in the circuit diagram.

Leave a Reply