本系统利用集成智能温度传感器测量温度,采用光纤传输温度信号。系统由单片机(HT46R24)控制温度传感器(DS18B20)的温度采集。当有采集温度的指令的时候,...
代码说明:
本系统利用集成智能温度传感器测量温度,采用光纤传输温度信号。系统由单片机(HT46R24)控制温度传感器(DS18B20)的温度采集。当有采集温度的指令的时候,才启动温度传感器并采回其数据,在没有进行温度采集的时候,将通过抬高温度传感器的地,关断其工作电源,如此可以降低系统的功耗。系统将每一次采集回来的数据与前一次的数据比较,若温度变化超限或温升超标,立即发送上述温度值;否则,累加到采集了一定的次数,再向主机发送最新温度值。-The system uses an integrated smart temperature sensors measure temperature, using optical fiber transmission temperature signal. System consists of microcontroller (HT46R24) controlling the temperature sensor (DS18B20) the temperature of collection. When a collection of instructions, when the temperature before start-up temperature sensors and taken back to its data, collected in the absence of the temperature when the temperature sensor will raise, the turn-off the power of their work, so you can reduce system power consumption. The system will come back every time collecting data and previous data comparison, if the temperature changes or temperature exceeding overrun immediately send the temperature value otherwise accumulate to collect a certain number of times, again
下载说明:请别用迅雷下载,失败请重下,重下不扣分!