At present, with the continuous improvement of people’s quality of life, thermostatic element people also put forward more requirements for the control of household appliances. This paper mainly makes a comprehensive analysis and Research on the design of remote controller for household appliances, and puts forward the following contents on this basis, hoping to provide some valuable reference for staff in the same industry.
For the information society, to a certain extent, it has brought great changes to people’s way of life and work. At the same time, it has also made people’s requirements for living and household appliances continue to improve, and household appliances control has begun to develop towards integration. Its fast and convenient human-computer interaction channel frees people from the tedious details of life, not only improves people’s work efficiency, but also saves more precious time resources.
In the pursuit of high quality of life, the intelligent controller of household appliances will become a hot tool in the new century, at the same time, it will also become the focus of research. Nowadays, there are many kinds of microprocessors in single-chip microprocessors, and they are developing in the direction of low cost and low power consumption. Gortex-M3 is the first architecture based on ARMv7.
However, Thumb-2 instruction aggregation is not a feature of data storage and atomic bit processing. Easy storage control for 8-bit 16-bit devices can better achieve 32-bit performance. LM3S1F16 is a product using Cortex-M3 kernel. When its CPU time reaches 80MHz, the internal memory mainly includes 384KB FlashROM and 48KB SRAM. In this design process, the selected GPRS module is mainly GR100E, which can support the wake-up mode of online work, but also can wake-up through telephone and SMS, so as to support automatic online and disconnected automatic connection, and also support fixed IP and dynamic domain name access to the center, support short-term.
Telecommunication remote modification parameters, mainly for industrial design. Its technical parameters are as follows: 900/1800MHz, and also meet the ETSI GSM phase2/2 standard. In the system, there are many different power supply demand modules, GPRS module, button and indicator module, etc. The motherboard needs 3.3V power supply, while the relay circuit needs 12V power supply. Especially when GPRS module is idle, the average current is mainly 40 mA. According to the communication mode, the average current can reach 150 mA. So the 5V and 12V voltage can be obtained by switching power supply. The 5V power supply can be converted to 3.3V voltage by LM1117DT-3.
3 chip, so that it can meet different power supply needs. In order to obtain more stable power output, the clutter can be removed by capacitance and inductance, and the power supply and digital resistance through 0 ohm are separated. Therefore, great attention should be paid in the future research process. Send out the corresponding short message instructions. The message command sent does not include spaces. The format is: test. If space is included in the short message instruction, the sending format is mainly “new sms”. Among them, the first parameter is the telephone number, and the second parameter is the information content. If the information content includes spaces, then we need to use “” to encapsulate the content of the short message. When there are Chinese characters in the information content, Unicode coding can be used, and four zeros can be used as its end, so that it can be recognized that the information is mainly in the form of Unicode coded strings. Accept short messages and various configuration instructions. Firstly, DTU receives short message serial port output mode. In GPRS module, we can set GPRS module to receive short message serial port output mode through the following instructions.
Secondly, the format of short message output should be set. GPRS module can set the way of serial port output short message content.
After receiving short message, the module data unit can automatically output formatted short message at serial port, including number, time and content of short message. The encoding and decoding equation of short message in GPRS module of the system can be set by instructions, because the content format of the message sent by the remote intelligent controller of household appliances is fixed, which simplifies the decoding process of the communication code to a certain extent. After receiving the message, the remote control terminal of the system can use the Unicode code code to pair it. It is decoded and coded according to ASCII code, thus feedback switch status to mobile phone users. In this system, the embedded real-time operating system is mainly uC/OS-II, and according to it as the core of software, it can more effectively avoid the problems of program running or dead cycle because of the more traditional front and back-end programs. In this system, three tasks are created according to the functional requirements. They are LCD display task, keyboard task and GPRS communication task. According to the priority principle of assigning tasks to high and low level according to the real-time requirement, the priority of these three tasks is 4, 5 and 6 in turn. GPRS communication task is the core function of engineering system software, and its communication task includes the detection of the serial communication of receiving SMS messages, the content data processing operation of receiving commands and the control of electrical load, etc.
The main function operation of the system is mainly realized in this task on the stack. In the process of GPRS communication task, the process of receiving content of short message is no more than 300 ms. However, 300 ms message is processed after receiving.
The GPRS task needs to copy the data content to the cache continuously, and clear the received cache after completion, so as to facilitate the next reception. Each piece of information can be processed in this way, and can receive or send short messages more quickly, so that there will be no errors in operation. Through the above content analysis, it can be seen that the intelligent controller of household appliances is an indispensable part of the larger and complex smart home system to a certain extent, and the function of the intelligent controller of household appliances is constantly expanded, so that it can be upgraded to a smart home system. The system mainly adopts the embedded UG / OS-II operating system. According to the mobile phone which is widely used in people’s daily life as its remote control command sending end, and through GPRS network architecture, according to SMS short message mode, it can make remote interaction for home appliances, better realize a real-time and information interactive information home. Electrical control system, the main function of the system is modular design, its configuration is more flexible, but also has a better expansion.