摘要
Android移动终端的APP采用socket通信技术向服务器发送各种LED灯的控制命令;服务器程序通过USB串口通信将控制命令发送给Zig Bee协调器,解决了TCP/IP协议与Zig Bee协议栈的融合问题;Zig Bee协调器解读控制命令,并将相应的控制信号以广播形式转发给所有Zig Bee终端节点;而终端节点则根据收到的控制信号驱动以HV9910B为核心的PWM调光电路,实现多种LED的照明效果.实验证明,该系统能够适应多种照明控制系统的需求,具有较好的可拓展性、实用性和健壮性.
The Android mobile terminal App applies the socket technology to the communication with the server. The server program sends commands to the ZigBee coordinator by USB serial communication, which has solved the fusion problem between TCP/IP protocol and ZigBee protocol stack. The ZigBee coordinator analyzes the commands, and transmits the corresponding control signal in the form of broadcasting to all ZigBee terminal nodes.The terminal nodes drive the HV9910B PWM dimming circuit, and implement a variety of LED lighting effects according to the control signal received. Experiments show that the system has good practicability, scalable and robustness.
出处
《计算机系统应用》
2017年第8期55-59,共5页
Computer Systems & Applications
基金
江苏省教育厅高校科研成果产业化推进项目(JHB2011-75)