【正文】
s 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 . Keywords: STC89C52。系統(tǒng)停止運行時,能夠顯示總的脈搏次數(shù)和時間。 本 科 畢 業(yè) 論 文 基于 STC89C52單片機 單片機的脈搏測量儀設計 Design of Pulse Measuring Instrument Based on Single Chip 學院名稱: 電子信息與電氣工程學院 專業(yè)班級: 111111111111111111111111111 學生姓名: 11111 學 號: 11111111111111 指導教師姓名: 11111111 指導教師職稱: 11111 2022 年 05 月 目 錄 摘要 .............................................................................................................................. I Abstract ....................................................................................................................... II 引言 ............................................................................................................................. 1 第一章 概述 ............................................................................................................. 2 選題的背景和意義 ........................................................................................... 2 脈搏測量儀的發(fā)展與應用 ............................................................................... 3 第二章 總體方案的論證與設計 ........................................................................ 5 主控模塊的選型和論證 .................................................................................... 5 顯示模塊的選型和論 證 .................................................................................... 5 傳感器的選型和論證 ........................................................................................ 5 系統(tǒng)整體設計概述 ............................................................................................ 6 第三章 系統(tǒng)硬件電路設計 ................................................................................. 7 主控模塊 ............................................................................................................ 7 STC89C52 單片機主要特性 .......................................................................... 7 STC89C52 單片機的中斷系統(tǒng) .................................................................... 11 單片機最小系統(tǒng)設計 ................................................................................... 11 LCD 液晶顯示器簡介 ..................................................................................... 12 液晶原理介紹 ............................................................................................... 12 液晶模塊簡介 ............................................................................................... 12 液晶顯示部分與 STC89C52 的接口 ........................................................... 13 信號采集電路設計 .......................................................................................... 14 傳感器簡介 ................................................................................................... 14 濾波 電路 ....................................................................................................... 15 放大 整形電路 ............................................................................................... 15 第四章 系統(tǒng)軟件設計 ........................................................................................ 16 系統(tǒng)軟件總體設計 .......................................................................................... 16 程序設計原理 .................................................................................................. 17 第五章 系統(tǒng)調(diào)試 .................................................................................................. 19 軟件調(diào)試 .......................................................................................................... 19 硬件調(diào)試 .......................................................................................................... 19 調(diào)試結(jié)果 .......................................................................................................... 20 誤差分析 .......................................................................................................... 20 結(jié)論 ........................................................................................................................... 22 致謝 ........................................................................................................................... 23 參考文獻 .................................................................................................................. 24 附錄 ........................................................................................................................... 25 I 基于 STC89C52單片機 單片機的脈搏測量儀設計 摘要 : 脈搏測量儀在我們的日常生活中已經(jīng)得到了非常廣泛的應用 ,通過觀測脈搏信號,可以對人體的健康進行檢查,通常被用于保健中心和醫(yī)院。系統(tǒng)運行中可以通過觀察指示燈閃爍,若均勻閃爍說明測量值準確。系統(tǒng)可以供用戶測量當時的脈搏次數(shù),同時還可以設定上限次數(shù)和下限次數(shù),當測量的范圍超過設定的范圍則驅(qū)動蜂鳴器報警提醒,除此外用戶還可以設定每天鬧鐘提 醒測量,時間可以自行設定,結(jié)果最終可以把采集到的脈搏信號顯示在