基于嵌入式的智能家居系统设计与实现
随着科技的不断进步,物联网技术得到了突飞猛进的发展。智能家居是物联网技术的典型应用领域之一。智能家居系统将独立家用电器、安防设备连接成一个具有思想的整体,实现家居设备的智能管理和远程监控。
本课题的嵌入式平台采用WinCE操作系统,硬件设备采用ARM10架构的Intel XScale270核心处理器的实验箱作为技术支撑。系统设计与实现使用Keil、VS2005和Delphi三种集成开发工具实现代码的编写与调试。软件部分主要涵盖硬件网关设备的WinCE操作系统相关功能设计、嵌入式设备平台服务端软件设计、计算机客户端应用软件的设计及家电控制端底层的设计。
智能家居系统与用户数据交互采用GSM系统,通过短信的方式实现。家居设备之间的数据通信采用TCP/IP网络协议,建立三次握手机制,保证数据传输稳定可靠。系统对WinCE系统内核进行裁剪定制,提高数据的处理能力。在网关内设计开发用于WinCE系统的控制中心,即嵌入式服务端,实现硬件设备与软件系统数据握手通信。计算机客户端的应用软件设计,即视频采集查阅软件,是基于Delphi可视化界面开发语言编写进行设计。客户端应用软件用于异地及时通过视频画面掌握家居状态环境。
本课题基于嵌入式的智能家居系统的设计与实现,使用嵌入式平台作为核心控制器能够提高整个系统的稳定性,数据传输采用TCP/IP协议能够很好解决目前一些系统中存在的数据传输不稳定问题。基于嵌入式的
方式能够降低智能家居系统的成本,大大降低市场中由于智能家居价格较高无法普及现象,使智能家居能够走入普通百姓家中。
关键字:
智能家居系统,物联网,嵌入式技术,WinCE系统,Delphi
Design and Implementation of Smart Home System Based on
Embedded System
With the constant progress of science and technology, Internet of things (IOT) technology develops by leaps and bounds. Smart home is one of the typical applications of IOT. Smart home system links home appliances and security equipment as a whole with the soul, implementing intelligent management and remote monitoring of the household equipment.
In this project, the embedded platform adopts the WinCE operating system, and the hardware device uses an experiment box with Intel XScale270 core processor based on ARM10 architecture as the technical support. System design and implementation uses Keil, VS2005, and Delphi integrated development tools to edit and debug the codes. Software mainly covers the WinCE operating system f
unction design of the hardware gateway device, platform server client software design of the embedded devices, the computer client application software design and the household appliance control bottom program design.
Interaction of smart home system with the user uses GSM system with short message service. Data communications between household equipment adopts TCP/IP network protocol, setting up a three-way handshake mechanism, to ensure stable and reliable data transmission. The system truncates and customizes the WinCE system core to improve data processing ability. In the gateway, the control center for the WinCE system, namely embedded server, can be developed to realize the data communication between the hardware and software system. Computer client application software design, namely the video acquisition carried out based on Delphi visualization interface development language. The client application software is used in mastering the household environment timely by video images in the remote places.  The design and implementation of intelligent Home Furnishing system based on embedded system, using the embedded platform as the core controller can improve
the stability of the whole system, data transmission using TCP/IP protocol can solve data transmission system exists the unstable problem. Embedded system can reduce the cost of smart home system, greatly reducing the market because of the high price of smart home can’t be universal phenomenon,
so that smart home can go into the homes of ordinary people.
Keywords:
smart home system, IOT, embedded technology, WinCE system, Delphi
目录
第1章绪论 (1)
1.1 研究背景及意义 (1)
1.2 智能家居研究现状与发展 (3)
1.2.1 智能家居国内外发展现状 (3)
1.2.2 智能家居发展趋势 (4)
1.3 本课题研究内容 (5)
1.4 论文结构 (6)
第2章系统设计方案 (8)
2.1硬件总体设计框图 (8)
2.2控制核心选择 (10)
2.3家电控制板 (11)
2.3.1串行端口电路 (12)
2.3.2家电控制电路 (14)
2.3.3传感器接口电路 (15)
2.4 GSM通信模块 (15)
2.5视频监控模块 (16)
2.6总体软件设计方案 (17)
2.7本章小结 (18)
第3章操作系统的定制 (19)
3.1 BSP的安装 (19)
3.2添加平台特征和配置平台 (20)
3.3串口部分设置与调试 (22)
3.4操作系统的生成与下载 (24)
3.5本章小结 (24)
第4章应用软件设计 (26)
4.1应用程序编写环境 (26)
4.2智能家居人机接口设计 (26)
嵌入式系统开发前景4.3串口通信功能设计 (30)
4.3.1串口通信协议 (30)
4.3.2软件的实现 (31)
4.3.2.1打开串口与配置串口 (32)
4.3.2.2关闭串口 (35)
4.3.2.3串口读线程 (36)
4.3.2.4串口实现数据的写入 (37)
4.3.2.5串口类的调用 (38)
4.3.2.6串口的监听 (38)
4.4 GSM无线数据传输模块 (39)
4.4.1 GSM无线数据传输的基础 (39)
4.4.1.1 PDU编码规则 (39)
4.4.1.2 AT指令 (41)
4.4.2 软件的实现 (42)
4.4.2.1 PDU编码解码 (42)

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。