As the development of the taxi industry in China, it became an important component of the urban traffic gradually. As the measurement of the taxi industry’s quality of service, automatic meter became an important part of the taxi industry. Nowadays, most cities of China have universal automatic meter.
The system I designed applies the 89S51 MCU as the main chip, uses a motor with a turntable in place of wheel. When a user clicks the “start” button, the system can detect the continuous pulse from Hall sensor, count the number of wheel’s circle rotating, calculate the traveling distance of taxi and charge relying on the program designed in the chip. The data was outputted on the digital display tubes. When a user clicks the “stop” button, the system adds 1 Yuan automatically based on the original charge for the fuel surcharge.
Keywords: 89S51 MCU, Hall sensor, 8 digital display tubes.