Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Advanced parking system

By Nitish Kumar Jha

Aim of the Project

Automatic car parking indicator system

General application and Description of the project

Nowadays in many multiplex systems there is a severe problem for car parking systems. There are many lanes for car parking, so to park a car one has to look for the all lanes. Moreover there is a lot of men labor involved for this process for which there is lot of investment. So the need is to develop a system which indicates directly which parking slot is vacant in any lane. The project involves a system including infrared transmitter and receiver in every lane and a LED display outside the car parking gate. So the person entering parking area can view the LED display and can decide which lane to enter so as to park the car.

Conventionally, car parking systems does not have any intelligent monitoring system. Parking lots are monitored by human beings. All vehicles enter into the parking and waste time for searching for parking slot. Sometimes it creates blockage. Condition become worse when there are multiple parking lanes and each lane have multiple parking slots. Use of automated system for car parking monitoring will reduce the human efforts. Display unit is installed on entrance of parking lot which will show LEDs for all Parking slot and for all parking lanes. Empty slot is indicated by the respective glowing LED.

Working of the circuit and image of the model

IR Sensors are placed inside the parking slot to detect the presence of the vehicle in slot. If the slot is not vacant then a red led will glow under the specified slot number at the entrance of the parking area or else green led will glow. The Arduino takes the data from the IR sensors and compares the received value with the threshold value and accordingly supplies power to the desired led.

Cardboard Model of Advanced Parking System

Fig. 1: Cardboard Model of Advanced Parking System

Connection for the IR sensors

Circuit Diagram of IR Sensor

Fig. 2: Circuit Diagram of IR Sensor

Block Diagram

 

Block Diagram of Advanced Parking System

Fig. 3: Block Diagram of Advanced Parking System

Description of the Circuit

In circuit there are 3 IR sensors are used each at 3 parking slot. These IR sensors are connected to the pin A0, A1, A2 respectively. The led’s are connected at the Digital I/O pins i.e., pin 2 for RED1, pin 3 for GREEN1, pin 4 for RED2, pin 5 for GREEN2, pin6 for RED3 and pin 7 for GREEN3.

When the slot1 will be vacant then IR receiver will not receive any signal. Hence GREEN1 will glow. If any signal is received by the IR receiver then it will be compared to the threshold value and if it is more than the threshold value then RED1 will glow. This process will be similar to all other slots.

Components Required

1.) ARDUINO UNO

Typical Image of Arduino Uno

Fig. 4: Typical Image of Arduino Uno

2.) IR SENSORS

 

Typical Image of IR Transmitters and Receivers

Fig. 5: Typical Image of IR Transmitters and Receivers

3.) LED RED AND GREEN

Typical Image of Red LED

 Fig. 6: Typical Image of Red LED

4.) Breadboard

Typical Image of Breadboard

Fig. 8: Typical Image of Breadboard

5.) Male-male wire

Typical Image of Male-Male Wires

Fig. 9: Typical Image of Male-Male Wires

6.) Battery

Typical Image of Battery

Fig. 10: Typical Image of Battery

7.) Soldering Iron and Wire

Typical Image of Soldering Iron and Wire

Fig. 11: Typical Image of Soldering Iron and Wire

Project Source Code

###

const int analogInPin0 = A0;

const int analogInPin1 = A1;

const int analogInPin2 = A2;// Analog input pin that the ir sensor is attached to

const int analogOutPin0 =2;  //r1Analog output pin that the LED is attached to

const int analogOutPin1 =3;  //g1

const int analogOutPin2 =4;  //r2

const int analogOutPin3 =5;  //g2

const int analogOutPin4 =6;   //r3

const int analogOutPin5 =7;   //g3

int sensorValue0 = 0;        // value read from the ir sensor

int outputValue0 = 0;        // value output to the PWM (analog out)

 

int sensorValue1 = 0;        // value read from the ir sensor

int outputValue1 = 0;

int sensorValue2 = 0;        // value read from the ir sensor

int outputValue2 = 0;

void setup() {

  // initialize serial communications at 9600 bps:

  Serial.begin(9600);

}

 

void loop() {

  // read the analog in value:

  sensorValue0 = analogRead(analogInPin0);

 outputValue0 = map(sensorValue0, 0, 1023, 0, 255);

 

 sensorValue1 = analogRead(analogInPin1);

 outputValue1 = map(sensorValue1, 0, 1023, 0, 255);

sensorValue2 = analogRead(analogInPin2);

 outputValue2 = map(sensorValue2, 0, 1023, 0, 255);

  // change the analog out value:

  if(outputValue0 < 240)

  {

  analogWrite(analogOutPin0, 255);

  analogWrite(analogOutPin1,0);

  }

  else

  {

  analogWrite(analogOutPin0, 0);

  analogWrite(analogOutPin1, 255);

  }

 

  if(outputValue1 > 150)

  {

  analogWrite(analogOutPin2, 255);

  analogWrite(analogOutPin3,0);

  }

  else

  {

  analogWrite(analogOutPin2, 0);

  analogWrite(analogOutPin3, 255);

  }

if(outputValue2 > 150)

  {

  analogWrite(analogOutPin4, 255);

  analogWrite(analogOutPin5,0);

  }

  if(outputValue2 < 150)

  {

  analogWrite(analogOutPin4, 0);

  analogWrite(analogOutPin5,255);

  }

 

  // print the results to the serial monitor:

  Serial.print("sensor0 = n" );

  Serial.print(sensorValue0);

  Serial.print("n output0 = ");

  Serial.println(outputValue0);

  Serial.print("sensor1 = " );

  Serial.print(sensorValue1);

  Serial.print("t output1 = ");

  Serial.println(outputValue1);

  Serial.print("sensor2 = " );

  Serial.print(sensorValue2);

  Serial.print("t output2 = ");

  Serial.println(outputValue2);

}

###

 

Circuit Diagrams

Circuit-Diagram-Advanced-Parking-System


Filed Under: Electronic Projects
Tagged With: parking
 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Band Pass Filte
  • Making a ducted soldering fan?
  • Slope compensation ramp calculation for UCC38084
  • Timer MC14541B wrong delay
  • Pull up via GPIO

RSS Electro-Tech-Online.com Discussions

  • Best way to reduce voltage in higher wattage system?
  • Need a ducted soldering fan for solder smoke extraction
  • Power failure relay options
  • DIY bluetooth speaker
  • Turn CD4029 on/off with TTP223
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering