SMART CAR PARKING SYSTEM IoT Project using BLYNK LOCAL SERVER: PRACTICAL

Shubham Kumar Gupta
4 min readMar 26, 2021

BOHOT KUCH HAI RE BABA 😋

GPS, SPYCAM, REMOTE ANDROID CONTROL, PARKING SPACE LIVE CHECK, REMOTE, LIVE STATUS VIEWER, BOOKING SYSTEM, ADMIN TERMINAL, NOTIFICATION, PARKING STATS, REPORT GENERATION

CHECKOUT THE VIDEO

Let’s start with boring terms :(

Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi, and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes

There are docs available @ [blynkkk/blynk-server]

INTRODUCTION

Car parking is a major issue in modern congested cities of today. There are too many vehicles on the road and not enough parking space. Finding parking space is a problem for the driver. Sometimes it kills a lot of time for the driver to find a parking space. This has led to the need for efficient parking management systems. IoT-based project smart parking system brings a solution. A major purpose of this project is to avoid unnecessary traveling by a driver for the parking area. Monitoring the whole area at the run time gives the driver an image of the entire parking area, and the user can select that free parking space.

NOW THE FUN BEGINS

IMPLEMENTED ATTRIBUTES

I have implemented all the objectives that were given to us.

They are listed as below:

  • Sense the parking slot occupancy in a car parking plot of a city
  • Location will be tracked by the associated GPS sensor
  • Collected data will be transmitted to the server on the Internet for storing and processing
  • A user/driver can monitor the data using a Mobile App in which data are fed from the server
  • A user/driver can inform willingness to reserve a slot in the parking plot
  • Inform the user/driver about his booking (time duration and cost) through SMS/Mobile App
  • The system will sense if a vehicle has arrived at the gate for automated gate opening.
  • Display the free parking slots in the LCD display placed in every parking plot

HARDWARE USED

  1. Few IR Sensors

2. Two DC Motors and Motor Controlling Board

3. GPS Sensors

4. LCD Display

5. Arduino

6. Node MCU

7. Breadboard / PCB

8. Adapters, Cables, LEDs, Wires

9. Smartphone

10. Google Suite

11. BLYNK APPLICATION

CIRCUIT DIAGRAM

ARDUINO CODE

NODEMCU CODE

Now Let’s Create a BLYNK Local Server to surpass the limit of the battery

CLONE THIS REPO

gptshubham595/BLYNK_LOCAL_SHARE (github.com)

change credentials in mail.properties file

// in nodemcu code change your IP address

Blynk.begin(auth, ssid, pass,IPAddress(192,168,43,22), 8081);

Make sure you have java installed :)

This will start blynk server in your PC connect your PC and mobile on the same network

CHANGE YOUR IP IN server.properties file

open cmd

run ipconfig

And just run this command in cmd to start Blynk server

java -jar server.jar -dataFolder serverdata -mailConfig mail.properties -serverConfig server.properties

Log in to your application seeing (server. properties file)

Username: admin@blynk.cc

Psswd: admin

Couldn’t access my local server admin page! — Blynk Servers / Local Blynk Server — Blynk Community

OPEN THIS URL https://YOUR IP:9443/admin

DOWNLOAD BLYNK APP FROM PLAYSTORE

select server settings in app

Choose your IP

Sign UP now easily:)

BLYNK APP IMPORT

Scan this using your Blynk app and this will create a full app

SPYCAM

Download RTSP APP on another phone:

RTSP Camera Server — Apps on Google Play

Now place your mobile phone on top of your project

and change URL in BLYNK app rtsp://IP

NOW RUN THIS HAPPILY :)

USER MANUAL

  1. Connect your PC with WIFI Hotspot and insert your credentials in the nodemcu code
  2. 2. Upload these codes to ARDUINO UNO and NODEMCU respectively
  3. 3. Connect all hardware as shown in the circuit diagram

--

--