Grain is an important strategic resource. Due to seasonal production, there are many problems in the stored procedure. This article designs an environment monitoring system of the granary combining Embedded and ZigBee wireless sensor network technology. In the actual situation of the design, using ZigBee wireless sensor network to complete Multi-point acquisition and transmission of environment parameters, using ARM9 to achieve precise control of the barn environment as system data controller; and using GPRS to achieve the system's remote control, it greatly improves the flexibility and scalability of the warehouse management.