基于51单片机的风杯式风速计(附电路仿真图,程序清单)
无需注册登录,支付后按照提示操作即可获取该资料.
基于51单片机的风杯式风速计(附电路仿真图,程序清单)(论文11400字)
摘要:风速计的运用在气象站,船舶上、野外考察中能够起到很大的作用,而在众多的风速计中,风杯式风速计的运用最为广泛。本文介绍了用STC89C52系列单片机设计出来的风杯式风速计,它的硬件组成部分有QS-FS01风速传感器、LCD1602液晶显示器、ADC0804转换器、蜂鸣器等,通过Keil uVision4软件来实现程序的编写,通过Proteus的仿真来确定各个器件之间的连接。它实现的功能是监测风速的大小,通过模数转换器之后将风速的大小和等级显示在液晶显示屏上,并在风速过大时(大于8米每秒时)通过蜂鸣器报警,且红灯在不断地闪烁。
关键词: 风速;单片机;传感器;蜂鸣器
Wind speed measuring instrument based on 51 single chip microcomputer
Abstract:The application of anemometers take a important part in the field of meteorological station, navigation and field study. Among various anemometers, wind-cup anemometer is one of the most widely used. The wind-cup anemometer introduced here is designed by STC89C52 single chip microcomputer. Its hardware parts are QS-FS01 wind speed sensor, LCD1602 liquid crystal display, ADC0804 converter, buzzer and so on. The program were written on the Keil uVision4, and Proteus simulation was used to confirm the connection between the devices. The function of this anemometer is monitoring the size of the wind speed. The wind speed and grade would be displayed on the liquid crystal display panel through analog-digital converter, and when the wind velocity is too large (more than 8 meters per second), the buzzer would give an alarm, with the red light keeps flashing.
Key words:wind speed;single chip;sensor;buzzer
目 录
摘要 1
Abstract 2
1绪论 3
1.1课题背景 3
1.2 三杯式风速计的原理 3
1.3我国的风速等级划分 4
1.4论文的主要工作 4
2风速计的种类及特点 5
2.1风杯式风速计 5
2.2螺旋桨式风速计 6
2.3热线式风速计 6
2.4数字式风速计 7
2.5声学式风速计 7
3 风速计电路的设计 8
3.1 所有模块介绍 8
3.1.1 QS-FS01风速传感器 8
3.1.2 STC89C52单片机 9
3.1.3 LCD1602液晶显示器 10
3.1.4 ADC0804转换器 10
3.2 电路的连接 11
3.2.1 A/D转换器与单片机 11
3.2.2 蜂鸣器报警电路 11
3.2.3 晶振电路 12
3.2.4 LCD1602显示电路 12
3.2.5调零电阻电路 12
3.2.6 复位电路 13
3.2.7 风速传感器电路 13
4 电路的软件实现 13
4.1系统的软件介绍 13
4.1.1 Keil uVision4软件 13
4.1.2 Proteus软件 14
4.2 程序设计 14
4.2.1 ADC0804转换器模块 14
4.2.2单片机数据处理传输模块 14
4.2.3 LCD1602液晶显示模块 15
4.2.4蜂鸣器模块 16
4.2.5程序总流程图 16
5设计的仿真与使用 17
5.1电路的仿真 17
5.2 硬件的调试 19
6总结与展望 20
6.1 总结 20
6.2 展望 21
参考文献 22
致谢 23
附录 24