International Islamic University Chittagong Faculty of Science & Engineering Dept. of Computer Science & Engineering Submitted to Abdullahil Kafi Asst. Professor, Dept. of CSE,IIUC Submitted by Ahasanul Kalam Akib Misbah Ahmad Chowdhury Fahim Kawsar Ahmed Bhuiyan MD Sarwar Hossain Musfiq Muntasir MD Sohel Mahmud
Provide an automatic railway gate at a Level crossing & replacing the gates operated by the gatekeeper to:  Reduce the time for closing and opening the gates.  Higher reliability as it is not subjected to manual errors.  Provide safety to the road users by reducing the accidents.
An embedded system is :  A microcontroller / microprocessor based system that is built to control the functions of equipment, machinery or plant.  Combination of hardware and software for specific application.
 Hardware :  Arduino Uno R3 board  Power Supply  Buzzer  LED as Light Signals  DC motor  IR Obstacle Sensors  L293D Motor Driver  Software :  Arduino Software (IDE)
 The arrival of train is detected by the sensors placed on either side of the gate at about 1 km from the gates.  Once the sensors sense the train, the signal is sent to Arduino.  Subsequently, buzzer indication and light signals on either side are provided to the road users indicating the closure of gates. Continue…..
 After 2 minutes of indicating light signal & buzzer indication, Arduino sent a signal to the motor driver to operate the motor and close the gate.  After passing the level crossing the opposite sensors detect the departure of the train. So Arduino get again another signal fr0m the sensors for stopping buzzer & opening the gates.  After 1 minutes of stopping buzzer Arduino sent a signal to the motor driver to open the gate.
IR Sensors Arduino Buzzer & Light Signal (After 2 minutes) Motor Driver Gate
What is Arduino ?  Arduino is an open-source prototyping platform based on easy-to-use hardware and software.Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you have to use the Arduino programming language (based onWiring), and the Arduino Software (IDE).
In our project we use IR sensor IR Sensors work by using a specific light sensor to detect a select light wavelength in the Infra-Red (IR) spectrum. By using an LED which produces light at the same wavelength as what the sensor is looking for, you can look at the intensity of the received light. When an object is close to the sensor, the light from the LED bounces off the object and into the light sensor. This results in a large jump in the intensity.
 As the IR obstacle sensor can sense all objects come in front of it, it might send false signal even if there is any object other than a train.  So in real-life, we recommend to use the frequency of the railway lines when a train appears as the signal to control the gate.  As we used a toy train in this project, we could not measure the frequency of the lines, so we use the IR obstacle sensors.
Thank You
Automatic Railway Gate Control System with Arduino

Automatic Railway Gate Control System with Arduino

  • 1.
    International Islamic UniversityChittagong Faculty of Science & Engineering Dept. of Computer Science & Engineering Submitted to Abdullahil Kafi Asst. Professor, Dept. of CSE,IIUC Submitted by Ahasanul Kalam Akib Misbah Ahmad Chowdhury Fahim Kawsar Ahmed Bhuiyan MD Sarwar Hossain Musfiq Muntasir MD Sohel Mahmud
  • 2.
    Provide an automaticrailway gate at a Level crossing & replacing the gates operated by the gatekeeper to:  Reduce the time for closing and opening the gates.  Higher reliability as it is not subjected to manual errors.  Provide safety to the road users by reducing the accidents.
  • 4.
    An embedded systemis :  A microcontroller / microprocessor based system that is built to control the functions of equipment, machinery or plant.  Combination of hardware and software for specific application.
  • 5.
     Hardware : Arduino Uno R3 board  Power Supply  Buzzer  LED as Light Signals  DC motor  IR Obstacle Sensors  L293D Motor Driver  Software :  Arduino Software (IDE)
  • 7.
     The arrivalof train is detected by the sensors placed on either side of the gate at about 1 km from the gates.  Once the sensors sense the train, the signal is sent to Arduino.  Subsequently, buzzer indication and light signals on either side are provided to the road users indicating the closure of gates. Continue…..
  • 8.
     After 2minutes of indicating light signal & buzzer indication, Arduino sent a signal to the motor driver to operate the motor and close the gate.  After passing the level crossing the opposite sensors detect the departure of the train. So Arduino get again another signal fr0m the sensors for stopping buzzer & opening the gates.  After 1 minutes of stopping buzzer Arduino sent a signal to the motor driver to open the gate.
  • 9.
    IR Sensors Arduino Buzzer & LightSignal (After 2 minutes) Motor Driver Gate
  • 10.
    What is Arduino?  Arduino is an open-source prototyping platform based on easy-to-use hardware and software.Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you have to use the Arduino programming language (based onWiring), and the Arduino Software (IDE).
  • 11.
    In our projectwe use IR sensor IR Sensors work by using a specific light sensor to detect a select light wavelength in the Infra-Red (IR) spectrum. By using an LED which produces light at the same wavelength as what the sensor is looking for, you can look at the intensity of the received light. When an object is close to the sensor, the light from the LED bounces off the object and into the light sensor. This results in a large jump in the intensity.
  • 13.
     As theIR obstacle sensor can sense all objects come in front of it, it might send false signal even if there is any object other than a train.  So in real-life, we recommend to use the frequency of the railway lines when a train appears as the signal to control the gate.  As we used a toy train in this project, we could not measure the frequency of the lines, so we use the IR obstacle sensors.
  • 14.