Abstract:The Article designed a temperature and humidity controller based on the open source TCP/IP protocol stack uIP to meet energy-saving and automatic control requirements of the modern new construction. This product can be not only as independent controller, but also as the router of RS485 network. The application of the controller can connect the actuators and sensors to the network of construction spot, convenient for centralized control and management through Internet, making temperature and humidity data collection and transportation no more under the limit from the amount of collection control terminal, distribution area, and transportation distance and so on. Web service is embedded in the controller, user can realize monitor temperature and humidity situation inner construction real-time and accurately through browser, which solves the dependence of data access to the PC client program, provides conditions for the other solutions. Meanwhile, the paper provides detailed circuit diagram and software flow pattern, which has reference significance to the other application project of uIP protocol.