Smart home is based on the house as a platform, using integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to integrate facilities related to home life, build an efficient management system for residential facilities and family schedule affairs, improve home safety, convenience, comfort, artistry, and achieve an environmentally friendly and energy-saving living environment. Based on the latest definition of smart home and referring to the characteristics of ZigBee technology, this system is designed. On the basis of including the necessary systems of smart home (smart home (central) control management system, home lighting control system, home security system), it also adds home wiring system, home network system, background music system and home environment control system. In the recognition of smart home, only the home system that has fully installed all the necessary systems and at least one or more optional systems can be called smart home. Therefore, this system can be called a smart home.
1 System Design Scheme
The system design consists of controlled devices and remote control devices in the home. The controlled devices in the home mainly include computers that can access the Internet, control centers, monitoring nodes, and optional home appliance controllers. The remote control devices mainly consist of remote computers and mobile phones. The system composition is shown in Figure 1.
The main functions of the system are: 1) browsing the front-end web pages and managing the background information; 2) realizing the switch control of indoor household appliances, security and lighting through two remote control methods, the Internet and mobile phone; 3) realizing user identification through the RFID module, so as to complete the switch of the indoor security status, and send an alarm to the user through a short message (SMS) when the thief breaks in; 4) completing the local control and status display of indoor lights and home appliances through the central control management system software; 5) using the database to complete the storage of personal information and indoor equipment status, and conveniently allowing users to query the indoor equipment status through the central control management system.
2 System Hardware Design
The system hardware design includes the design of the control center, monitoring nodes and the selected household appliance controller (here the electric fan controller is taken as an example).
2.1 Control Center
The main functions of the control center are: 1) Establishing a wireless ZigBee network, adding all monitoring nodes to the network, and receiving new devices; 2) User identity recognition, the user uses the user card to switch the indoor security when leaving or returning home; 3) When a thief invades the room, the alarm is sent to the user by sending a short message. The user can also control the indoor security, lighting and home appliances through short messages; 4) When the system is running alone, the LCD displays the current system status for the user to view; 5) Store the status of electrical equipment and send it to the PC to realize the system online. According to the functions of the control center, its composition block diagram is designed as shown in Figure 2.
The CC2430 microcontroller from TI is selected as the controller of the ZigBee module. It is a high-performance, low-power 8051 core microcontroller. It is also a 2.4 GHz radio frequency device that complies with the IEEE802.15.4 specification. The hardware supports carrier sense multiple access/collision detection (CSMA/CA). The operating voltage of 2.0-3.6 V is conducive to achieving low power consumption of the system. Through the ZigBee coordinator module connected to the control center, a wireless star-shaped ZigBee network is established indoors. All monitoring nodes and selected household appliance controllers are
added as terminal nodes in the network to achieve wireless ZigBee network control of indoor security and household appliances.
The control center MCU uses an 8-bit microcontroller ATMegal28. This device is a high-performance, low-power RISC structure microcontroller. Most instructions can be completed within 1 clock cycle. It works at a maximum of 16 MHz. It has 128 K of in-system programmable Flash, 4 K bytes of EEPROM and 2 serial interfaces. It is connected with GSM module, RFID module, LCD module, ZigBee coordinator and PC, and is the core of the whole hardware system, completing the response to the central control management system and driving each module. The GSM module adopts TC35i module. It is directly connected to the control center MCU through the serial UART interface. The RFID module adopts ZLG500 module, which integrates MFRC500 ISO14443A card reader, which can read and write the EEPROM in RC500. Since ZLG500 does not adopt the standard SPI interface specification, it can only be connected to the general I/O interface of the microcontroller to achieve communication. The LCD module uses 1602 LCD and adopts a 4-wire interface to connect to the general I/O interface of the control center MCU. The ZigBee coordinator and the control center MCU adopt a 2-wire interface to realize bidirectional data transmission between the two. The control center MCU is connected to the computer RS232 serial port, and the data transmission is stable, reliable and real-time.
2.2 Monitoring nodes
The functions of monitoring nodes are: 1) detection of human signals, sound and light alarm when thieves invade; 2) control of lights, which are divided into automatic control and manual control. Automatic control is to automatically turn on/off the lights according to the intensity of indoor light, and manual control is to achieve lighting control through the central control management system; 3) send alarm information and other information to the control center, and receive control instructions from the control center to complete equipment control. Based on the functions of monitoring nodes, the composition of monitoring nodes is shown in Figure 3.
The infrared plus microwave detection mode is currently the most commonly used method for human signal detection. The pyroelectric infrared probe here uses RE200B, and the amplifier uses BISS0001. RE200B is powered by 3-10 V voltage, and has a built-in pyroelectric dual-sensitive infrared element. When the element receives infrared light, a photoelectric effect occurs at the two poles of each element and accumulates charge. BISS0001 is a digital-analog hybrid special integrated circuit composed of an operational amplifier, a voltage comparator, a state controller, a delay timer, and a blocking time timer. It can form a passive pyroelectric infrared switch with RE200B and a small number of components. The microwave sensor uses the ANT-G100 module, with a center frequency of 10 GHz and a maximum settling time of 6μs. Combined with the pyroelectric infrared module, it can effectively reduce the target detection error rate.
The light control module is mainly composed of a photoresistor and a light control relay. The photoresistor is connected in series with a 10 kΩ adjustable resistor, and the other end of the photoresistor is grounded, and the other end of the adjustable resistor is connected to a high level. The voltage value of the two resistor connection points is obtained through the analog-to-digital converter of the single-chip computer to determine whether the current light is on. The adjustable resistor can be adjusted by the user to meet the light intensity set by the user when the light is just turned on. The switch of the indoor light is controlled by a relay. Only one input and output port is required.
2.3 Select the household appliance controller to be added
The control of the household appliances selected to be added is mainly based on the function of the device to realize the device control. Here, the electric fan is taken as an example. The control of the electric fan is that the control center sends the electric fan control command issued by the host computer to the electric fan controller through the ZigBee network. Different household appliances have different identification codes. For example, this protocol stipulates that the identification code of the electric fan is 122, and the identification code of the household color TV is 123, so that the control center can identify different household appliances. For the same instruction code, different household appliances perform different functions. Figure 4 shows the composition of the household appliances selected to be added.
Previous article:Design of Gas Monitoring System Based on ZigBee
Next article:Wireless data transmission system based on CXA1019
Recommended ReadingLatest update time:2024-11-16 19:50
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Detailed explanation and engineering practice of unmanned monitoring technology (Xie Jianbin, Li Peiqin, Yan Wei, Liu Tong, Lin Chenglong, Hong Quanyi, Zhou Hongfei, Cui Yibing)
- Introduction to Wireless Sensor Networks (Edited by Ma Sasa et al.)
- Introduction to the Internet of Things (Liu Yunhao)
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Renesas CPK-RA6M4 Development Board Review ----ADC
- EEWORLD University - Cadence Allegro 17.4 Quadcopter Full Zero-Based Introductory Course
- How to find MSP430 program examples on TI's official website
- Another board unboxing! This time it's the GigaDevice GD32307E-START development board
- FPGA Introduction Course 2-Counter
- Introduction to TI battery failure modes and BMS related solutions
- 2008 transcripts - review
- Help with the feedback control loop of the flyback switching power supply
- LPWAN Alternatives for IoT
- Greenhouse automatic spraying system ---- H743temperature sensor