基于51单片机的出租车计价器.doc
约23页DOC格式手机打开展开
基于51单片机的出租车计价器,电子设计大赛时,自己设计的基于51单片机控制的出租车计价器,包括硬件电路以及程序代码9700字 23页摘 要:出租车计价器是乘客与司机双方的交易准则,它是出租车行业发展的重要标志,是出租车中最重要的工具。它关系着交易双方的利益。具有良好性能的计价器无论是对广大出租车司机朋友还是乘客来说都是很必要的。因此,汽车计价器的研...
内容介绍
此文档由会员 wenqing89 发布
电子设计大赛时,自己设计的基于51单片机控制的出租车计价器,包括硬件电路以及程序代码
9700字 23页
摘 要:出租车计价器是乘客与司机双方的交易准则,它是出租车行业发展的重要标志,是出租车中最重要的工具。它关系着交易双方的利益。具有良好性能的计价器无论是对广大出租车司机朋友还是乘客来说都是很必要的。因此,汽车计价器的研究也是十分有一个应用价值的。 而采用模拟电路和数字电路设计的计价器整体电路的规模较大,用到的器件多,造成故障率高,难调试,对于模式的切换需要用到机械开关,机械开关时间久了会造成接触不良,功能不易实现。而采用单片机进行的设计,相对来说功能强大,用较少的硬件和适当的软件相互配合可以很容易的实现设计要求,且灵活性强,可以通过软件编程来完成更多的附加功能。针对计费模式的切换,通过软件编程就可以轻易而举的实现。避免了机械开关带来的不稳定因素。另外在本方案中使用了发光的数码管显示,数据信息一目了然,并且即使是成品也可以方便的修改使用界面,更可根据不同的公司客户使用不同的局面。
关键词:出租车计价器 51单片机 控制
Taximeter Based on MCU
Abstract:Taximeter is both passengers and drivers of the transaction criteria, it is the taxi industry an important symbol, a taxi is the most important tools. It relates to the interests of both transactions. Has a good performance regardless of the meter is a vast number of taxi drivers or passengers are very necessary. Therefore, the car meter is also very much a study of value. The use of analog circuits and digital circuit design of the meter as a whole circuit of a larger scale, using the device, a failure rate is high and difficult to debug, the pattern of switching need to use mechanical switches, mechanical switch will cause a long-time contacts Bad, functions not easy to achieve. SCM used for the design, a relatively powerful, with less hardware and appropriate software can easily coordinate with each other to achieve the design requirements, flexibility and strong, can be programmed by software to complete more of the additional Function. Pricing model for the switch, software programming and can easily cite the achievement. To avoid a mechanical switch the destabilizing factors. Also in this programme that the use of a LED, can be more friendly to use interface. Data information at a glance, and even the finished product can also facilitate the use of interface changes, according to different customers using a different situation.
Keywords: Taximeter 89C52 MCU control
目 录
1 绪论 1
2 方案选择与论证 2
2.1功能要求 2
2.2方案论证 2
3 系统硬件的设计 3
3.1 AT89S52结构及其功能 3
3.2 LM358结构及其功能 8
3.3 单元电路 9
3.4 整体电路 10
4 系统软件的设计 11
4.1 初始化程序 11
4.2 主程序 11
5 调试及性能分析 13
5.1调试与测试 13
5.2性能分析 13
6 结论 13
致谢 14
参考文献 15
附录 16
9700字 23页
摘 要:出租车计价器是乘客与司机双方的交易准则,它是出租车行业发展的重要标志,是出租车中最重要的工具。它关系着交易双方的利益。具有良好性能的计价器无论是对广大出租车司机朋友还是乘客来说都是很必要的。因此,汽车计价器的研究也是十分有一个应用价值的。 而采用模拟电路和数字电路设计的计价器整体电路的规模较大,用到的器件多,造成故障率高,难调试,对于模式的切换需要用到机械开关,机械开关时间久了会造成接触不良,功能不易实现。而采用单片机进行的设计,相对来说功能强大,用较少的硬件和适当的软件相互配合可以很容易的实现设计要求,且灵活性强,可以通过软件编程来完成更多的附加功能。针对计费模式的切换,通过软件编程就可以轻易而举的实现。避免了机械开关带来的不稳定因素。另外在本方案中使用了发光的数码管显示,数据信息一目了然,并且即使是成品也可以方便的修改使用界面,更可根据不同的公司客户使用不同的局面。
关键词:出租车计价器 51单片机 控制
Taximeter Based on MCU
Abstract:Taximeter is both passengers and drivers of the transaction criteria, it is the taxi industry an important symbol, a taxi is the most important tools. It relates to the interests of both transactions. Has a good performance regardless of the meter is a vast number of taxi drivers or passengers are very necessary. Therefore, the car meter is also very much a study of value. The use of analog circuits and digital circuit design of the meter as a whole circuit of a larger scale, using the device, a failure rate is high and difficult to debug, the pattern of switching need to use mechanical switches, mechanical switch will cause a long-time contacts Bad, functions not easy to achieve. SCM used for the design, a relatively powerful, with less hardware and appropriate software can easily coordinate with each other to achieve the design requirements, flexibility and strong, can be programmed by software to complete more of the additional Function. Pricing model for the switch, software programming and can easily cite the achievement. To avoid a mechanical switch the destabilizing factors. Also in this programme that the use of a LED, can be more friendly to use interface. Data information at a glance, and even the finished product can also facilitate the use of interface changes, according to different customers using a different situation.
Keywords: Taximeter 89C52 MCU control
目 录
1 绪论 1
2 方案选择与论证 2
2.1功能要求 2
2.2方案论证 2
3 系统硬件的设计 3
3.1 AT89S52结构及其功能 3
3.2 LM358结构及其功能 8
3.3 单元电路 9
3.4 整体电路 10
4 系统软件的设计 11
4.1 初始化程序 11
4.2 主程序 11
5 调试及性能分析 13
5.1调试与测试 13
5.2性能分析 13
6 结论 13
致谢 14
参考文献 15
附录 16