在利用温室大棚进行农作物培育时,温度是影响其生长、发育的关键因素之一,因此对温室大棚进行多点温度监控,采取有效的措施控制大棚温度在一定范围内显得尤为重要。设计了一种基于单片机的温室大棚多点温度监控系统。系统中选用DS18B20传感器作为测温元件,以STC89C52单片机为核心,进行多点温度检测并以1602液晶显示数据。同时,通过串口与PC进行通信,并以VB编写的上位机界面将各点温度以曲线的形式显示出来,可保存相关温度数据。经多次试验证明,该系统温度测量范围广,稳定性好,能够长时间工作,基本上能够满足温室大棚温度监控的需求。
Temperature is one of the key elements in influencing the growth and development of vegetables, when cultivating them in greenhouse. Therefore, it is especially important to monitor the temperature multi-point, thus, effective measures can be taken to stabilize the temperature in the greenhouse within a certain range, a kind of greenhouses multi-point temperature moni- toring system based on single chip microcomputer is designed. Sensor DS 18B20 is chosen to be the temperature measuring ele- ment, STC89C52 single-chip microcomputer as the core, and the data of the multi-point temperature detection is to display by the 1602 LCD. At the same time, communicating with the PC through the serial port, related temperature data will be displayed and then preserved through the surface of the upper machine written by VB in the form of curve. Many experiments proved that, this system can basically satisfy the demand of monitoring the temperature in Greenhouses because of the advantages of temper- ature measurement range, good stability and the ability of working for a long time.