摘 要
现在各大中城市网约车行业都已普及自动收费器,所以收费器技术的发展已成定局。虽然部分小城市尚未普及,但随着城市化进程日益深化,象征着城市面貌的网约车行业也将飞速发展,收费器普及必将大势所趋,预计未来收费器市场很有前景。收费器作为网约车的一个重要组成部分,关系着网约车司机和乘客双方利益,起着重要的作用,因此,具有良好性能的收费器对广大网约车司机朋友和乘客来说是很必要的。但是现阶段出租汽车的计费系统功能有时候并不能满足网约车司机的意愿。
本课题是网约车收费器系统的设计。整个系统是以89C52单片机为中心,采用红外传感器对电机叶片模拟车轮进行计数,实现对网约车里程的测量,并最终计算出结果。其中采用寄存器芯片AT24C02使系统在掉电的时候对单价、里程、等信息进行存储,人机交换界面采用的是1602液晶屏显示,为显示清晰使LCD背光实时打开。本电路设计的网约车收费器不但能实现计价的功能,同时还能实现根据白天、黑天调整计价模式,能处理中途等待,最终经检测本设计基本实现了设计要求的基本部分。
关键词:单片机;网约车收费器;AT24C02
Abstract
Now all the large and medium-sized cities and the industry of the urban and large-sized cities have popularized the automatic charging device, so the development of the charging technology has been established. Although some small cities have not yet been popularized, with the deepening of the process of urbanization, the industry of the network of the city, which is a symbol of the city, will develop rapidly, and the popularization of the charging device will become a trend, and it is expected that the market for future fees will be promising. As an important part of the network, the charging device plays an important role in the interests of the driver and the passenger of the network. Therefore, the charging device with good performance is necessary for the driver's friend and the passenger of the network. But at the present stage, the accounting system work of the taxi Sometimes it doesn't satisfy the wishes of the ride-hailing driver.
This paper is the design of the toll collector system. The whole system takes 89C52 single chip microcomputer as the center, uses infrared sensor to count the simulated wheel of motor blade, realizes the measurement of mileage of network ride, and finally calculates the result. The register chip AT24C02 is used to store the unit price, mileage, and other information when the system loses power. The man-machine exchange interface adopts 1602 LCD display, which makes the LCD backlight open in real time in order to display clearly. The network toll hailing device designed in this circuit can not only realize the function of pricing, but also adjust the pricing mode according to the day and dark day, which can be processed. The way to wait, and finally tested the design basically realized the basic part of the design requirements.
Key words: single chip microcomputer; network taxi toll collector; AT24C02