{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)

来源:wenku163.com  资料编号:WK16311878 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16311878
资料介绍

基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)(论文16000字)
摘  要
众所周知,随着时代的进步,人民生活水平的提高,经济也得到了飞速的提升,随之的关于产品使用流水线来生产也逐渐成为了一种主流形式,很多厂家对这种技术也表示了情有独钟,但是根据时代的要求的实时,有效率去生产的问题也逐渐浮出水面,需要大家对它做出正确的解决方法。这时单片机具有的实时性、精确性以及可靠性也被很多厂家发现并利用,单片机设置的自动计数装置就成为了首选。
本次的设计是关于设计一个基于单片机的停车场计数系统。在设计中,我采用元件有单片机STC89C52和红外对射式传感器。其中把STC89C52作为本次设计的核心,信号的输入是用红外对射式传感器组成的电路。在对射式光电传感器器件的组成中,发射器和接收器是它们的主要组成部分。在发射器和接收器中间,如果光线被什么物体阻断的话,就会形成一个电平信号,这个电平信号会经过放大和整流然后输入到STC89C52中,这样就可以在STC89C52中完成控制计数。在这个设计中,还有三个不可忽视的电路,其中液晶显示电路和继电器电路的作用是实现计数及显示,蜂鸣器电路的作用是报警。
这次设计停车场计数系统不仅仅可以应用在停车场,还可以应用在其他场合,只要需要计数问题的地方我们都可以采用。现在社会在不停的发展,所以资源的开发和社会的建设就会变得越来越重要啦,例如关于煤矿的开发、矿山的开发,在开发这些资源的时候我们就有挖掘,挖出的沙土和煤矿也就需要用工程车去拉,这时我们的工作人员在统计工人干工的多少就是看拉了多少,是否拉满,可是每天这样的车辆那么多而且作业也是24小时的,想要解决这些问题,如果单单是去数的话肯定会浪费很多劳动力,而如果有自动计数器的话就会很快把这个问题解决。
1. 提高计数的准确率
    2. 减少时间的浪费,效率问题得到解决,双方都可以得利
    3. 大大降低因为人为的原因造成不必要的经济损失
    4. 系统中有提示语音、数据显示、自动设置、屏幕显示等功能。
    停车计数器的产生,大大的降低了停车场的劳动成本,从而减少公司或者或者企业的劳动资源支出以及金钱的支出,合理的的利用了劳动资源和资金。随着科技的发展,以后得停车计数器将会更加先进,更加准确。

【关键词】:单片机  红外对射式传感器  继电器  液晶显示

Abstract
Under the pattern of economic rapid development in today's society, more and more manufacturers adopt assembly line production technology products, and how about its online products in real time, efficient, accurate count as one of the focuses of the large manufacturers. And counter based on single chip microcomputer as control core has a can real-time, accurate, reliable, stable advantages such as counting has become a large manufacturer of automatic counting device of choice.
     In this paper, the STC89C52 microcontroller as the core of the control circuit, the signal output module is used infrared photoelectric couple, designed a parking lot counting system that based on a microcontroller. Infrared photoelectric couple by the transmitter and the receiver is composed of two parts. When an object through the transmitter and the receiver will break the light beams, and produce level signal, amplified, rectified and finally put into microcontroller to control counting. Via Liquid Crystal Display circuit, relay circuit and buzzer circuit form the output module. So this system achieves counting of cars, display, alarm and the controller of pulling or pushing the door in the parking lot.
In some day coal leakage or mining enterprises at present, there are a lot of truck for the soil, sand, the task of coal, these vehicles 24 time homework, and vehicles, a connection a. So every coal mining enterprises to assign special staff at the prescribed places for vehicle counting statistics, statistics of the vehicle pulled to how many times a day, but also for each vehicle is full, and every time is empty, and the returned vehicle is sticky Dou above problems, such as counting system can solve these problems, introduced a vehicle in and out of the solution of automatic counting, can solve the above problems.
1. Enhance the accuracy in counting
2. To save time, improve efficiency, is good for both owner and yard
3. To reduce the economic consequences of the human factors
4. System configuration has the function of automatic hairpin, voice prompt, intercom, image contrast, screen display, for vehicle hit (optional)
Parking counter, greatly reduce the labor costs of the parking lot, thereby reducing the labor resources of company or enterprise spending and spending money, reasonable use of labor resources and money. With the development of science and technology, have to stop after the counter will be more advanced, more accurate.

[Key words]: microcontroller   infrared photoelectric couple  relay  Liquid Crystal Display

本次设计选择的单片机是STC89C52,传感器是红外对射式传感器。其中本次设计的核心是STC89C52单片机,将红外线对射式传感器电路中发射出来的信号输入到单片机中进行分析并计算。在对基于单片机的停车场计数系统设计的研究中,对多个方面都进行了深入的研究,例如关于显示器的选择,计数装置是如何正常工作的,STC89C52单片机的发展、应用和原理等等方面。
主要技术指标:   1.系统稳定,不容易被干扰
                 2.计数范围广:0000~9999
                 3.车辆计数值精确

 

基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)
基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)
基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)
基于单片机的停车场计数系统设计(附实物图,电路原理图,程序)


目 录
摘  要    II
Abstract    III
前  言    V
目 录    VI
第一章 理论分析及总体方案    1
第1.1节 方案比较    1
第1.2节 总体设计方案    3
第2章 系统的硬件设计    4
第2.1节 控制电路设计    4
2.1.1 单片机的发展及趋势    4
2.1.2 主控芯片简介    5
2.1.3 单片机最小系统的设计    9
第2.2节 对射红外检测电路设计    9
第2.3节 液晶显示电路设计    12
第2.4节 继电器开关电路与报警电路的设计    14
2.4.1. 74LS245芯片介绍    14
2.4.2. 继电器开关电路设计    15
2.4.3. 蜂鸣器报警电路设计    16
第2.5节 按键电路设计    16
第3章 系统的程序设计    18
第3.1节 主程序设计    18
第3.2节 数据采集模块程序设计    19
第3.3节 液晶显示程序设计    20
第4章 系统测试    22
第4.1节 系统的硬件调试    22
第4.2节  系统的软件调试    22
第4.2节 测试及结果    23
结  论    24
参考文献    25
致  谢    26
附录    27
附录1:原理图及实物照片说明    27
附录2:部分源程序    28

推荐资料