"基于AT89C51单片机的脉搏测量仪设计与优化"

版权申诉
0 下载量 116 浏览量 更新于2024-04-04 收藏 1.22MB DOC 举报
本文介绍了一种基于AT89C51单片机的脉搏测量仪设计。在日常生活中,脉搏测量仪被广泛地运用。为了提高其简便性和准确性,本文设计了一种新型的脉搏测量仪。该系统以AT89C51单片机为核心,利用红外发光二极管和光敏三极管作为传感器,并通过单片机内部定时器来计算时间。光敏三极管感应到脉冲的产生,单片机通过对脉冲进行累加来得到脉搏跳动的次数,同时通过定时器来得到时间。在系统运行时,可以显示脉搏次数和时间,而在系统停止运行时,可以显示总的脉搏次数和时间。经过测试,该系统工作正常,达到设计要求。关键词包括脉搏测量仪、AT89C51单片机、光电传感器。 Pulse measuring instrument is widely used in our daily life. In order to improve the simplicity and accuracy of pulse measuring instrument, a new design based on AT89C51 single-chip microcontroller is presented in this paper. The system uses AT89C51 single-chip microcontroller as the core, and employs an infrared light emitting diode and a photo transistor as the sensors, with the internal timer of the microcontroller used to calculate time. The photo transistor senses the generation of pulses, and the microcontroller accumulates the pulses to obtain the number of pulse beats, while the time is obtained from the timer. During operation, the system can display the number of pulse beats and the time, and when the system stops running, it can display the total number of pulse beats and time. Through testing, the system works normally and meets the design requirements. Keywords include pulse measuring instrument, AT89C51 microcontroller, and photo sensor.