Proximity sensor is a two-part gadget system that helps shunt or prevent collisions by alerting of proximity of obstacles in the way of a train.