Most of the wireless sensor network application systems only realize the function of data acquisition and don't provide control function. For the need of environment data acquisition and control system, an IOT environmental data acquisition and control system based on ZigBee was proposed in this paper. The hardware is designed by STM32W108 which with built-in EmberZNet ZigBee protocol software was developed to realize the remote environment data acquisition and control system.