Then we will place two IR transmitter receiver dyads with some distance, along the road. And by calculating the time difference between the activation of two IR receivers as per the law sense, the speed of the train can be calculated. So now we will design the design in such a way that the regulator will be connived to the two IR receivers and to the GSM modem through a line motorist IC MAX232 for periodical communication.