内容发布更新时间 : 2024/11/18 8:19:58星期一 下面是文章的全部内容请认真阅读。
基于单片机的非接触式数字温度仪
基于单片机的非接触式数字体温仪
摘要:人体温度相对恒定是维持人体正常生命活动的重要条件之一,当体温高于41度或低于35度时将严重影响人体各系统的机能活动,甚至危害生命。很多疾病都可使体温正常调节机能发生障碍而使体温发生变化,如非典型肺炎的首要症状就是发烧。临床上对病人检查体温,观察其变化对诊断疾病或判断某些疾病的预防有重要意义。
在大型集会或各类活动中,由于参加人数众多,如果再入场时能对体温进行检测,则能有效控制各类传染病的交叉传播。非接触式体温计所需测温时间短,不需要与体肤接触,避免了病菌交叉感染,并且可以进行数据记录与判断,非常适合这种情况下使用。
本设计采用STC89C52作为核心,集合非接触式温度传感器OTP-538U,集成运放LM324,ADC转换芯片ADC0809,液晶显示器LCD1602实现一个带报警功能的可分类记录的非接触式体温记录系统。
关键词:MCU STC89S52 非接触式温度传感器 OTP-538U 集成运放LM324 数模转换芯片ADC0809 液晶显示器LCD1602
1
基于单片机的非接触式数字温度仪
Mcu-based Non-contact Digital Body Temperature
Meter
Abstract:Maintain relatively constant body temperature is a major life activity of human normal condition , when the body temperature above 41 degrees or below 35 degrees will severely affect the functioning of various body systems , or even life-threatening. Many diseases can occur so that the regulatory function of temperature barriers in the normal body temperature changes, such as the first symptoms of SARS is fever. Check the body temperature of patients in clinical observed changes in the diagnosis of certain diseases or to judge the importance of prevention of disease. In large meetings or various activities, the over-whelming, if re-admission testing temperature can be effective in controlling spread of various infectious diseases cross. Required for non-contact thermometer temperature time is short, do not need to skin and body contact to avoid cross infection, and the data can be recorded with the judge, very suitable for such use.
This design uses STC89C52 as a core, a collection of non-contact temperature sensor OTP-538U, integrated operational amplifier LM324, ADC conversion chip ADC0809, LCD1602 LCD with alarm function to achieve a record can be classified non-contact temperature recording system
Keywords: MCU STC89C52 non-contact temperature sensor OTP-538U integrated operational amplifier LM324 ADC0809 LCD1602
2
基于单片机的非接触式数字温度仪
目录
第一章 绪论 .......................................................... 4 第二章 系统总体研究方案 .............................................. 6 第三章 系统硬件设计 .................................................. 8
3.1 主要IC芯片介绍 .............................................. 8
3.1.1 STC89C52单片机 ....................................... 8 3.1.2 非接触式温度传感器OTP-538U .......................... 10 3.1.3 LM324四运放 .......................................... 3 3.1.4 ADC0809 ............................................... 4 3.1.5 1602字符型LCD简介 ................................... 7 3.2 系统硬件系统的设计 .......................................... 11
3.2.1 温度采集和放大电路的设计 ............................. 12 3.2.2 ADC转换电路的设计 ................................... 12 3.2.3 液晶显示电路的设计 ................................... 13 3.2.4 键盘控制电路的设计 ................................... 14 3.2.5 报警电路的设计 ....................................... 14 3.2.6 系统整体电路 ......................................... 15
第四章 系统软件系统的设计 ........................................... 16
4.1 液晶显示子程序设计 .......................................... 17 4.2 键盘按键子程序设计 .......................................... 17 4.3 温度信号处理子程序设计 ...................................... 19 4.4 报警子程序设计 .............................................. 20 4.5 记录子程序设计 .............................................. 20 第五章 结束语 ....................................................... 21 致谢 ................................................................ 22 参考文献 ............................................................ 23 附录: .............................................................. 24
3