摘 要:脉搏测量仪在我们的日常生活中已经得到了非常广泛的应用,可以对人体的健康进行检查。为了提高脉搏测量仪的简便性和精确度,本课题设计了一种基于51单片机的脉搏测量仪。系统以STC89C52单片机为核心,利用单片机系统内部定时器来计算时间,由光电传感器感应脉搏信号,经放大电路与滤波电路变成电信号,单片机通过对信号累加得到每分钟脉搏跳动次数。系统运行中可以通过观察指示灯闪烁,若均匀闪烁说明测量值准确。系统停止运行时,能够显示总的脉搏次数和时间。预设每分钟脉搏误差为0。7,经测试,系统工作正常,误差为0。59,达到设计要求。
本设计利用红外光电传感器产生脉冲信号,经过放大整形后,输入单片机内进行相应的控制,从而测量出一分钟内的脉搏跳动次数。系统可以供用户测量每分钟脉搏次数,同时还可以设定每分钟脉搏的上限次数和下限次数,当测量的范围超过设定的范围则驱动蜂鸣器报警,结果最终可以把采集到的脉搏信号显示在LCD1602上。76341
毕业论文关键词:STC89C52,脉搏测量仪,LCD显示器,光电传感器
Abstract:Pulse measuring instrument in our daily life has been very widely used, on human health are examined。 In order to improve the simplicity and accuracy of pulse measuring instrument, this topic design a pulse measuring instrument based on MCU。 System to STC89C52 microcontroller as the core, using MCU internal timer to measure time, by the photoelectric sensor pulse signal, the amplification circuit and the filter circuit is changed into electrical signals, the microcontroller through the of the accumulated signal obtained per minute pulse beats。 System can through the observation of flashing lights, if uniform flashing that accurate measurement value。 Stop system Stop running, can show the total number of pulses and time。 Preset pulse error per minute is 0。7, after testing, the system is working correctly, the error is 0。59, reaching the design requirements。
This design use infrared photoelectric sensor generates a pulse signal, after plastic surgery to enlarge input SCM control, which measured within one minute of the pulse frequency。 System for the user to be able to measure pulse times per minute, also can set the pulse per minute limit frequency and lower frequency, when the measurement range over the set of drive buzzer alarm。 As a result, can put the collected pulse signal is displayed on the LCD1602。
Keywords:STC89C52, photosensor, LCD display,Pulse measuring instrument
目 录
1 绪论 4
1。1 选题的背景和意义 4
1。2 脉搏测量仪的控制技术现状 4
1。3 研究内容及设计指标 5
2 元件选择理由 5
2。1主控模块的选型和论证 5
2。2显示模块的选型和论证 5
2。3传感器的选型和论证 6
2。4系统整体设计概述 6
3 系统硬件电路设计 7
3。1主控模块 7
3。1。1单片机最小系统设计 7
3。2 LCD液晶显示器简介 8
3。2。1 液晶原理介绍 8
3。2。2液晶模块简介 9
3。2。3液晶显示部分与STC89C52的接口 STC89C52单片机的脉搏测量仪设计:http://www.youerw.com/zidonghua/lunwen_87584.html