Based on the 1-wire bus and DS18B20,this system uses microcontroller AT89C2051 as the main control unit,takes the working pattem to realize the collecting of multi-point temperatures,and solves the problems,which is complex structure,high power consumption,not accustomed to collect the temperature of the field environment,in comparison with the system of traditional collecting temperature.The hardware circuit,software design and the matters need attention in program is given in the article.By testing,the system works high-availability,costs low power consumption,and is fit for gathering the wild temperature in the case of no man keeping watch.%系统以AT89C2051为核心,基于DS18B20的单总线模式设计了一个多点环境温度采集系统,解决了传统测温系统的结构复杂,功耗高,不适应野外无人值守环境温度检测的问题.文章给出了各模块的硬件电路,软件设计流程以及程序编制中的注意事项.经实验,该系统工作稳定可靠,功耗低,非常适合无人值守情况下的野外环境温度检测.
展开▼