A presentation on Railway Gate Controller Project, Slides of Microprocessors

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

2019/2020

Uploaded on 09/27/2020

i_usama
i_usama 🇵🇰

4.7

(3)

5 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Automatic
railway gate
controller
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download A presentation on Railway Gate Controller Project and more Slides Microprocessors in PDF only on Docsity!

Automatic

railway gate

controller

Introduction & Objective:

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:

Arduino consists of both a physical

programmable circuit board (often referred

to as a microcontroller) and a piece

of software, or IDE (Integrated

Development Environment) that runs on

your computer, used to write and upload

computer code to the physical board.

Ultrasonic sensor:

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.

Working of the project:

When the ultrasonic sensor receives the reflected signal, it calculate the distance and duration and sends signal to arduino which drives the motor accordingly.

Circuit diagram:

Coding explanation:

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.

Applications:

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.