摘 要
介绍基于AT89C51单片机的一款停车场自动停车收费管理系统,该自动停车收费系统采用比传统停车计费方式更优越的红外线检测计费方式,采用红外线检测计费方式,所需存储容量小,具备了自动开启关闭大门功能、自动计费功能、显示功能(显示停车场状况)、查询功能,而且收费方式可以调节,使系统更具灵活性。该自动停车收费系统操作简单,价格低廉,安装调试方便,很好地解决了临时停车场的管理收费问题。整个自动停车收费管理系统操作简单、价格低廉、安装调试方便,能够满足管理临时停车场的要求。本系统的实际开发使用将大大节省临时停车场的管理费用及人手,提高临时停车场的利用效率。此外,该自动停车收费管理系统还可以方便地实现信息加密和各种功能扩展,通过改进可成为通用型停车场收费管理系统。
关键词:单片机;停车场;自动停车收费系统
Abstract
This paper introduces an automatic parking toll management system based on AT89C51 singlechip. The system adopts infrared detection and charging method which is more superior than the traditional parking charging method. The required storage capacity is small, with automatic opening and closing door function, automatic billing function, display function (display parking lot status, query function, and the charge mode can be adjusted to make the system more flexible. The automatic parking system is simple in operation, low in price, convenient in installation and debugging, and can solve the problem of the management charge of the temporary parking lot. Automatic parking charge management The system has the advantages of simple operation, low price, convenient installation and debugging, and can meet the requirements of managing the temporary parking lot. The actual development and use of the system will greatly reduce the management costs and manpower of the temporary parking lot and improve the utilization efficiency of the temporary parking lot. In addition, the automatic parking charge management system can easily realize information encryption and various functional extensions, and can become a general parking fee management system through improvement.
Keywords: single chip microcomputer; parking lot; automatic parking charge system
目 录
目录 IV
1 绪论 1
1.1 研究背景 1
1.2 国内外研究现状 1
1.3 课题的意义和解决的问题 2
2 设计原理 2
2.1 系统总体的框架 2
2.2 系统工作过程 3
3 系统硬件设计 4
3.1 单片机的设计 4
3.2 AT89C51的引脚及功能 4
3.3 采样部分介绍 8
3.3.1 检测部分的设计 8
3.3.2 反射型光电传感器模块介绍 9
3.3.3 比较器LM393简介 9
3.4 显示模块的设计 10
3.4.1 液晶显示模块概述 10
3.4.2 用户指令集 12
3.5 按键部分设计 13
3.6 大门控制部分的设计 13
3.6.1 固态继电器介绍 13
3.6.2 栏杆机控制原理 14
4 软件设计 14
4.1 如何进行程序设计 14
4.2 方案设计程序流程图 15
4.3 总电路图 17
4.4调试结果 18
总结 23
致谢 24
参考文献 25
附录A 26
附录B 40
元器件
|
数量
|
备注
|
排阻
|
1
|
5K
|
按钮
|
4
|
|
贴片电阻
|
1
|
1K
|
电容
|
1
|
16v 220uF
|
电容
|
1
|
0.1uF
|
独石电容
|
2
|
30pF
|
红外传感器
|
3
|
|
AT89C51芯片
|
1
|
|
LCD1602
|
1
|
|
自锁开关
|
1
|
|
接触器
|
2
|
|
电位器
|
1
|
10k
|
晶振
|
1
|
11.0592MHz
|
信号指示灯
|
2
|
5V
|
USB电源头
|
1
|
|
导线
|
若干
|
|