Shenzhen ZTRON Microelectronics Co., Ltd
Telephone
0755-8299 4126

Internet of things

Home remote monitoring system solution development


The home switch remote monitoring system based on Bluetooth communication, completes the data communication between the system and the mobile phone Bluetooth through Bluetooth communication transmission, and sends corresponding instructions through the mobile phone Bluetooth to control the opening and closing of home appliances. With the continuous development of social economy and the continuous improvement of science and technology, people's lives are also constantly changing, especially after entering the information age, various electronic systems are widely distributed around life, and the living environment is gradually becoming intelligent. . The development of electronic technology has greatly promoted people's lives. Remote control systems realized by means of mobile communication technology are gradually appearing in high-end places, and smart home products are also being gradually promoted and applied, and have been widely praised so far.


1. Design idea of home remote monitoring system


The main design idea is to use the mobile terminal as the main control terminal. After Bluetooth configuration, the mobile terminal sends instructions to the SIM900A GSM module, and the SIM900A GSM module transmits the instructions to the single-chip microcomputer. After receiving the signal, the single-chip microcomputer controls the 4-way relay control. At the same time, start the LCD program. After finishing the control of the relay, the SIM900A GSM module will feed back the result to the mobile terminal according to the original way, and then realize the design purpose of the whole system.


2. Hardware modular design of home remote monitoring system


The core control circuit of this system is a single-chip micro-controller interface circuit. The main modules of the system are as follows: the main control center of the system, the power supply module, the GSM mobile communication module, the Bluetooth communication module, the environmental detection module and the relay control switch module . Two important modules are introduced below.


2.1 Bluetooth module design


The system uses the HC-05 module as the core of Bluetooth communication, and completes the design of the system Bluetooth communication circuit through the cooperation of peripheral circuits.


U5 is the system bluetooth communication module HC-05 module. Because the working voltage of the HC-05 module is dual voltage +5V and 3.3V, a part of the level shifting circuit is added to the position of pin 1 and pin 2 of the module. The level shifting circuit consists of circuit diodes D5, D6 and resistors R9, R15 composition. Light-emitting diode D7 is used as a circuit indicator light to indicate the working status of the HC-05 module. In the design of the bluetooth module, the bluetooth communication module has three working states: the first one is when the BS-KEY pin is connected to VCC after the module is powered on, D7 will flash slowly for one second and then off for one second. The module enters the AT command state. The second is that after the module is powered on, when the BS-KEY pin is grounded, the flashing frequency of D7 increases at this time, and the flashing frequency is kept at 2 times per second. At this time, the module is in a pairable state, but if this When the BS-KEY pin level is set high again, the module will re-enter the AT command state, but the flashing frequency of D7 remains unchanged. The third state is when the module is successfully paired with the Bluetooth terminal of the mobile phone. At this time, the D7 will flash twice at a time and once every 2 seconds. Therefore, when judging the current state of the system module, we can judge by the flickering frequency of the indicator light D7.


2.2 GSM mobile communication module design


SIM900AGSM is used as the control core of the mobile communication module, and the peripheral auxiliary circuit of the card slot is added to complete the sending and receiving function of the system short message.


U7 is the SIM900A module of the GSM mobile communication module, and J6 is the interface of the SMA antenna, which is an important part of the module receiving and sending signals. Receive the feedback signal from the MCU. LED1 is the power-on indicator of the module. The light and dark state of LED1 reflects the power-on state of the SIM900A module. When the module is powered on, the light is on, otherwise it is off. LED2 is the network status indicator light, which is a blue light-emitting diode packaged in 0805, used to indicate the current status of SIM900A, through the blinking of the indicator light, we can easily judge the working status of the SIM900A module at this time.


3. Home remote monitoring software design


After the initialization is completed, the system will start the GSM network to ensure that the GSM mobile communication module can work normally, so that it is in the state of sending and receiving short messages. The single-chip microcomputer realizes the communication with the GSM module through serial port communication. First, the single-chip microcomputer analyzes the SMS message sent by the GSM module and then outputs the control command to the relay switch, so as to realize the control of the home appliance switch. Use the LCD liquid crystal to display the on and off status of the 4-way home appliance switch. When the single-chip microcomputer control command is sent out, the single-chip microcomputer will perform corresponding detection on the output of the control command. If the command is effectively responded, the single-chip microcomputer will send feedback to the control terminal whether the action is executed successfully or not through the GSM short message module.


Summarize


The use of bluetooth communication to control the switches of home appliances by mobile phones is a cross-age progress, and it is also suitable for the fast-paced life of modern people. Traditional household appliance switches need to be effectively operated at close range, but it is impossible to effectively operate and control them far away from the house. However, GSM mobile communication is no longer limited by the distance of the remote control. The cost and time spent on replacing the battery of the device are reduced, and the convenience of operation is also greatly improved. With the mobile phone remote home appliance control system, there is no need to worry about the trouble of forgetting to turn off the home appliances, as long as a mobile phone text message can be controlled anytime and anywhere. In addition, in addition to the home switch monitoring of this design, it can also realize indoor temperature monitoring to automatically adjust the indoor temperature, and realize indoor smoke detection to prevent fires. Therefore, the realization of mobile phone remote control not only provides convenience for people's lives, but also Greatly improve family security.


The above is the development example of the home switch remote monitoring system introduced by Shenzhen Zuchuang Microelectronics Co., Ltd. for you. If you have remote monitoring module development needs, you can trust us. We represent a variety of single-chip microcomputers, voice chips, dual-mode Bluetooth ICs, and wifi chips. Brands include Songhan MCU, Yingguang MCU, Jerry Bluetooth, Ankai Bluetooth, Allwinner, and Realtek. Our technical services include: PCB design, microcontroller development, Bluetooth solutions, software and hardware custom development, APP development, small program development, WeChat official account development, etc. It can also undertake the design of intelligent electronic products, the development of living appliances, the research and development of beauty equipment, the application of Internet of things platform, the smart home control system, the development of TWS earphones, Bluetooth earphone speakers, the development of children's educational toys, the design of electronic education products, etc.


  • TOP