摘 要
介绍基于AT89S52单片机的一款停车场自动停车收费管理系统,该自动停车收费系统采用比传统停车计费方式更优越的红外线检测计费方式,采用红外线检测计费方式,所需存储容量小,具备了自动开启关闭大门功能、自动计费功能、显示功能(显示停车场状况)、查询功能,而且收费方式可以调节,使系统更具灵活性。该自动停车收费系统操作简单,价格低廉,安装调试方便,很好地解决了临时停车场的管理收费问题。整个自动停车收费管理系统操作简单、价格低廉、安装调试方便,能够满足管理临时停车场的要求。本系统的实际开发使用将大大节省临时停车场的管理费用及人手,提高临时停车场的利用效率。此外,该自动停车收费管理系统还可以方便地实现信息加密和各种功能扩展,通过改进可成为通用型停车场收费管理系统。
关键词:单片机;停车场;自动停车收费系统
ABSTRACT
The management system introducing that one money parking lot automation motor stoppage of monolithic machine charges owing to AT89S52, is the system parking voluntarily charging's turn to adopt the plan parking ratio tradition to waste more advantageous way infrared ray detecting plan fee way , adopt infrared ray to check plan fee way, required memory capacity has been small , have had the function (situation demonstrating parking lot) , inquiry function opening automatically closing the entrance door function , the automation meter fee function , showing, and charge way is not bad adjust , make flexibility have more systematically. That automation motor stoppage charges systematically handling a simplicity , price is cheap , the installation debugging goes to the lavatory, problem having resolved charge for provisional parking lot administration very good. Charge for entire automation motor stoppage manages the system operation simplicity , price is cheap , assembles a debugging to go to the lavatory. Be able to satisfy the call for managing provisional parking lot's. Originally systematic reality develops administration cost and hand being put into use will economize provisional parking lot greatly , improves provisional parking lot utilization ratio. Besides, be the management system parking voluntarily charging's turn to be able to realize encrypted and various information function expansion conveniently, charge for parking lot manages system by improving but becoming the type being applied or used universally.
Key Words:Monolithic machine; Parking lot; Charge for automation motor stoppage is systematic
目 录
1 引言 1
2 课程任务 3
2.1 系统框架 3
2.2 工作流程 4
3 主要的功能元器件介绍 5
3.1元器件介绍 5
3.1.1 74LS138 5
3.1.2 LM358 6
3.2 LED显示部分 7
3.2.1 LED显示器 7
4 单片机AT89S52简介 8
4.1 AT89S52的引脚及功能 8
4.1.1 I/O口: 9
4.1.2 P3口的第二功能 10
4.2 特殊功能寄存器 10
4.2.1 看门狗定时器 11
4.2.2 定时器 2 12
5 程序设计 16
5.1 如何进行程序设计 16
5.2 程序流程图 16
5.3 系统程序 17
结 论 24
参考文献 25
附录一: 电路原理图 26
致 谢 27