GSM Controlled Level Crossing

Published on . Written by

GSM Controlled Level Crossing
In India, Railways is one of the biggest networks which is making traveling a lot easier. Generally, we have Level Crossings where roads meet railway tracks. Usually, we have one authorized person who is operating the level crossing manually whenever a train is crossing. But, Across India, there are many Railway crossing without proper level crossings. Through this project, you are going to build a unique system where you can open or close the Level Crossing just with an SMS.
Read more..
If we are talking about wireless communication, First things come into the picture are Bluetooth, Wi-Fi technology, GSM technology. Among these things, most effective communication is GSM, because it can be operated from a very long distance and Output will be very accurate because we are going to control the level crossing gates by an SMS using GSM modem. This modem uses a SIM card and operates through a subscription with the mobile operator.

GSM is generally called as Modem (Global System for Mobile Communications). It is a wireless communication module, which will be used to communicate with a computer or processor over the network. The GSM modem uses a variation of TDMA (Time Division Multiple Access) which is most commonly used of the digital wireless telephony technologies like TDMA, GSM, and CDMA.


Skyfi Labs Projects
This GSM modem needs a SIM card to operate through a network range subscribed by the network operator. This modem can be connected to a computer via a serial, Bluetooth or USB connection. This modem is also a standard GSM mobile phone with a suitable cable and software driver to connect to a USB port on your PC. Generally, this modem is preferred instead of a GSM mobile phone. In addition to this, we can add Wi-Fi module, to upload the data to the remote cloud, to access it from anywhere in the world.

You will program the microcontroller in such a way that, say whenever you send SMS to the SIM inside the GSM module, from your operational mobile to on the Level Crossing, it will close/open the gate based on the SMS you had sent. You can also innovate the system further to store the present status of the Level Crossing ( whether gates are opened or closed ) in a remote server which can be accessible from anywhere.

Project Description:

  1. Arduino/Genuino Uno: The digital and analog input/output pins equipped in this board can be interfaced to various expansion boards and other circuits. Serial communication interface is a feature in this board, including USB which will be used to load the programs from computer.
  2. GSM module: The GSM module we use is SIM 800/900 MODULE. In this modem, Bluetooth is interfaced by default. Basically, there are three types of GSM module are there. They are Data Loggers Data Pushers Data Pullers
  3. Servo Motors: A servomotor is a closed-loop servomechanism that uses position feedback to control its motion and final position. The input to its control is a signal (either analog or digital) representing the position
  4. Wi-Fi Module : ESP8266 Wi-Fi module is generally used to establish the wireless communication between the devices. But this module is not capable of 5-3V logic shifting and will require an external logic level converter.

Operation involved in the project:

    When the GSM modem is connected to the microcontroller, it communicates with a mobile via a UART protocol and requires three basic signals such as TXD, RXD, and GND. The GSM modem is connected to the microcontroller, it controls the appliances through an SMS. This modem always monitors the signals from the input. When the modem receives the SMS from an operational phone, serially that data is sent to the microcontroller. This microcontroller compares this data with the stored data. If the compared data match with the stored data, then the microcontroller generates corresponding signals to control the load.

Project Implementation:

  1. Firstly you will interface the GSM module and servo motors with Arduino Board
  2. Insert an operational SIM card into the GSM module
  3. Upload the code into the Arduino board
  4. Once all the components are online, send the Particular SMS to control the gates of level Crossing (here we use servo to open or close the gate)
  5. The present status of the level crossing can be updated in remote server and can be retrieved whenever we want

Software requirements:

  1. Arduino IDE : You will be needing Arduino IDE software to write and upload the programming logic onto the Arduino Uno board
  2. Thingspeak : Also, you need to create an account in the ThinkSpeak IoT platform to integrate the system onto the cloud and store the data online
Programming language: Arduino Programming (C++)

Kit required to develop GSM Controlled Level Crossing:
Technologies you will learn by working on GSM Controlled Level Crossing:


Any Questions?


Subscribe for more project ideas