摘要
为了解决有线方式控制照明系统布线麻烦、安装成本高、维护和扩展困难等问题,提出了一种基于智能手机的照明控制系统的设计方案。系统由上位机和下位机组成,下位机在联网状态时用来接收和解析手机发送的操作命令,并对继电器电路发送打开或关闭的命令控制照明设备,在脱网状态时可以根据设置的定时模式和关联模式,实现定时打开或关闭照明设备,并能根据外部传感器模块的输入数据对照明设备进行控制,上位机采用JAVA进行编程,能够完成网络连接、发送指令以及显示照明工作状态的功能。实际应用表明,该系统具有操作简便、工作稳定的特点,达到了设计要求。
Lighting control system based on smart phone is proposed to solve the problems of wired lighting control system referring to wiring trouble, high installation costs, maintenance and extended difficulties.The system consists of upper computer and lower computer.Under interconnection state,the lower computer receives and parses the commands sent by mobile phone and then send them to relay circuit to open or close lighting; when off pres-ence , the lighting equipment is controlled at a predetermined time and controlled by the input data from an external sensor module;the upper computer uses JAVA programming, sending commands to slave and display lighting work-ing condition under network connection.The experiment and application show that lighting control system has good performance, and meets the design requirement.
出处
《河池学院学报》
2015年第2期97-101,共5页
Journal of Hechi University
基金
广西高校优秀中青年骨干教师培养工程基金资助项目(桂教人〔2014〕39号)
柳州铁道职业技术学院科研基金资助项目(2014-A02
2014-A04)