Smart home system solution based on Linux system and ZigBee

Publisher:chuyifeiLatest update time:2012-04-25 Keywords:Linux Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Abstract: According to the development needs of modern home, this paper proposes an overall design of smart home system, with ARM11S3C6410 as the core processor and Linux embedded system as the home center monitoring system. Linux Qt is used to complete the writing of control program and human-machine interface, GPRS communication technology is used to complete the remote communication and monitoring of the system, and the internal network of the system based on ZigBee wireless communication technology is established. The control of home appliances based on a unified protocol is completed, realizing the intelligence of the home.

0 Introduction

With the continuous development of network technology and communication technology and the continuous improvement of people's living requirements, the realization of intelligent remote monitoring of homes has become an inevitable trend. The Housing Industrialization Promotion Center of the Ministry of Construction of China proposed that residential areas should realize six intelligent requirements, including the implementation of automated monitoring and management of security precautions: automatic alarm for residential fires and leaks of harmful gases; the anti-theft alarm system should be equipped with various types of alarm detectors such as infrared or microwave; the system should be able to connect to the computer security integrated management system; the computer system can centrally manage and control the anti-theft alarm system. With the continuous development and maturity of GPRS remote communication technology and short-range wireless network communication technology, the monitoring technology of smart homes has gradually matured. GPRS network communication service is a data transmission communication service launched by communication companies. Within the coverage area of ​​GPRS network, the transmission distance is not limited, the communication cost is relatively low, and the transmission rate is fast. Zig-Bee short-range wireless communication technology is a short-range, low-complexity, low-power, low-rate, low-cost two-way wireless communication technology. It is mainly used for data transmission between various electronic devices with short distances, low power consumption and low transmission rates, as well as typical applications with periodic data, intermittent data and low response time data transmission. This paper solves the technical difficulties related to home intelligent embedded systems, GPRS remote communication, ZigBee wireless communication, home appliance decoding and encoding, home control protocols, etc., analyzes their respective basic characteristics and basic functions to be achieved, and on this basis proposes an overall solution for the smart home system based on Linux embedded system, ZigBee network and GPRS wireless communication.

1 Overall system design

Smart home network refers to the establishment of a communication network in a home, connecting various home appliances to each other, realizing remote use and control of all devices on the smart home network and any required information exchange, such as music, doors and windows, power supply, television or data, etc. The architecture of the smart home network includes the home internal network system, the smart home controller, and the data communication between the smart home network and the external network. Among them, the smart home controller is an important part of the smart home network, playing the core role of management, control and communication with the external network. It is a system that organically combines various subsystems related to home life through the home management platform. It is also a physical interface connecting the internal and external networks of the home intelligence, completing the data exchange function between the internal and external communication networks of the home, and is also responsible for the management and control of home devices. On the one hand, the smart home controller needs to provide a communication interface for the internal wiring of the home, collect information of home devices, and process, automatically control and adjust it; on the other hand, as a home gateway, the smart home controller also provides a network interface for the outside, connecting the internal network of the home and the external network, so that users can access the internal network of the home through GPRS network and other methods to achieve monitoring and control. The system control scheme is shown in Figure 1.

Figure 1 System overall control block diagram

Figure 1 System overall control block diagram

This system uses Samsung's latest ARM11S3C6410 control chip as the core controller to complete the processing of all home internal data, including data collection and control command issuance. It is the core of the entire smart home control. It uses Linux embedded system as the home center monitoring system, which can automatically run and process data. It controls each control terminal through serial port management and wireless network. The central controller realizes the communication between the home system and the mobile phone through the GPRS module, so that users can remotely control the home system through text messages. At the same time, the controller also uses a 10.3-inch touch screen to provide users with command input terminals, uses Linux Qt to complete the writing of the human-machine interface, and completes the transmission of home internal data through the ZigBee wireless communication protocol, which is convenient for users to realize local control. The control terminal is composed of several small control systems composed of single-chip microcomputers to control various home appliances, and these small control systems are networked through the control bus, connected to the smart home controller, and controlled by the smart home controller.

Keywords:Linux Reference address:Smart home system solution based on Linux system and ZigBee

Previous article:Mouse programming communication protocol
Next article:Leon2 processor IP core technology

Recommended ReadingLatest update time:2024-11-16 16:20

OK6410A Development Board (VIII) 36 linux-5.11 OK6410A Memory Management Phase 4
D mm_init- mem_init returns- mm_init- kmem_cache_init returns ----At this time, slab is established, opening the era of slab memory manager based on the buddy memory manager era kmem_cache_init This process is based on slabs. Through the slab api kmem_cache_create, many slabs are created. Assume that these slabs
[Microcontroller]
[Linux bottom layer] U-boot debugging command usage tips
If you debug the driver at the uboot stage, you can make full use of the existing resources of uboot. This is more convenient and can speed up the development process. Only by standing on the shoulders of giants can you achieve twice the result with half the effort. 1. uboot provides operation commands to cover 2.
[Microcontroller]
OK6410A Development Board (VIII) 51 linux-5.11 OK6410A mmap and malloc provided by glibc
glibc According to the source of the dynamic link library in rootfs, we can see that glibc comes from the cross-compilation toolchain, and the glibc version is glibc-2.18 Let's explore the definition and implementation of mmap and malloc functions in glibc-2.18 The glibc source code is at http://ftp.gnu.org/gnu/glib
[Microcontroller]
tiny6410 linux miscellaneous device led driver
#include linux/miscdevice.h #include linux/kernel.h #include linux/module.h #include linux/init.h #include linux/fs.h #include linux/types.h #include linux/errno.h #include linux/ioctl.h #include linux/cdev.h #include linux/device.h #include linux/ioport.h #include asm/io.h #include asm/uaccess.h   #defin
[Microcontroller]
ARM-Linux S5PV210 UART driver (3) ----Serial port core layer, key structures, interface relationships
Although a specific UART device driver can be designed according to the design method of tty driver, that is, defining tty_driver and implementing the member functions of tty_operations, Linux has implemented a general tty driver layer for UART devices in the file serial_core.c, called the serial port core layer. In
[Microcontroller]
ARM-Linux S5PV210 UART driver (3) ----Serial port core layer, key structures, interface relationships
Tiny 6410 Linux learning summary!
1. Modify the IP address of Tiny6410 Linux system: vi /etc/eth0-setting 2. Ubuntu14.04 automatically logs in to the system as root: /etc/lightdm/lightdm.conf Change to the following: Automatically log in as Root after reboot autologin-guest=false
[Microcontroller]
About RS485 driver of AT91SAM9261 under Linux
AT91SAM9261 and other ARM processors of ATMEL use highly similar USART peripherals, so the drivers are also highly similar, and the USART hardware supports 485 mode, using the RTS signal as the receiving and sending control of 485. In use, as long as it is set to 485 mode, the rest of the operations are exactly the sa
[Microcontroller]
Research on frequency sweeper based on Linux multi-task operating system
1 Introduction The frequency sweeper is an instrument suitable for measuring the frequency response of a system. The frequency response of a system includes two aspects: amplitude-frequency response and phase-frequency response. At present, in the implementation of the frequency sweeper, the hardware platfo
[Test Measurement]
Research on frequency sweeper based on Linux multi-task operating system
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号