摘要
出租车计价器是加强行业管理、减少司机与乘客纠纷的重要系统设备。采用89S51单片机为主控器,AT24C02在系统掉电的时候保存单价和系统时间,8段数码显示管输出,FJ2E-D10NK霍尔传感器测距,实现了对出租车计价器的多功能设计。同时采用直流电机附带霍尔元件的方法测试白天和晚上的里程。该计价器不但能实现基本的计价,而且还能根据白天,黑夜,中途等待来调节单价,同时在不计价的时候还能作为时钟为司机和乘客提供方便。
Taximeter is a crucial system device to enhance the industry management and reduce the dispute between taxi driver and passengers. In the paper, we use the 89S51 singlechip as the master controller and use AT24C02 to store unit price and system time while all the system is powered down. Meanwhile, output in 8-segment LED and ranging by FJ2E-D10NK Halt sen- sor are used so that it realizes the multifunction design of taximeter. Furthermore, the taximeter makes the use of DC motor and Hall element to test day, night mileage. It can value basically and adjust the unit price according to the difference among day, ni.qht and midway waiting. Besides, it works as a clock for taxi driver and passenaers when its leisure.
出处
《仪器仪表用户》
2012年第3期61-63,共3页
Instrumentation