The main propose of this thesis is to find a measure which can be widely used in industry, agriculture, and also have a kind of high performance-to-price ratio.
The design uses the monolithic integrated circuit AT89S52 as the control core.It collected the signal of analog temperature. The temperature is carried by the sensor DS18B20 and displayed on the LED. If the temperature exceeds the limit, the system would alarm.Then the fan will turn on. We also can control the fan manually.
This thesis focuses on the analysis of a modular design which is about the hardware and the software. The thesis also introduces the electric circuits, and the ultimate hardware circuit was carried out. In order to carry out the function which according to the hardware request, this article also design the software step by step,and through repeat running, simulation, debug, modifying and simplifying the software system, which finally formed a complete set of programming system.
Keywords: Temperature control ,Temperature sensor ,Humidity sensor,AT89S52