Treadle

Electrical switch operated by the train wheels, often for level crossing approach.