- 18
- 0
- 约2.75万字
- 约 35页
- 2021-06-18 发布于天津
- 举报
基于单片机的出租车计价器的设计
目 录
前 言 2
第 1 章 系统方案3
第 1.1 节 毕设背景 3
第 1.2 节 设计目的与要求 3
第 1.3 节 方案论证与比较 4
第二章 系统硬件设计6
第 2.1 节 硬件设计条件 6
第 2.2 节 AT89C51 单片机简介 6
第 2.3 节 硬件组成 8
第 2.4 节 硬件电路设计 14
第三章 系统软件设计 15
第 3.1 节 软件总体设计 15
第 3.2 节 系统程序设计 15
第四章 系统的软硬件调试 17
第 4.1 节 软件调试 17
第 4.2 节 硬件电路 18
第 4.3 节 硬件检测 18
结论 20
参考文献 21
致 谢 22
附 录23
附录 1 程序源代码 23
附录 2 电路原理图34
附录 3 电路实物图34
i
基于单片机的出租车计价器的设计
【摘要】:本次毕业设计用的核心芯片是单片机AT89C51 ,计算路程长度用的芯片
为 A44E 霍尔传感器测距。因为该芯片需要实际测量到车轮的旋转周数,所以在本次设计
中采用按键。采用AT24C02 实现在系统掉电的时候保存单价,利用 74LS245 增强发光数
码管的发光强度。显示部分采用的是发光数码管。按键部分有开始计价、加价、减价、
白天和黑夜价格的转换、清零等。单价、起步路程、起步价格这些数据都是按照常州的
价格来定事先在程序中写好。
【关键词】:出租车计价器,单片机 AT89C51,AT24C02 掉电保存
[Abstract]: This graduate design uses the core chip Single Chip
Microcomputer AT89C51. The chip of calculate the path length is A44E hall
sensor measuring range. Because the chip need actually measure the rotation
weeks of the wheel, this design uses buttons. When system power-fail, it uses
AT24C02 to realize keeping unit price. It uses 74 LS245 to strengthen the
luminous intensity of the luminescence digital tube. The display part adopts the
luminescence digital tube. Button part has start invoicing, price markup, price cut,
conversion price of the day and night, zero cleaning, etc. These data such as unit
price, start journey, and starting price are in advance written in program according
to the Chang-Zhou price.
[Key words]: Taximeter; Single Chip MicrocomputerAT89C51; AT24C02
power-fail saving
1
前 言
随着物质生活条件的改善,以及人力车逐步淘汰,越来越多的人开始选择价格适中
的出租车[1]。尤其是年轻的朋友短途
原创力文档

文档评论(0)