






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A ppt on railway gate controller project . This ppt can help you to make a simple railway gate controller project. for more information and circuit diagram see the ppt slides.
Typology: Slides
1 / 11
This page cannot be seen from the preview
Don't miss anything!







The objective of this project is to create an automatic railway gate control system which can be implemented to eliminate human error. The Automatic Railway Gate Control System using ultrasonic Sensor & Arduino is a microcontroller based system that functions our machinery. We combine hardware and software for this specific task.
Arduino:
This sensor is used for the detection and distance calculations of objects. It has a trigger pin which transmits ultrasonic waves and the other (echo) pin receives reflected waves.
When the ultrasonic sensor receives the reflected signal, it calculate the distance and duration and sends signal to arduino which drives the motor accordingly.
As we have used servo motor so we included servo library and initialized a servo variable. Trigger pin of ultrasonic sensor is given to the arduino pin 9 and echo pin with arduino pin 8. In void setup we attached servo to arduino pin 7 and set the pinModes of trigger pin and echo pin as input and output. In void loop a function ultra is defined in which we used PulseIn command which is used to take input from the echo pin, and thus distance is calculated from the formula. In void loop we created a loop that if distance is smaller than the specified value motor will be activated.
An Automatic Railway Gate Control is implemented with very simple hardware and easy control. Human interference at level crossings can be removed with the help of this project and many railway level crossing accidents can be prevented.