Aim
The aim of the project is to open/close the gate
Problem statement
Ensuring the safe passage of trains through railway crossings is a critical concern. The challenge is to design an automatic railway gate control system that can detect approaching trains, lower or raise the crossing gates efficiently, and provide timely warnings to road users, all while considering variations in train speeds, the number of tracks, and reliability in diverse weather conditions.
Material used
Input: 2 IR Proximity Sensor
Brain: TinkerSpace Brain Board
Output: Servo motor
Battery: 5V Lithium-ion rechargeable battery
Component description
2 IR Proximity sensor
The function of IR Proximity sensor is to detect the object and send the signal to the Brain unit (TinkerSpace board).
Servo motor
The function of the Servo Motor to open or close the gate
TinkerSpace Brain Board
TinkerSpace board acts as brain of this project, its function is to monitor IR Proximity Sensors and control the Servo Motor.
Battery
5V Lithium-Ion battery is used to power-up this project
Working description
Case – 1: When the train arrives, the IR proximity sensor (input) turns ON and sends signal 1 to the TinkerSpace brain board (brain). The sensor board closes the gate with the servo motor (output).
Case – 2: When no train is detected, the IR proximity sensor turns OFF and sends signal 0 to the TinkerSpace brain board. The sensor board opens the gate with the servo motor.
IR Proximity sensor turns on – Gate closes (0 degree)
IR Proximity sensor turns OFF – Gate opens (90 degree)
Circuit Design (DesignSpace)
Step 1: Open TCode App -> Create New project -> Open DesignSpace
Step 2: Connect the IR Proximity sensor to INPUT 1 and INPUT 2 of the Brain board.
Step 3: Connect Servo Motor to Output 1 of the Brain Board.
Step 4: Connect supply and test project.