Abstract:The utilization of PC server in environment monitoring network faces some troublesomes, such as high cost, large size, difficult movement and annoying software installation. Seeing that, a ZigBee gateway server based on microprocessor STM32F101R8 and CGI technique is designed and implemented. The gateway server adopts module chip W5100 with hardware embedded TCP/IP protocols, and has a variety of hardware interfaces like UART/SPI/I\+2C/USB and a disassembled U disk with system application program. The gateway server has parameters of environmental monitoring issued by the embedded web, users can remotely control the sensor nodes via the web. The test results show that the server compared with the PC server, is of low cost, high reliability and easy operation. Therefore it can meet the requirements for environmental monitoring.