This paper established a TinyOS operating system for wireless sensor network of temperature and humidity monitoring system. It introduces the basic structure of the monitoring system, sensor nodes, the TinyOS operating system, and the NesC language.Besides, it preliminary design the application of t