Freight train positioning and axle safety monitoring are the key to railway traffic supervision, which can be achieved by sensors based on Internet of Things (IoT) technology, and the energy harvesting technology is the best solution to those sensors due to neither electrical power nor communication system is available on railway wagons. This paper proposes a self-powered railway wagon monitoring sensor (SpRWMS) solution based on the geophone, which has the characteristics of mature technology and simple structure, and can convert mechanical vibration of wagons into electrical energy. Since the vibration is so weak that the voltage induced by the geophone is very weak, hence, this paper proposes an electromagnetic generator (EMG) constructed by geophone matrix and an energy management interface (EMI) to convert the induced potential into the voltage that can drive the circuit system of sensors. In this paper, the implementation and performance of EMI will be focused on, and the energy harvesting system analysis prior to developing prototypes and conducting field trail. The design principles and prototypes of EMG and EMI are proposed based on the parameters of vibration profiles collected by a data logger, and the performance of the SpRWMS prototype is evaluated on a trial run freight train. Experimental results show that the proposed EMI can extract the energy generated by EMG more effectively and increase the voltage across the storage capacitor from 2V to 3.3V, that is, our proposed EMI and EMG can convert the railway wagon vibrational energy into the electrical energy form required by the circuitry of sensors. INDEX TERMS Energy harvesting, Internet of Things, vibration.