Esp8266 Projects

IoT Based Vehicle Parking With ESP8266


In this tutorial, we are Going to make an intelligent car parking Assitance System.

Now in daily life, we are using cars every day and it is one of the most important parts of our day-to-day life. Now When you park your car the IoT Vehicle parking system Helps you. this project of making the help of ESP8266 & Blynk App.

This project will help new car drivers .then learn about cars that are not parked well this project they help to know the back side of the distance from any obstacle to your vehicle as per the place of the sensor in a car.

if you are interested in more IoT Projects.

Bill Of Materials




Link To Buy


NodeMCU (Esp8266)



Ultersonic Sensor






Red Led



Green Led



Zero PCb



These are all components we need to Build This Project 



Ultrasonic Sensor

  • Ultrasonic sensor finds out the distance & it provides stable & Accurate distance measurement from 2Cm to 450Cm. it has a focus of less than 15 degrees and an accuracy of about 2mm.

Screenshot 2022 12 03 at 5.53.11 PM

  • The ultrasonic Sensor sound has such a high pitch that humans can’t hear it. the ultrasonic sound frequency of about 40Khz.
  • the sensor has two main parts. A transducer creates an ultrasonic sound and another that listen for its echo. to that sound this sensor measures Distance.


The red and green  LEDs are for use with a variety of projects. They have a crystal clear lens that is 5mm in diameter.

  • Forward voltage: 3.2-3.6V
  • Maximum forward current: 25mA
  • Brightness: 20000 MCD



This Passive Buzzer provides an easy way to add simple audio output to your Project. While you can’t expect this tiny little speaker to produce orchestra-quality of sound, it works just fine for simple beeps and boops.

  • The Operating Voltage is 5V.
  • The total terminal is 2



Setting Blynk App

First, you have to set up a project in the Blynk app on your web dashboard And Smart Phone. after setting the app you receive an auth token which has to be provided in the code.

You can Download the Blynk app from Below the Links.

Open Blynk App, register with an email ID and then log in. after login in, we will create a project. Enter the all details as shown Below

Blynk app

Screenshot 2022 12 24 at 8.43.41 PM

After Creating the template you received the Auth token on the Dashboard.

Circuit Diagram

Here all the red and black wires are VCC and GND connections. we are using the ultrasonic sensor and they will be connected to the

ESP8266 / NodeMCU

Ultersonic Sensor









Esp8266 with Ultersonic sensor

And Buzzer will be connected to D0 and Red will be connected to Pin Number D1, Green Led will be connected to Pin Number D4.

Esp8266 with Ultersonic sensor 1

Source Code

This Code is valid for the New Blynk app fist you need to change three things Blynk token Number, Wifi SSID and Wifi Password then you upload the code.


Demo of Projects

We have connected the sensor with Nodemcu as per the circuit diagram. now the code is uploaded and powered on.

if you open the Blynk app, now you can see the range along with LEDs lilting up.

this concludes the project will be ready to monitor the back or front of your car. also, you can power this project using the power bank or USB through.

you also check your mobile hotspots to connect with Blynk and get the data.

Video Tutorial


Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

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

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker