文档详情

毕业设计_基于单片机的脉搏测量仪设计论文.doc

发布:2016-06-11约2.07万字共43页下载文档
文本预览下载声明
XXXX 本 科 毕 业 论 文 基于单片机的脉搏测量仪设计 Design of Pulse?Measuring Instrument Based on Single Chip 学院名称: 电子信息与电气工程学院 专业班级: 学生姓名: 学 号: 指导教师姓名: 指导教师职称: 2014年05月 系统整体设计概述 6 第三章 系统硬件电路设计 8 3.1主控模块 8 3.1.1 STC89C52单片机主要特性 8 3.1.2 STC89C52单片机的中断系统 12 3.1.3单片机最小系统设计 12 3.2 LCD液晶显示器简介 12 3.2.1液晶原理介绍 13 3.2.2液晶模块简介 13 3.2.3液晶显示部分与STC89C52的接口 14 3.信号采集电路设计 16 3..1传感器简介 16 3..2滤波电路 17 3..3放大整形电路 17 第四章 系统软件设计 17 4.1系统软件总体设计 17 4.2程序设计原理 19 第五章 系统调试 21 5.1软件调试 21 5.2硬件调试 21 5.3调试结果 22 5.4误差分析 22 结论 24 致谢 25 参考文献 26 附录 27 基于单片机的脉搏测量仪设计 摘要: 脉搏测量仪在我们的日常生活中已经得到了非常广泛的应用,通过观测脉搏信号,可以对人体的健康进行检查,通常被用于保健中心和医院。为了提高脉搏测量仪的简便性和精确度,本课题设计了一种基于51单片机的脉搏测量仪。系统以STC89C52单片机为核心,以光电传感器利用单片机系统内部定时器来计算时间,由光电传感器感应产生信号,单片机通过对信号累加得到脉搏跳动次数,时间由定时器定时而得。系统运行中可以通过观察指示灯闪烁,若均匀闪烁说明测量值准确。系统停止运行时,能够显示总的脉搏次数和时间。经测试,系统工作正常,达到设计要求。 本设计利用红外光电传感器产生脉冲信号,经过放大整形后,输入单片机内进行相应的控制,从而测量出一分钟内的脉搏跳动次数,快捷方便。系统可以供用户测量当时的脉搏次数,同时还可以设定上限次数和下限次数,当测量的范围超过设定的范围则驱动蜂鸣器报警提醒,除此外用户还可以设定每天闹钟提醒测量,时间可以自行设定,结果最终可以把采集到的脉搏信号显示在LCD1602上。 关键词:STC89C52;脉搏测量仪;LCD显示器;光电传感器 Design of pulse?measuring instrument based on single chip Abstract:Pulse measurement apparatus has been widely used in our daily life. In order to improve the measurement apparatus is simple and accuracy, this paper designs a pulse measuring instrument based on 51 single chip microcomputer. System to STC89C52 microcontroller as the core, with photoelectric sensor, and calculates the internal timer SCM system, the signal from the photoelectric sensor, microcontroller based on the accumulated pulse beat frequency signal, by the time the timer. In the running of the system can be observed through the indicator lights out, if even flicker that accurate measuring value. The system stops running, can display the total pulse number and time. After testing, the system works normally, meet the design requirements. The design of the infrared photoelectric sensor
显示全部
相似文档