| Internet of things technology industry in China as an important strategic national, isdeveloped by nation. In the Internet of things applications, the main way is throughwireless technology to transmit data obtained from sensors to the Internet, so as torealize through the Internet access and control physical entities. The sensing layer in theInternet of things is the most popular in ZigBee technology, and a domain to ZigBeenetwork information transmission to the Internet, need ZigBee switch Ethernet gateway.In some specific occasions, such as intelligent Home Furnishing, industrial complex,and other online to ZigBee wireless LAN access the Internet, all need a ZigBee gateway.In some specific occasions, such as intelligent Home Furnishing, industrial networkingand other needs through the ZigBee wireless LAN access the Internet, it all need aZigBee gateway. Its main function is transmiting ZigBee domain online data to theEthernet.And the gateway is universal, as long as the data transmission process is fixedin accordance with the agreement in the ZigBee module, the gateway can transfer datato PC。This subject is based on the STM32F4as the control core and use DP83848network chip and the Digi ZigBee module. DP83848is so simple and convenient thatcan be directly connected with the corresponding pin of STM32chip. That means youcan do the direct communication using simple mode. While the Digi ZigBee modulewith a powerful, capable of ad hoc network, network from the new connection strengths,its signal intensity is so high that the maximum transmission can be30m in indoor andkeep low power consumption monitoring the whole network by the coordinator. Thegateway also supports a232interface transmitting received data directly to thecomputer.In the software design, this subject use the lightweight TCP/IP protocol stack ofLwIP for it can not only be used in the embedded equipment system but also be run inembedded device who is not on the system. And it can be transplanted convenientlybecause there are a lot of books introduce the process of transplantation in detail. Andwe also supports HTT Psevers and TCP severs; the Webpage can manage gateway。Through the HTTP protocol, we completed the gateway configuration and it canconfigure the XBee module on the PAN ID, a sleep cycle, browse the channel, nodejoining time related parameters. It can also configure the gateway IP addressinformation and restore the factory information and so on. Through the displayWebpage,we can read some basic information of the XBee module, gateway type, hardware and software version number, power supply voltage and the IP addressinformation. Through the TCP server, we can transmit the gateway data to the hostcomputer through ethernet.During the testing, the first to test, test, then the network test. When configuringWebpage information, this subject reads out the data through the serial port which canensure the correctness of data. Then the data is read by the Ethernet to the computerwhich can correct the comparative data.Finally, this subject summarizes some problems encountered in the processincluding the selection of embedded network protocol, ZigBee module, how to choosethe CPU at hardware and the method of use of the network chip. Through the summary,we learned its lessons and lay the foundation for rapid learning related topics for thefuture.In order to realize the control and management the ZigBee domain of networkinformation that access to the Internet any, this design uses embedded Web technology,the advantages of its type can make the users can remote monitoring and managementof ZigBee gateway, don’t have to live in the face of used equipment; This design alsoUSES the data passthrough mode, so in order to comply with various protocols, theadvantage terminal is using different protocols can use this gateway. |