Monday, 30 December 2024

Toll Gate Management System

We have implemented a Toll-Gate management system with Arduino. If a car comes in front of the gate (which is detected by ultrasonic sensor), the LED glows and the buzzer sounds. On listening the buzzer sound, the security guard opens the gate using remote control. The motor rotates by 90 degrees, the gate opens and the car passes through. When the car passes through and is no more detected by ultrasonic sensor, the buzzer stops ringing and the gate closes.



A high level diagram for the Toll Gate Management System is given below.


As shown in the diagram above, the Toll Gate Management System consists of following components:

  • Arduino Microcontroller
  • Ultrasonic Sensor
  • Infrared Sensor
  • Buzzer
  • IR Remote Control
  • Stepper Motor

Let me explain each of the components to you in detail below.

Arduino UNO Microcontroller: We write a CPP program using Arduino IDE and upload it onto the microcontroller. Throughout the entire experiment, the Arduino Microcontroller is connected to the laptop and derives power out of it. We have shown a picture of Arduino UNO microcontroller below, as a reference.


Ultrasonic Sensor (HC-SR04): A reference image of an ultrasonic sensor, which is compatible with Arduino Uno is shown below. You might have to refer to the pin diagram of the ultrasonic sensor in the online manuals. However, for our experiment we have connected the Vcc pin to the Vcc of Arduino Uno. The GND pin is connected to the GND of Arduino Uno. The Echo pin is connected to digital-pin-11 of the Arduino Uno and the Trigger pin is connected to the digital-pin-12 of Arduino Uno.


Passive Buzzer: A reference image of the passive buzzer, which is compatible with Arduino Uno is shown below. The pin diagram of the passive buzzer is available online. However, for our experiment, we have connected the "+" pin of the buzzer to digital-pin-7 of Arduino and the "-" pin of buzzer goes to the GND of Arduino.









The code for the above project can be found at the below location https://gist.github.com/MindstormFan/c7873d6e690a5970fb6cb3e15c1a3ed3



No comments:

Post a Comment