Monday, February 23, 2026
HomeEngineering Projects For YouRailway Track Gauge and Superelevation (Cant) Measurement System using Arduino

Railway Track Gauge and Superelevation (Cant) Measurement System using Arduino

efy-tested-1

This project presents a portable Arduino-based digital instrument for railway track inspection that measures super elevation (cant), track gauge, and rail temperature. Built around an Arduino Nano, the system uses an MPU6050 IMU for tilt measurement, a VL53L0X laser time-of-flight sensor for gauge measurement, and a DS18B20 digital sensor for monitoring rail temperature.

All measurements are displayed on an SSD1306 OLED, with a single push-button used to switch between modes. Super elevation is calculated using the relation SE = Track Gauge × tan(θ). The system is battery-powered, compact, low-cost, and suitable for field use, offering a digital alternative to manual railway measurement tools. Optional upgrades include Bluetooth connectivity, data logging, and cloud integration for long-term monitoring.

Railway track laying, construction, and maintenance demand precise measurement of the gauge between two parallel tracks and superelevation, that is, the height difference between rails. For long welded rail tracks, track temperature monitoring is also critical, as rail behaviour is highly sensitive to weather-induced thermal variations. The availability of low-cost sensors and microcontrollers such as Arduino now enables the development of compact digital systems that perform these measurements automatically with improved accuracy.

- Advertisement -

This system uses an Arduino Nano as the main controller to measure and display track level, its gauge, and temperature. An MPU6050 sensor is employed for tilt (level) measurement, a VL53L0X laser distance sensor measures the track gauge or gap, and a DS18B20 sensor monitors rail track temperature. All measured parameters are clearly displayed on an OLED display, while a single push-button enables switching between different measurement modes.

Railway Track Gauge and Superelevation (Cant) Measurement System using Arduino
Fig. 1: Author’s prototype o Railway Track Gauge and Superelevation (Cant) Measurement System using Arduino

POC Video Tutorial

Powered by a small battery, the system is fully portable and well suited for field use. It is intended for hobbyists, field engineers, and DIY enthusiasts who require a simple, reliable, and accurate electronic measuring instrument. Fig. 1 shows the author’s prototype, and the required components are listed in the Bill of Materials table.

- Advertisement -
Bill Of Materials
ComponentsQuantity
Arduino Nano (MCU1)1
SSD1306 OLED display (OLED1)1
MPU6050 IMU sensor (S1)1
VL53L0X TOF sensor (S2)1
DS18B20 sensor (S3)1
3.7V battery1
TP4056 battery charger and power module (U2)1
4.7k resistor (R1)1
Push-to-on switch (SW1)1

Recommended: Buy electronics components online from verified suppliers.

Circuit and Working

Fig. 2 shows the circuit diagram of the digital gauge and super elevation measuring system. The circuit is built around an Arduino Nano (MCU1), a TP4056 module (U2), an SSD1306 OLED display (OLED 1), an MPU6050 IMU sensor (S1), a VL53L0X Time-of-Flight sensor (S2), a DS18B20 temperature sensor (S3), and a few additional components. The Arduino Nano interfaces with three sensors and an OLED display to measure track level, gauge, and temperature. The design is compact and suitable for portable field use.

EFY Icon

EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.

Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.

Good News: You can register to our website for FREE! CLICK HERE to register now.

Already a registered member? If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)

kamal Das
kamal Das
Kamal Das is an electronics tinkerer working as a Track Maintainer in Eastern Railway under SSE/PWay/TBAE, Howrah Division.

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics

×