基于Android的空调远程控制系统An air conditioning remote control system based on Android
王耀青,解聪
摘要(Abstract):
为了实现对于空调的远程控制,设计一种基于Android的空调远程控制系统。系统利用CC2530作为主控制器,结合红外学习技术、WiFi无线通信技术,扩展了对空调的控制方式。采用ZigBee终端模块实现对红外数据的采集、存储,同时通过Android客户端发送控制命令驱动ZigBee终端实现对于空调的远程实时控制。基于Android平台和异步socket技术设计出一款与云服务器进行通信的APP应用程序。测试结果表明,该系统通过APP应用程序实现了对空调的远程实时控制和温度的采集。该方案经济合理,易于实现,可以应用在其他的家电领域。
关键词(KeyWords): 远程控制;Android;红外数据处理;云服务器;数据采集;socket技术
基金项目(Foundation):
作者(Author): 王耀青,解聪
DOI: 10.16652/j.issn.1004-373x.2018.22.008
参考文献(References):
- [1]张紫谦,衷卫声,梁凯.基于Android终端的物联网家居环境监测系统设计[J].测控技术,2016,35(2):108-111.ZHANG Ziqian,ZHONG Weisheng,LIANG Kai. Design of the Internet of Things home environment monitoring system based on Android terminal[J]. Measurement&control technology,2016,35(2):108-111.
- [2]陈双叶,咸耀山,丁迎来,等.基于WiFi控制的具有自学习能力的红外遥控装置[J].信息通信技术,2016,10(3):70-75.CHEN Shuangye,XIAN Yaoshan,DING Yinglai,et al. Infrared remote control device with self-learning ability based on WiFi control[J]. Information and communications technologies,2016,10(3):70-75.
- [3]周平,吕勇,易恺迪,等.基于PC的智能家电无线红外遥控系统[J].现代计算机,2015(1):36-41.ZHOU Ping,LüYong,YI Kaidi,et al. Wireless infrared control system of intelligent appliances based on PC[J]. Modern computer,2015(1):36-41.
- [4]李宇,王卫星,陈润泽.基于ZigBee的物联网智能家居系统[J].电子测试,2016(5):71-75.LI Yu,WANG Weixing,CHEN Runze. The design of Internet of Things smart home system based on ZigBee[J]. Electronic test,2016(5):71-75.
- [5]任峰,屈璟,崔志诚.一种带红外遥控功能的智能插座的设计与实现[J].电脑知识与技术,2016,12(32):180.REN Feng,QU Jing,CUI Zhicheng. Design and implementation of an intelligent socket with infrared remote control function[J]. Computer knowledge and technology,2016,12(32):180.
- [6]葛广英,葛青,赵云龙.ZigBee原理、实践及综合应用[M].北京:清华大学出版社,2015.GE Guangying,GE Qing,ZHAO Yunlong. Principle,practice and comprehensive application of ZigBee[M]. Beijing:Tsinghua University Press,2015.
- [7]刘根贤,吕国瑛,王晓林,等.基于STM32的嵌入式数字记录模块关键技术研究[J].测控技术,2014,33(10):133-135.LIU Genxian,LüGuoying,WANG Xiaolin,et al. Research on embedded digital recorder design based on STM32[J]. Measurement&control technology,2014,33(10):133-135.
- [8]黄莺.基于ZigBee技术的实验室环境监测系统[J].测控技术,2014,33(10):109-111.HUANG Ying. Laboratory environmental monitoring system based on ZigBee technology[J]. Measurement&control technology,2014,33(10):109-111.
- [9]徐娇.基于ZigBee-WiFi网关的智能空调控制系统的研究与设计[D].镇江:江苏大学,2015.XU Jiao. Research and design of intelligent air-conditioning control system based on ZigBee-WiFi gateway[D]. Zhenjiang:Jiangsu University,2015.
- [10]耿东久,索岳,陈渝,等.基于Android手机的远程访问和控制系统[J].计算机应用,2011,31(2):559-561.GENG Dongjiu,SUO Yue,CHEN Yu,et al. Design and implementation of Android phone based access and control in smart space[J]. Journal of computer applications,2011,31(2):559-561.