文档介绍:无线家居监控系统
摘要:本系统是以AT89S52为现场控制器,以ARM主控制器,1100无线通信模块、温度传感器DS18B20、烟雾报警模块、PWM调光模块组成,实现温度信号的无线传输以及显示、亮度的无线传输显示和烟雾报警。系统使用51单片机采集温度,亮度和烟雾报警信息,1100无线模块将数据发射到ARM;1100无线模块接收数据然后显示温度和亮度、也可以通过触摸屏来控制51单片机端的LED的亮度和对报警信号进行处理。最终完成了温度、1100的双向通讯,实现对家居的安防和控制。
关键词:ARM9;S3C2440;1100;PWM调光
Wireless home monitoring system
Abstract:The system is based on AT89S52 site controller and based on the ARM host controller they are supplemented 1100 munication module, temperature sensor DS18B20, smoke alarm module, PWM dimming modules, wireless transmission of temperature signals and display brightness wireless transmission display and smoke alarms. 51 single-chip system uses collecting temperature, brightness and smoke alarm information, and then through 1100 wireless module to data emission to the ARM; the 1100 wireless module to receive data and then display the temperature and brightness, also can via the touch screen to control the brightness of the 51 single-chip side of the LED and alarm signal for processing. Finally plete the two-munication of accurate acquisition of temperature brightness and smoke signals.
Keywords: ARM9; S3C2440; DS18B20; CC1100; PWM dimming
目录
1 引言 2
2 本设计的任务和基本要求 3
3 设计方案及硬件电路结构 4
总体系统设计 4
主控模块的选择及硬件实现 4
ARM芯片 5
SDRAM存储系统 6
Flash的存储系统 7
LCD触摸屏系统 8
现场控制器的选择及硬件实现 8
温度采集模块的设计及硬件实现 9
调光模块的设计及硬件实现 11
烟雾报警模块的设计及硬件实现 12
无线通信模块的设计及硬件实现 13
4 软件设计 15
主控模块的软件设计 15
LCD驱动实现 16
触摸屏驱动实现 16
现场控制器模块的软件设计 18
温度采集软件实现 19
PWM软件实现 21
烟雾报警软件实现 23
无线收发软件设计 23
23
25
26
5 调试 27
单元模块调试 27
无线模块通断调试 27
温度无线监测显示调试 28
ARM对亮度无线控制调试 29
烟雾报警调试 29
系统集成调试 30
6 总结 31
7 参考文献 32
8 附录 33
9 谢辞 43
引言
许多人的概念里,智能家居这个词离我们的生活似乎异常遥远,只是存在于高科技展览会里的表演,或是富豪们向人们炫耀财富而展示的一种家居装饰。事实上,近年来智能家居已开始一步一步走进越来越多的普通家庭。一套完整的智能系统一般包括保安、电话、影音、空调、灯光等几大子系统,价格上已可以被消费者所接受,业主完全可以根据自己的需要和喜好选择安装子系统,以满足自己居家的各种需求。
随着家居智能化系统的不断完善,我们想象