The advancement of science and technology and the improvement of people's material living standards have gradually promoted the emergence of the concept of smart home. Nowadays, as one of the top ten application areas of the Internet of Things, the application of smart home is closely related to life. The continuous development of various wireless communication technologies has made the intelligent and remote control of home intelligent systems a reality. For home network communication, the amount of transmitted data is small, the transmission rate is not high, the network capacity is large, and there are many home appliances, so information is required to have real-time information, short delay, and low cost.
As an emerging wireless network communication technology, ZigBee has a low cost, low power consumption and wide coverage, which makes it a great advantage in the smart home field. In view of the complex structure of the smart home products on the market, the general performance is not strong and the user experience is not good, this paper designs and implements a more perfect smart home system.
1 system overall design
1.1 System composition
The smart home system is mainly composed of a home gateway, a ZigBee module, a GSM/GPRS module, a Wi-Fi module, a liquid crystal touch screen, various types of sensors, and a mobile phone software terminal. The home gateway is the core control part of the whole system. The ZigBee coordinator is responsible for the link of the wireless acquisition and control network, the analysis of the data and the release of the instructions. The ZigBee modules collect the environmental information and control the underlying devices according to the instructions. The overall block diagram of the system is shown in Figure 1.
The user can send control commands to the home gateway through the remote network or mobile phone software. The ZigBee coordinator controls the ZigBee modules responsible for collecting or controlling the home appliances. The home gateway can also provide feedback to the mobile phone software via GPRS or Wi-Fi. Equipment health and collected data. When the sensor in the home is detected to have an abnormal situation, not only the alarm in the home will start to alarm, but also the system will send an alarm message to the user's mobile phone through the GSM/GPRS module.
1.2 ZigBee network topology
There are three main types of ZigBee network topology: star, tree, and mesh. The star network has a simple structure and low cost, but the communication is limited by the distance and the coverage is small. The tree network has a route, so the coverage is larger than the star network, but once a route fails, the node connected to it is It will be disconnected from the network; the mesh network structure is more complicated, the coverage is large, and the reliability is high.
The star-shaped net for households with a small living area has a high cost performance. If the living area is large, the mesh network will have a better effect. The smart home system uses a star network to establish a topology.
2 system hardware design
2.1 Home Gateway Master Controller
In the design of this smart home system, the control chip of the gateway main controller adopts Samsung's S3C6410, which is a 16/32-bit RISC microprocessor, adopts ARM1176JZF-S core, and the main frequency reaches 667 MHz, which can meet the real-time system. Sexual requirements. The S3C6410 supports a TFT 24 bit LCD screen with a maximum resolution of 1 024 & TImes; 1 024. It has 2 IIC, 4 UARTs and a full-featured SPI. It also has two PCM Audio interfaces, two USB ports and an SD/MMC interface. It is very convenient for peripheral expansion. The S3C6410 is low in price, high in performance and low in power consumption, and fully meets the design requirements. After adding peripheral circuits such as power module, GSM/GPRS module, touch screen and Wi-Fi module, the home gateway master controller is formed. The core module relationship diagram in the gateway is shown in Figure 2.
2.2 ZigBee Module
In this design, the ZigBee module is divided into two parts: the RF transceiver module and the bottom control panel.
The RF transceiver module uses the CC2530 chip from Texas Instruments as the control chip. The CC2530 chip is a true system-on-a-chip solution for IEEE802.15.4, ZigBee, and RF4CE that enables the construction of powerful network nodes with low-cost materials to support low-power wireless communications. The bottom control board is connected to the RF transceiver module, and has an 8-bit DIP switch input, 2 digital inputs, 2 digital outputs, 1 analog input, 1 analog output, and 1 IIC bus interface. Among them, the ZigBee coordinator module is connected to the home gateway through the RS232 serial port. The versatility of the underlying control board is good. The 8-bit DIP switch can be selected according to its own functions, and the user can expand the underlying nodes according to requirements.
2.3 GSM/GPRS module
In this design, the GSM/GPRS module SIM300 of Chenxun Technology is adopted. The SIM300 is a complete GSM/GPRS solution in a small-volume, plug-and-play module that embeds a powerful TCP/IP protocol stack for high-speed transmission of voice, SMS, data and fax information in small size and low power consumption. . After the SIM300 is powered on, it automatically attaches to the GPRS network and establishes a communication link with the data center to send and receive data of the remote user equipment and the control center at any time. The gateway is connected to the SIM300 through the RS232 serial port, and controls the call and text message by using the AT command.
Lock motor product introduction:
Intelligent lock motor, also known as electronic locks, the product effectively combines the advantages of traditional electronic locks and electromagnetic lock overcame the electric lock too much noise, electromagnetic lock power shortage and the development of new products, and spiritual compared with electric control lock and magnetic locks, lock its performance more perfect, more obvious advantages.
Functions: it is widely used in various intelligent locks, such as Shared bicycle lock, fingerprint lock, glass lock, safe lock, hotel lock, family lock, inductive smart lock, etc
Features:Lock motor is based on micro precision reducer development, small intelligent micro precision reducer can do 10 mm in diameter, is widely used in safe, locks, smart locks, sensor intelligent lock;
This kind of motor has the characteristics of low noise, low energy consumption, small volume, light quality, high precision, large torque and durability
Method of use: the best stable in horizontal plane, installed on the lock motor output shaft parts, cannot use a hammer to knock, knock prone to press into the dc lock motor drive, may cause damage to internal components, and cannot be used in the case of blocked.
Operating temperature range:
lock motor should be used at a temperature of -10~60℃.
The figures stated in the catalog specifications are based on use at ordinary room temperature catalog specifications re based on use at ordinary room temperature (approximately20~25℃.
If a lock motor is used outside the prescribed temperature range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.Depending on the temperature conditions ,it may be possible to deal with them by changing the grease of the motor's parts.Please feel free to consult with us about this.
Storage temperature range:
lock motor should be stored ta a temperature of -15~65℃.
In case of storage outside this range,the grease on the gearhead area will become unable to function normally and the motor will become unable to start.
Service life:
The longevity of lock motor is greatly affected by the load conditions , the mode of operation,the environment of use ,etc.Therefore,it is necessary to check the conditions under which the product will actually be used .The following conditions will have a negative effect on longevity.Please consult with us should any of them apply.
â—Use with a load that exceeds the rated torque
â—Frequent starting
â—Momentary reversals of turning direction
â—Impact loads
â—Long-term continuous operation
â—Forced turning using the output shaft
â—Use in which the permitted overhang load or the permitted thrust load is exceeded
â—A pulse drive ,e.g.,a short break,counter electromotive force,PWM control
â—Use of a voltage that is nonstandard as regards the rated voltage
â—Use outside the prescribed temperature or relative-humidity range,or in a special environment.
â—Please consult with us about these or any other conditions of use that may apply,so that we can be sure that you select the most appropriate model.
when it come to volume production,we're a major player as well .each month,we rurn out 600000 units,all of which are compliant with the rohs directive.Have any questions or special needed, please contact us, we have the engineer group and best sales department to service to you
Looking forward to your inquiry. Welcome to our factory.

Lock Motor,Intelligent Lock Motor,Smart Lock Motor,3V Lock Motor
Shenzhen Shunchang Motor Co., LTD. , https://www.scgearmotor.com