基于单片机和语音模块的 便携式心率计设计 下载本文

题 目 基于单片机和语音模块的

便携式心率计设计 上海大学 东方贱人 摘 要

现代生活,人们的生活节奏加快,越来越多的人有了无需去医院在家里面就能测量脉搏的需求,而随着智能化产品的迅速发展,脉搏计渐渐应用于人们的日常生活。

本心率计系统主要基于51单片机与语音模块,其主要实现的功能是现场脉搏数据的采集和读取,具体包括心跳显示和语音播报。硬件设计主要包括:研究STC89C52单片机核心系统的构建;研究语音模块和传感器模块的应用,并完成其与STC89C52的关联设计;以及研究液晶屏、串口等外围接口的详细设计。软件设计主要包括:首先利用AD画出原理图,构建硬件以后,利用编程软件即keil软件编写程序完成各个模块的连接与运行。

经过软硬件调试,整个系统基本可以通过传感器实现对脉搏的数据采集,然后通过显示屏读取数据并语音播报。

关键词:语音模块;STC89C52处理器;脉搏检测

ABSTRACT

In modern life, people's rhythm of life speeds up, more and more people don’t want to measure the pulse only when they go to the hospital.Instead,they prefer to measure it at home. Then with the rapid development of intelligent products, pulse meters are gradually applied in people's daily life.

This system of rate meters is mainly based on 51 processor and voice module. Its functions are pulse data acquisition and reading, including displaying the heartbeat and voice broadcast. The hardware design mainly includes: Research of the construction of STC89C52 micro controller core system ; Research of the application of the voice module and the sensor module, and their connection with the STC89C52 processor; study of the detailed design of the liquid crystal screen, serial port peripheral interface and . The software design mainly includes: firstly, use AD to draw the schematic diagram.Then use the programming software called keil software programming to complete the connection and operation of each module.

After hardware and software debugging, the whole system can realize the pulse data acquisition through the sensor, and then read the data through the display screen. Keywords:voice module;STC89C52 processor;Pulse detection

目 录

第一章 绪 论 ................................................................................................................ 1

1.1 课题研究的背景及意义 ....................................................................................... 1 1.2 课题研究的内容和工作 ....................................................................................... 1

第二章 系统总体方案设计 ................................................................................ 3

2.1 系统概述 .................................................. 3 2.2 系统主要功能描述 ................................................................................................ 3

第三章 系统硬件设计 ........................................................................................... 4

3.1 系统硬件功能与结构 ........................................ 4 3.2 系统硬件对比与选择 ........................................................................................... 6

第四章 系统软件设计 ............................................................................................. 9

4.1 系统开发工具简介 .......................................... 9 4.2 系统软件流程图 .................................................................................................. 10

第五章 系统调试 ...................................................................................................... 13

5.1软件调试 ................................................. 13 5.2硬件调试 ................................................. 13 5.3调试结果 ................................................................................................................. 14

结束语 .............................................................................................................................. 15 致 谢 .............................................. 16 参考文献 ........................................................................................................................ 17 附录A ............................................................................................................................... 18