《基于单片机的电子脉搏计的设计论文 53p》由会员分享,可在线阅读,更多相关《基于单片机的电子脉搏计的设计论文 53p(53页珍藏版)》请在金锄头文库上搜索。
1、毕业设计论文基于单片机的电子脉搏计的设计摘 要人们在日常生活或是医学上常常是通过测量脉搏跳动的力度和频率来检测身体的健康状况,而普通的方法是用手按在人腕部的动脉上,根据脉搏的跳动进行计数,这样不仅测量时间长而且精度不高,为了节省测量时间,一般不采用长时间测量,而是几秒钟之内测出脉搏数。本文介绍一种基于 STC89C52 单片机的电子脉搏计,通过测量腕部动脉的压力,把压力转变为电信号,送入单片机,可以在 3 秒钟之内精确测量出每分钟脉搏数,测量结果用三位 LED 数码管显示,并且脉搏波形通过串口送入 PC 机,实时显示脉搏波形。脉搏计是最常用的医疗检查设备之一,实时准确的脉搏测量在日常生活、患者
2、监控、临床治疗及体育运动等方面都有着广泛的应用。脉搏测量包括瞬时脉搏测量和平均脉搏测量。瞬时脉搏可以反映心率的快慢,同时能反映心率是否匀齐;平均脉搏测量虽然只能反映心率的快慢,但记录方便。本文设计的电子脉搏计可以把这两个参数在测量时都记录下来并且显示,瞬时测量结果通过PC 机实时显示,平均脉搏测量结果通过 LED 七段数码管显示。关键词关键词:STC89C52 单片机 脉搏 串口Based on SCM electronic pulse plan designAbstractPeople in daily life or medicine is often measured by the pu
3、lse frequency and strength to detect the health status of body by hand, and ordinary people by the arteries in the wrist, according to a pulse count, thus not only beat measuring time long and accuracy is not high, in order to save the measuring time, generally does not use the long time measurement
4、, but a few seconds pulse count. Measured This paper introduces a STC89C52 MCU based on the electronic pulse plan, by measuring the pressure, the wrist artery pressure into electrical signals, into a single-chip microcomputer, can accurate measurement in three seconds per minute, a pulse with measur
5、ement results number three LED digital display, and pulse tube through a serial port into PCS, real-time display pulse waveform.Pulse meter is one of the most commonly used in the medical examination device, real-time accurate measurement of the pulse of daily life, patient monitoring, clinical trea
6、tment and other aspects of sports have a wide range of applications. Pulse measurements include transient pulse measurement and the average pulse measurement. Instantaneous heart rate may reflect the speed of the pulse, while heart rate can reflect whether the uniform homogeneous; average heart rate
7、, pulse measurement can only reflect the speed though, but the record of convenience. This design of elec- tronic pulse meter to measure these two parameters are recorded and displayed the time, instantaneous measurements in real time through the PC, shows that the average pulse measurements by seve
8、n segment LED digital display.Keywords: STC89C52; microcontroller; pulse; the serial interface目 录1 引言.12 总体设计思路.12.1 方案设计与选取.12.1.1 总体流程图.12.1.2 方案选择.12.2 总体电路图.23 硬件电路结构模块.43.1 单片机的选取.43.1.1 STC89C52 引脚功能说明.43.1.2 振荡电路.53.1.3 复位电路.53.2 AD 转换电路模块.63.2.1 ADC0809 引脚功能.63.2.2 ADC0809 主要特性.73.2.3 ADC0809 工作过程.73.2.4 ADC0809 与单片机接口电路.83.2.5 ADC0809 与 PC 机连接 .93.3 传感器的选取.104 软件程序设计.134.1 脉搏计数模块的设计.134.1.1 脉搏计数程序方案的选取.134.1.2 脉搏计数代码设计.144.2 LED 数码管显示模块设计.154.2.1 显示模块的选取.154.2.2 LED 数码管与单片机的接口电路.164.2.3 LED 数码管驱动程序的设计.174.3 AD 转换模块的设计.184.4 串口发送程序设计.