基于STM32的智能家居系统设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
本科毕业设计(论文)
题目名称:基于STM32的智能家居系统设计
学院:计算机科学技术学院
专业年级:计算机科学与技术(工)12级
学生姓名:***
班级学号: 1 班41号
指导教师:***
2016 年6 月
摘要
随着科技的不断发展进步和人们对家居生活要求的逐步变高,智能家居已经得到了人们的认可,而现如今一套完整的智能家居设备价格昂贵,一般的家庭难以承受其高昂的价格,针对此种现象,一款功能稳定全面,但成本低廉的智能家居产品会帮助人们在价格和功能之间找到一条满足人们愿望的出路。此款智能家居采用STM32处理器,技术成熟,程序移植方便,价格低廉。本款家居设备设计包括硬件设计和软件设计两个部分:硬件设计包含:12864液晶电路、温度湿度传感器电路、烟雾浓度采集电路、ADC转换电路、报警电路、电源电路、光照采集电路和灯光控制部分电路,软件设计包含主程序、数据(温度、湿度,气体浓度,光照)检测及处理、和标准气体标定、ADC数据转换,当气体浓度超限时报警程序。经实验测试结果表明该智能家居设备有自动检测家庭环境指标并可以对采集信息进行及时稳妥的处理,精度高,检测范围广,稳定性好,显示简单,操作简便,抗干扰能力强等优良性能。
关键词:ARM-M3;ADC;数据采集与处理;智能家居
Abstract
Along with the continuous development of science and technology progress and people's requirement for household life gradually become tall, intelligent household has gained the recognition of people, now a complete set of intelligent household equipment is expensive, the average family is difficult to afford the high prices, aiming at this phenomenon, a stable overall function, but low-cost intelligent household products can help people find a way out between price and functionality. This intelligent household USES STM32 processor, mature technology, application transplant convenience, low prices. This household equipment design including hardware design and software design of two parts: hardware design includes: 12864 LCD, reactive temperature, humidity sensor circuit, the concentration of the smoke collecting circuit, ADC conversion circuit, alarm circuit, power circuit, acquisition circuit and lighting lighting control circuit, software design includes the main program, data (temperature, humidity, gas concentration, light) detection and processing, and calibration standard gases, ADC data conversion, when gas concentration overrun alarm program. By the experimental test results show that the smart home devices have automatic detection family environment index and can be conducted to collect information to err on the side of the processed on time, high precision, detection range, good stability, display is simple, easy operation, strong anti-interference ability and other excellent properties.
Key words: ARMv7-M; ADC; Data acquisition and processing; serial communication
目录
摘要 ............................................................... I Abstract .............................................................. II 第1章绪论 . (1)
1.1 选题背景 (1)
1.2 课题意义 (1)
1.3 国内外发展概况 (1)
1.4 指导思想 (2)
第2章开发工具与MCU简介 (3)
2.1 STM32F10XX (3)
2.2 KEIL MDK (5)
第3章总体分析与设计 (7)
3.1 方案分析 (7)
3.1.1 整体系统方案分析 (7)
3.1.2 数据采集方案设计 (8)
3.1.3 数据存储方案分析 (8)
3.1.4 显示方案分析 (10)
3.2 功能设计 (10)
第4章详细设计与实现 (12)
4.1 界面设计 (12)
4.2 原理图设计 (13)
4.2.1 数据采集模块 (14)
4.2.2 温湿度传感器模块 (15)
4.2.3 烟雾传感模块 (16)
4.2.4 液晶显示电路设计 (17)
4.2.5 报警电路的设计 (19)
4.2.6 时钟模块 (20)
4.3 业务处理模块设计 (22)
4.3.1 界面显示任务 (22)
4.3.2 AD采样及数据处理 (23)
4.3.3 烟雾传感器 (28)
4.3.4 温湿度传感器 (30)
4.4.5 灯光控制与光照检测 (32)
第5章结果分析 (36)
5.1 硬件设计的结果分析 (36)