t is a hot issues about how to the environmental condition conveniently and economically. A kind of remote real-time environmental condition monitoring system merging ad hoc network, GPRS/GSM and PSTN is designed. Ad hoc wireless sensor network (WSN) is used to detect environmental temperature, humidity, illuminance, gas and carbon monoxide concentration etc. Wireless gateway is constructed with GPRS/GSM module and embedded Modem. It realizes seamless connection of ad hoc network, GPRS/GSM and PSTN and transmits data collected by WSN to mobile and remote computer. This system has the characteristics of small, remote, dispread and economical, it can realize multipoint distribution, central management, multiple alarm and remote monitoring.