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.
The code for the above project can be found at the below location https://gist.github.com/MindstormFan/c7873d6e690a5970fb6cb3e15c1a3ed3