›› 2013, Vol. 26 ›› Issue (12): 70-.

• 论文 • 上一篇    下一篇

基于AT89S52单片机的温度检测与保护电路设计

孙亮   

  1. (国家新闻出版广电总局 无线局561台,江西 南昌 330026)
  • 出版日期:2013-12-15 发布日期:2014-01-10
  • 作者简介:孙亮(1982—),男,工程师。研究方向:电子通讯。E-mail:1102302877@qq.com

Temperature Detection and Protection Circuit Based on the AT89S52 Microcontroller

 SUN Liang   

  1. (Radio Station 561 Unit,State Administration of Radio Film and Television,Nanchang 330026,China)
  • Online:2013-12-15 Published:2014-01-10

摘要:

提出了以Atmel公司的AT89S52单片机和Dallas公司的DS18B20单总线数字温度传感器为核心,可对多点的温度进行实时巡检的设计方案。各检测单元能独立完成各自功能,同时可根据下位机的指令对温度进行定时采集,测量结果不仅能在本地实时显示,且在越出警戒值时断开继电器;并在必要时可利用单片机串行口,通过RS-485总线及通信协议将采集的数据传送到上位机,同时进行存档、处理。

关键词: 单片机, RS485协议, DS18B20数字传感器

Abstract:

This paper presents a real-time multi-point temperature detection circuit design with ATMEL AT89S52 MCU and DALLAS DS18B20 single-bus digital temperature sensor as the core.The detection units can functions independently with timing acquisition of temperature according to the next-bit machine instruction.The real-time temperature measurement results are displayed locally,and the relay is disconnected if the value goes beyond in the security limit.The collected data can be sent to the host computer when necessary via single-chip serial port using an RS-485 bus and communication protocols for archiving and disposal.

Key words: SCM;RS485 protocol;DS18B20 digital sensors

中图分类号: 

  • TP368