文档详情

【精品】基于单片机的道闸控制(本科毕业设计).doc

发布:2017-09-17约1.89万字共37页下载文档
文本预览下载声明
基于单片机的道闸控制 目 录 前言 5 第1章 概述 6 第1.1节 引言 6 第1.2节 研究背景 6 1.2.1. 道闸使用基本情况 6 1.2.2. 步进电机 7 1.2.3. 串口通信 11 第2章 智能道闸控制器 12 第2.1节 智能道闸控制系统设计的背景 12 第2.2节 智能道闸控制系统实现功能 12 2.2.1. 固定用户车辆刷卡出入停车场 12 2.2.2. 临时车辆的引导功能 12 2.2.3. 临时车辆自动计费 13 2.2.4. 图像对比功能 13 2.2.5. 语音对讲功能 13 2.2.6. 电子显示功能 13 第3章 基于射频通信技术的道闸控制系统 14 第3.1节 停车库智能管理系统简介 14 第3.2节 硬件部分的实现 15 3.2.1. 硬件结构 15 3.2.2. 车载模块的功能 16 第3.3节 软件部分的实现 16 3.3.1. 车载模块的软件流程 16 3.3.2. 无线传输通信协议 17 第3.4节 结束语 18 第4章 实验部分 19 第4.1节 硬件设计 19 4.1.1. STC89C52单片机 19 4.1.2. 步进电机驱动: 22 第4.2节 软件设计流程图 25 Visual C++串口通信编程 27 4.2.1. 本系统采用MSComm控件编程。 27 4.2.2. 系统设计 27 4.2.3. 通信协议 28 4.2.4. VC++单片机通信的实现 28 第5章 结论 30 参考文献 31 致谢 32 附录 33 附录1 项目实施费用 33 附录2 部分源程序 33 基于单片机的道闸控制 【摘要】:本文的研究设计是根据道闸的实际需求,以及国内道闸系统自动化程度应用不高的现状而进行的。研究设计在原道闸系统的基础上进行,通过研究设计实现道闸的自动化。 本系统以道闸为控制对象,以超声波测距仪为主要检测手段,辅以LED闪烁和蜂鸣器提示,实现道闸的自动化控制。系统采用单片机做主控器,PC(Personal Computer)做上位监控机。通过上位机VC++(Visual C++)编制程序,实现人机互动。最后把执行部分、检测部分、控制部分、通信部分及其他部分有机组合起来,实现系统的智能化控制。 研究设计完成后的系统具有一定的自动化,可靠性好,操作简单等优点。虽然从硬件、软件和通信等方面对道闸系统进行了研究设计,但是由于各方面的原因,系统有待进一步完善。 【关键词】:道闸,单片机,步进电 [ABSTRACT]: This study design is based on the actual needs of Barrier Gate, automatic barrier system and domestic automation applications are not carried out a high status. The design was based on the Barrier Gate system, through research and design to achieve Barrier Gate automation. System automatic barrier to control the object to ultrasonic range finder as the main detection methods, accompanied by flashing LED and buzzer prompts, to achieve automatic barrier automatic control. System uses the microcontroller to do master, PC (Personal Computer) monitor the machine to do the upper. We use the VC (Visual C++) programming on the PC, to achieve human-computer interaction. At last, we take part of the implementation, testing, the control section, communication section and other parts of the organic composition, and to realize the intelligent control system. Upon completion of the design automation system has a good reliability and easy operation
显示全部
相似文档