李泊鋒,王亞剛
(上海理工大學 光電信息與計算機工程學院,上海 200093)
?
基于ZigBee無線技術的智能家居系統設計
李泊鋒,王亞剛
(上海理工大學 光電信息與計算機工程學院,上海200093)
摘要論述了基于ZigBee無線通訊的智能家居控制系統設計,以Android手機為控制中心,ZigBee無線通訊為橋梁,實現一種星型的ZigBee網絡在智能家居中的應用。該系統以TI公司的CC2530單片機為主控,通過ZigBee自組網,終端設備將采集到的數據通過Z-stack協議棧,發送到ZigBee協調器,通過串口將數據發送到電腦及手機上并顯示出來,實現了對設備的集中管理與控制。測試結果表明,ZigBee組網成功,終端節點能輕易地檢測到各子模塊連接的傳感器信號,并可通過手機控制節點信號。
關鍵詞Android平臺;ZigBee技術;CC2530;Z-stack協議棧;智能家居
A Smart Home System Based on ZigBee Wireless Technology
LI Bofeng,WANG Yagang
(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
AbstractA smart home control system design based on ZigBee wireless communication is presented with the Android mobile phone as the center and ZigBee wireless communication as a bridge to form a star ZigBee network for smart homes.CC2530 single-chip of TI is used as the master control,and the terminal equipment collect data through the Z - stack protocol stack through the ZigBee ad-hoc network,which are sent to the ZigBee coordinator and passed via a serial port onto the computer and displayed on a mobile phone,thus realizing the centralized management and control of the equipment.Test results show that the ZigBee networking is successful and that the terminal nodes can easily detect the sensor signal of each module connection and can control node signal by mobile phones.
KeywordsAndroid platform;ZigBee technology;CC2530;Z - stack protocol stack;smart home
智能家居控制系統是一個復雜的控制系統,其是多技術融合的控制系統,也是以住宅為平臺,利用自動控制技術、計算機技術、網絡通訊技術等,將家庭生活中相關的各類應用子系統相結合,實現一個智能化、網絡化的家居控制,從而使家庭生活更加安全、節能、智能、便利和舒適[1]。
相比普通家居,智能家居不僅具有傳統的居住功能,且能提供高效節能、舒適安全,更加人性化的生活體驗。例如:窗簾能夠通過光敏傳感器判斷室內的亮度,從而通過執行器來伸縮卷簾;室內溫度有變,空調可自動打開或關閉從而使室內溫度處于一個恒溫狀態;各類報警設備也可監控非法闖入住宅、煤氣泄漏、火災等情況,一旦出現意外,這些報警信號最終可傳到用戶終端手機,同時相關電器自動進入聯動應急狀態,實現自主防范等。……