基于Raspberry Pi的智能家居系统设计
2017-01-12殷贤华刘明缘王宁
殷贤华+刘明缘+王宁



摘 要: 针对普通智能家居系统接口标准多、维护成本高、移动性差等缺点,提出一种基于Raspberry Pi嵌入式平台的智能家居系统设计方案。该系统由控制器、Web服务器、Web浏览器、APP移动终端和监控终端组成,采用ZigBee技术实现监控终端与控制器之间的通信。实验表明,该系统能使用户通过Web浏览器或手机APP终端实现对家居的远程监控,具备较好的应用价值。
关键词: Raspberry Pi; 服务器; 客户端; ZigBee
中图分类号: TN911?34; TP311 文献标识码: A 文章编号: 1004?373X(2016)23?0161?04
Design of smart home system based on Raspberry Pi
YIN Xianhua, LIU Mingyuan, WANG Ning
(School of Electronic Engineering and Automation, Guilin University of Electronic Technology, Guilin 541004, China)
Abstract: In order to overcome the disadvantages of multiple interface standards, high maintenance cost and poor mobility of the general smart home system, a new design scheme of smart home system based on Raspberry Pi embedded platform is proposed. The system is composed of controller, Web server, Web browser, APP mobile terminal and monitoring terminal. The ZigBee technology is adopted to communicate between the monitoring terminal and controller. The experimental results show that the system can help users to realize the home remote monitoring through Web browser or mobile phone APP terminal, and has good practical value.
Keywords: Raspberry Pi; server; client; ZigBee
0 引 言
智能家居是以住宅为平台,利用综合布线技术、网络通信技术、自动控制技术等,兼顾自动化和智能化为一体的高效、安全、便利的家居环境[1]。随着物联网技术日趋成熟,智能家居设备正受到广泛的关注。开发成本低、移动性强、扩展性更好的普通智能家居系统是当前亟需解决的问题[2]。
Raspberry Pi(中文名称:树莓派)是一个新兴的嵌入式平台,在国外得到广泛的应用,在国内的研究应用较少,该嵌入式平台的核心优势在于成本低,拓展性强,应用领域广,社会关注度高。树莓派微型计算机的发展证明,树莓派在许多领域都有巨大的应用潜力[3]。为了紧跟国际发展趋势,研究、拓展和创造更具竞争力的智能家居系统,选择关注度高的Raspberry Pi更有优势和应用价值[3]。该智能家居系统以Raspberry Pi 为核心进行开发,整合了传感器技术、ZigBee无线通信、Linux系统应用、Web 服务器与页面设计以及Android 客户端设计等。该系统具有成本低、可靠性高与拓展性好等优势,避免了重复的构架设计与产品研究,让产品的升级拓展更加便捷,在一定程度上减少了人力物力的花费。……
