基于单片机的脉搏测量仪设计
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的脉搏测量仪设计(论文10000字)
摘要:人类身体的健康状况离不开测量仪器的支持,所以能测量人体脉搏信号的脉搏测量仪的产生就显得很重要了。经过分析研究后为了设计出能精确测量出人体脉搏的测量仪,选择了基于51单片机的测量系统。该系统核心部件为STC89C52微控制器,它的内部定时器可以作为光电传感器并计算出相应的时间并产生特定的光电信号,这时微控制器便可以解读信号获取相应的脉冲信号,最后从系统的定时器中把处理好的时间信号导出来。人们可以通过观察外部信号灯的明灭来判断测试结果的准确性。测量完毕,显示器显示出总脉冲数以及时间信息。当完成一个测试周期后,系统恢复初始化,满足设计要求。
本设计的具体实现过程是通过放大并整形红外光电传感器产生的脉冲信号的,然后单片机对这个信号进行控制运算,最终获得所需的测试结果。为了避免不必要的无效操作,预测试次数的上、下限可以手动设定。所需的结果可以显示到连接的LCD1602显示器上,易用性很好。
关键词:STC89C52;脉搏测量仪;LCD显示器;光电传感器
Design of pulse measuring instrument based on single chip
Abstract:The health of the human body can not be separated from the support of the measuring instrument, so it is important to be able to measure the pulse measuring instrument of the human pulse signal. After the analysis and research in order to design a measure of the human body can accurately measure the pulse, select the 51 single-chip based on the measurement system. The core part of the system is STC89C52 microcontroller, its internal timer can be used as a photoelectric sensor and calculate the corresponding time and generate a specific photoelectric signal, then the microcontroller can interpret the signal to obtain the corresponding pulse signal, and finally from the system In the timer to the processing of a good time signal derived. One can determine the accuracy of the test results by observing the external lights. After the measurement is completed, the display shows the total number of pulses and the time information. When a test cycle is completed, the system is restored to meet the design requirements.
The design of the specific implementation process is by enlarging and shaping the infrared photoelectric sensor pulse signal generated, and then the microcontroller to control the operation of the signal, and ultimately get the required test results. In order to avoid unnecessary invalid operation, the upper and lower limits of the pre-test number can be set manually. The desired results can be displayed on the connected LCD1602 display with ease of use.
Keywords:STC89C52; photosensor; LCD display; Pulse measuring instrument
目 录
第一章 概述 1
1.1 选题的背景和意义 1
第二章 总体方案的论证与设计 3
2.1主控模块的选型和论证 3
2.2显示模块的选型和论证 3
2.3传感器的选型和论证 3
2.4系统整体设计概述 4
2.5蓝牙系统 4
第三章 系统硬件电路设计 4
3.1主控模块 5
3.1.1 STC89C52单片机主要特性 5
3.1.2 STC89C52单片机的中断系统 6
3.1.3单片机最小系统设计 7
3.2 LCD液晶显示器简介 7
3.2.1 液晶原理介绍 7
3.2.2液晶模块简介 7
3.2.3液晶显示部分与STC89C52的接口 8
3.3信号采集电路设计 9
3.4 内部电路设计 9
3.4.1传感器简介 9
3.4.2滤波电路 10
3.4.3放大整形电路 10
第四章 系统软件设计 12
4.1系统软件总体设计 12
4.2程序设计原理 13
第五章 系统调试 14
5.1软件调试 14
5.2 硬件调试 14
5.3调试结果 14
5.5 结 论 15
参考文献 17
致谢 18