Abstract: With the improvement of social and economic level, people's requirements for the quality of home life are also getting higher and higher. At the same time, with the continuous development of embedded technology and the popularity of mobile communication equipment, the conditions for remote control of ordinary household appliances have gradually matured. In order to realize the purpose of mobile phone remote control of home appliances, an embedded home gateway based on ARM+linux is proposed, which is based on 32-bit ARM9S3C2440 microprocessor, equipped with SMS receiving module, infrared remote control self-learning module, and wireless Zigbee. Communication module. The receiving of the short message and the receiving, storing and transmitting of the infrared remote control signal are realized. After testing and analysis, the expected results were achieved, and the program proved to be feasible.
Today, with the continuous development of information and communication, with the progress of human society and the rapid development of science and technology, and the continuous improvement of the living standards of domestic consumers, people pay more attention to the quality of life and have higher requirements for the comfort of life. The performance of home appliances has a direct impact on the comfort of people's lives. The home appliance remote control system enables people to control the internal equipment of the home, expand the living space of people, and provide a convenient means for people to manage the home equipment. However, because many ordinary household appliances do not have the conditions required for intelligent control, in order to realize intelligent control of ordinary household appliances, it is necessary to design an intermediate device--home gateway.
This system uses the current ARM9 series microprocessor chip and embedded Linux operating system to design the hardware and software of the home gateway, using the mobile phone and the home gateway to carry on the short message communication, and under the control of the home gateway, realize Remote control of home appliances.
1 home gateway overall structure
The remote home appliance control system can be generally divided into three parts: an external network, a home gateway and an internal network. The home gateway is the connection hub between the home intranet and the extranet, and is also the core device of the whole system. The whole system structure is shown in Figure 1. The user uses the mobile phone to send the home appliance control SMS to the home gateway, and converts it into a remote control infrared command through the processing of the home gateway, and sends it to each sub-control node to drive the infrared transmitter to send an infrared command to control the device, thereby realizing the mobile phone remote control home appliance. The function.
Figure 1 system composition diagram
2 Home Gateway Implementation
There are various options for the choice of the home gateway CPU. However, considering the function, cost and future upgrade of the home gateway, this project decided to use Samsung's S3C2440A processor as the central processing unit of the home gateway. The S3C2440 is designed for handheld devices and cost-effective, low-power applications. The S3C2440A provides a complete set of system peripherals, which greatly reduces the cost of the entire system and eliminates the overhead of configuring additional devices for the system. SDRAM/Flash), touch screen, SMS receiving module, remote control self-learning module, Zigbee module to build the hardware platform of the home gateway, its system structure is shown in Figure 2. The features of the home gateway include:
The code reading of the infrared command of the remote controller, the receiving and processing of the short message, and the master node of the home intranet.
Figure 2 Home Gateway System Structure
2.1 Remote control self-learning module
Household appliances in the home generally use infrared remote control equipment, to control the home appliances must know the corresponding infrared remote control code. The infrared pulse code of the remote controller generally consists of a boot code, an address code, a data code, a data code inverse code, and a result code. Due to the different encoding/decoding modes and pulse width cycles of the infrared encoding/decoding chips produced by various companies, the functions of various remote controllers on the market are incompatible with each other. In order to have the remote control functions of various remote controllers, it is necessary to correctly receive and store the infrared pulse code of the remote controller as it is. For this purpose, an infrared remote control receiving module is designed to receive the infrared command of the remote controller and save it in the SQlite database.
Easy Electronic Technology Co.,Ltd , https://www.pcelectronicgroup.com