基于单片机的驾校教练车速度控制精要
摘 要
21世纪掀起了一阵学车的热潮。然而对于驾校的初学者,车速往往是最不好把握的,超速现象时有发生,对他人和自己都造成严重安全隐患。本设计的目的就是为了解决这一问题。
本设计车速信号采集部分采用的是霍尔速度传感器。在控制方面,……。本论文主要描述了硬件设计部分和软件设计部分,硬件部分更是详细分析了系统框图、车速信号采集、控制系统、时钟显示系统、密码存储系统、按键系统、串口模块以及继电器模块的各个部分的电路原理,以及各个模块之间的线路连接。软件部分列出了主要部分的程序。该设计是一个简单实用的多功能教练车速度控制装置,具有成本低,可靠性高,扩展功能强等优点。
关键词:霍尔速度传感器,STC89C54,电动推杆
Abstract
21th century has witnessed a fever for driving learning. However, as a fellow learner, they always fail to control the speed, causing security risks to both themselves and others. This design could solve this phenomenon well.
In this project, we use Hall speed sensor block in data acquisition section for speed information extraction. In control section, we choose STC89C54 as core, with 24C02, LCD1602, DS12C887, key block, serial interface module, RM and electric pusher, so that speed calculation, speed limitation, lock of speed limit, clock and calendar display can be realized. In this paper, we described hardware section and software section, and in hardware section we described system diagram, data acquisition section, control system, clock system, password storage system, key array, serial interface module and RM in details, and their combination. In software, main parts of the program are listed. The product is a multifunction velometer used in coach car, with advantages of low cost, high reliability and strong expanded functions, etc.
Keywords: Hall speed sensor, STC89C54, Electric pusher
目 录
摘 要 I
Abstract II
1绪论 1
1.1设计多功能教练车速度控制装置的意义 1
1.2本选题在国内外的研究现状和发展趋势 1
1.3主要任务和目标 2
1.3.1主要任务 2
1.3.2主要目标 2
2系统设计方案总则 3
2.1系统概述 3
2.2 系统框图以及具体功能 3
3系统硬件设计 5
3.1单片机控制部分 5
3.1.1 STC89C54单片机简介 5
3.1.2 单片机最小系统 7
3.2车速信号采集部分硬件 9
3.2.1方案选择及设计思想 9
3.2.2工作原理 10
3.2.3 接口设计 11
3.3时钟显示系统 11
3.3.1 DS12C887简介 11
3.3.2 DS12C887部分硬件设计 13
3.4密码存储系统 14
3.4.1 24C02芯片简介 14
3.4.2 硬件设计 15
3.5 显示电路 15
3.5.1 LCD1602简介 16
3.5.2 硬件设计 16
3.6 按键模块 17
3.7 串口模块硬件 17
3.7.1 MAX232芯片简介 18
3.7.2 接口设计 19
3.8 继电器模块硬件 19
3.9 蜂鸣器硬件 20
3.10 指示灯模块硬件 21
3.11 电动推杆简介 21
4系统软件设计 23
4.1 初始化程序 24
4.2 主程序
原创力文档

文档评论(0)