智能家居网关及其Web控制软件的设计和实现.pdfVIP

  • 0
  • 0
  • 约1.28万字
  • 约 4页
  • 2026-01-15 发布于山东
  • 举报

智能家居网关及其Web控制软件的设计和实现.pdf

智能家居网关及其Web控制软件的设计和实现侯维岩,等

智能家居网关及其Web控制软件的设计和实现

DesignandlmplementationoftheGatewayforSmartHome

andltsWebControlSoftware

1,211

侯维岩魏耀徽庞中强

(郑州大学信息工程学院,河南郑州450001;上海市电站自动化技术重点实验室,上海200072)12

摘要:针对物联网智能家居领域多网络和多系统的现状,提出了一种能够同时兼容ZigBee、Bluetooth和以太网,并且能方便操作的

B/S智能家居控制系统。网关采用STM32F103作为核心处理器,扩展多个功能模块和各个子系统节点构成硬件平台。软件方面采用

线程编程,添加ENC28J60驱动,通过线程轮询的模式来控制不同子系统的数据传输与转换。以MySQL作为数据库,通过PHPsocket

编程实现用户与网关、数据库之间的信息交互。网关与子节点之间通过串口电路进行通信。试验结果表明,系统运行效果良好、使用

方便、维护难度较低,能更好地应用到智能家居领域。

关键词:数据库ZigBee技术Bluetooth技术ENC28J60网关B/S架构

中图分类号:TN871文献标志码:ADOI:10.16086/ki.issn1000-0380.201505016

Abstract:Inaccordancewiththecurrentstatusofmulti-networkandmulti-systeminIOTsmarthomefield,theB/Ssmarthomecontrolsystem

thatiscompatiblewithZigBee,Bluetooth,andEthernetandeasytooperateisproposed.Inthegateway,STM32F103isadoptedasthecore

processorforexpandingmultiplefunctionalmodulesandconstitutingthehardwareplatform.Thethreadprogrammingisusedinsoftware,and

thedriveofENC28J60isadded,datatransmissionandtransformationofdifferentsubsystemsarecontrolledthroughthreadpollingmode.With

MySQLasthedatabaseofthesystem,theinformationinteractionamongusers,gatewayanddatabaseisimplementedviaPHPsocket

programming,whilethecommunicationbetweengatewayandchildnodesisthroughtheserialportcircuit.Theexperimentalresultsshowthat

thesystemisrunningwithexcellenteffectandiseasyoperated;itfeatureslowermaintenancedifficulty,andissuitableforapplyinginthefield

ofsmarthome.

Keywords:DatabaseZigBeetechnologyBluetoothtechnologyENC28J60GatewayB/Sframework

0引言1网关架构设计

随着无线传感器网络技术的发展,物联网技术从整个系统可分为:STM32F103VE

文档评论(0)

1亿VIP精品文档

相关文档