文档介绍:设计题目:智能测速系统
班级: 电气0901
姓名: 陈智慧
学号: 23 号
指导老师: 程秀玲
2012年 04 月
航空电子电气工程系
2012-05
摘要
随着科技的飞速发展,计算机应用技术日益渗透到社会生产生活的各个领域,而单片机的应用则起到了举足轻重的作用。并带动传统控制检测技术不断更新。而测速就是一个很典型的例子,它跟我们的生活生产息息相关。传统的车速测量是通过软轴传动表来实现的,而现在基本都是利用LED和LCD实时进行数字显示的。这不仅克服了传统测速的不足,同时还保证了测量的精度。
本次设计中我们是以AT89S52为核心,利用单片机的控制功能来实现测转速进而利用单片机来计算速度。该方案中利用了LCD显示模块和霍尔传感器,因此在确保测量精度的基础上节约了系统资源减少了该系统的外围设备,同时也简化了编程。这就体现了该设计方案的简单、可靠的优点。
关键字:AT89S52单片机、霍尔传感器、BS18B20温度传感、LCD显示
Abstract
With the rapid development of science and technology, computer application technology is increasingly permeating all areas of life in social production, and SCM applications has played a pivotal role. And promote the traditional control detection technology constantly updated. The tachometer is a very typical example, production is closely related to it with our lives. The speed measurement is achieved through the flexible shaft drive table, and now are basically the use of LED and LCD in real time digital display. This is not only to e the deficiencies of the traditional tachometer, but also to ensure the accuracy of measurement.
The design is based on AT89S52 as the core, the MCU control functions to achieve the measured speed and then use the microcontroller to calculate the speed. The program using the LCD display module and the Hall sensor, on the basis of ensuring measurement accuracy, saving system resources to reduce the system's peripherals, but also simplifies the programming. This reflects the simple, reliable and advantages of the design.
Keywords: AT89S52 microcontroller, the Hall sensor, BS18B20 temperature sensor, LCD display
目录
摘要 1
Abstract 2
第一章绪论 5
智能测速系统的意义 5
智能测速系统的设计目的 6
设计要求 6
第二章方案论证与系统结构 6
方案论证 7
单片机芯片 7
测速传感器 7
温度传感器 10
显示模块 11
方案确定 12
系统结构 12
第三章硬件模块设计介绍 13
AT89S52单片机功能介绍 13
AT89S52主要功能 13
AT89S52各引脚功能介绍: 14
中断源 18
测速模块设计 23
霍尔测速的方法 24
霍尔传感器的工作原理 24
霍尔传感器与单片机应用 25
温度测量模块