IOT based Car Parking System using Arduino and Nodemcu esp8266

(Last Updated On: October 26, 2019)

iot based car parking

Description:

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: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
Infrared sensor: https://amzn.to/2Cw8Z6x
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
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

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

2 Comments

Leave a Reply

Close