
毕 业 设 计 (论 文)
设计(论文)题目:_______ _______________________
_______________________________
单 位(学院):______________________
学 生 姓 名:______________________
专 业:______________________
班 级:______________________
学 号:______________________
指 导 教 师:______________________
答辩组负责人:______________________
填表时间: 年 月
重庆移通学院教务处制
编 号:____________
审定等级:____________

重庆邮电大学移通学院本科毕业设计(论文)
- -
I
重庆邮电大学移通学院毕业设计(论文)任务书
设计(论文)题目
学生姓名 系别 专业 班级
指导教师 职称 联系电话
教师单位 下任务日期__ ____年____月____日
主
要
研
究
内
容
、
方
法
和
要
求
进
度
计
划
主
要
参
考
文
献
指导教师签字: 年 月 日
教研室主任签字: 年 月 日
备注:此任务书由指导教师填写,并于毕业设计(论文)开始前下达给学生。

重庆邮电大学移通学院本科毕业设计(论文)
- -
II
摘 要
脉搏测量仪在我们的日常生活中已经得到了非常广泛的应用,通过观测脉搏信号,可以对
人体的健康进行检查,通常被用于保健中心和医院。为了提高脉搏测量仪的简便性和精确度,
本课题设计了一种基于 51 单片机的脉搏测量仪。系统以 STC89C52 单片机为核心,以光电传
感器利用单片机系统内部定时器来计算时间,由光电传感器感应产生信号,单片机通过对信
号累加得到脉搏跳动次数,时间由定时器定时而得。系统运行中可以通过观察指示灯闪烁,
若均匀闪烁说明测量值准确。系统停止运行时,能够显示总的脉搏次数,此外我们也加了温
度传感器 DS18B20 来检测人体温。经测试,系统工作正常,达到设计要求。
本设计利用红外光电传感器产生脉冲信号,经过放大整形后,输入单片机内进行相应的
控制,从而测量出一分钟内的脉搏跳动次数,快捷方便。系统可以供用户测量当时的脉搏次
数,同时还可以设定上限次数和下限次数,当测量的范围超过设定的范围则驱动蜂鸣器报警
提醒,当检测的体温超过设置的温度上下限也会蜂鸣器报警提醒,结果最终可以把采集到的
脉搏信号显示在 LCD1602 上。
【关键词】STC89S52 脉搏测量仪 LCD 显示器 光电传感器 DS18B20

重庆邮电大学移通学院本科毕业设计(论文)
- -
III
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 single chip microcomputer. System to STCC 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 generates a pulse signal, after plastic surgery to
enlarge, the input of SCM within the corresponding control, which measured within a minute of the
pulse beat frequency, fast and convenient. Through observing the pulse signal, can check the health
of the body, usually used for health centres and hospitals. The system can be used for measuring the
pulse number of users, but also can set the upper limit of the number of times and, when the range
of the measurement range over the set of drive buzzer alarm, but users can also set the alarm clock
to remind the daily measurement, time can be set, the results were finally able to pulse signal
acquisition to display on the LCD.occurring.
【Key words】STCS Photosensor LCD display Pulse measuring instrument

重庆邮电大学移通学院本科毕业设计(论文)
- -
IV
目 录
前 言 ..................................................................................................................................................1
第一章 概述 ......................................................................................................................................2
第一节 选题的背景和意义 .......................................................................................................2
第二节 脉搏测量仪的发展与应用 ...........................................................................................3
第二章 总体方案的论证与设计 ......................................................................................................4
第一节 主控模块 .......................................................................................................................4
第二节 显示模块的选型 ...........................................................................................................4
第三节 脉搏检测传感器 ...........................................................................................................5
第四节 温度传感器 ...................................................................................................................5
第五节 系统整体设计概述 .......................................................................................................6
第三章 系统硬件电路设计 ..............................................................................................................7
第一节 主控模块 .......................................................................................................................7
一、STC89C52 单片机主要特性 .........................................................................................7
二、STCC 单片机的中断系统 ...........................................................................................10
三、单片机最小系统设计 ..................................................................................................11
图. 单片机最小系统电路图 ...............................................................................................11
第二节 LCD 液晶显示器 ........................................................................................................11
一、液晶原理介绍 ..............................................................................................................11
二、液晶模块简介 ..............................................................................................................12
三、液晶显示部分与 STCC 的接口 ..................................................................................13
第三节 信号采集电路 .............................................................................................................14
一、传感器简介 ..................................................................................................................14
二、滤波电路 ......................................................................................................................15
三、放大整形电路 ..............................................................................................................16
第四节 数字温度传感器模块 .................................................................................................17
一、DS18B20 性能 .............................................................................................................17
二、DS18B20 外形及引脚说明 .........................................................................................18
三、DS18B20 接线原理图 .................................................................................................18
第四章 系统软件设计 ....................................................................................................................20