With the development of technology and economic,china’s demand for energy is increasing,while electrical as the very valuable secondary energy,china’s demand is also growing.However in some public indoor areas including our own home,there are a lot electricity-wasting phenomena such as some people forget to turn off the lighting,sockets,air condition and other electrical equipment,so that it still works,not only cause unnecessary waste of energy,but also cause security risks.Therefore,in view of this phenomenon,this paper designed a set of indoor power saving system based on wireless net,without changing the original indoor wiring in the case,when people enter in the room,the electrical equipments will automatically open,while people leave the room for some time,the power equipments will automatically power off.The system not only achieve the effective control and management of electricity,reducing the waste of energy,but also make people’s electricity using mode become simple and intelligent.The indoor energy-saving system based on wireless local area network includes the main control,the human body infrared sensor module,the window magnetic induction module,the socket switch,the lighting switch and the air conditioning controller.The whole modules are based on the CC1101 wireless transceiver chip to form a star wireless local area network.The main control receives the infrared sensor module and the window magnetic induction module information and carries on the analysis judgment,and then sends the opening or closing instruction to the socket switch,the illumination switch and the air conditioning controller to control its on or off.This paper mainly completed the following work:(1)The overall design of the system.The function and structure of the system are described the overall block diagram of the system and the network topology are designed.(2)The hardware design of the system.The schematic diagram of the module,PCB design and the design of radio frequency communication circuit based on CC1101 are finished.(3)The software design of the system.Each module’s program is compiled,the system work pattern and communication protocol designed.(4)The joint testing of the system.The test results show that the indoor energy-saving system based on wireless LAN is stable and reliable,and can meet the requirements of users. |