
电子设计工程Electronic Design Engineering 第28卷Vol.28第7期No.72020年4月Apr.2020
收稿日期:2019-07-20稿件编号:201907151作者简介:李博(1985—),男,山西大同人,博士,讲师。研究方向:智能控制与电机设计。目前智能家居系统最成熟、市场占有率最高的
依旧是欧美的国家,其中以美国的X10、德国的EIB
系统和新加坡的8X 系统最为经典[1]。我国引入智能
家居系统较迟,由于智能家居系统行业没有统一的
标准,不同厂家之间生产的产品难以兼容[2],发展较
为缓慢。现在智能家居系统的价格普遍较为昂贵,
本文主要探究使用稳定且高性价比的传感器对家居
的环境因素进行监测,去除智能家居中的娱乐化功
能,着重提高基础功能的稳定性和简洁性,做到使用
更少的花费也能体验智能家居产品。
1系统设计方案本系统使用STM32微控制器作为主控,利用各种传感器模块来采集家居环境因素,从而搭建该智能家居的硬件控制系统。主要由信息采集部分、处理数据部分和显示模块组成。总体设计框图如图1所示。1)信息采集部分各个传感器对家居环境的温度、湿度和烟雾浓度进行实时检测,将采集的数字信号量送给主控,模拟量则通过模数转换器转换为数字信号后送给主控。基于STM32的智能家居的电路与设计
李博,尹礼鹏
(西安工业大学北方信息工程学院,陕西西安710200)
摘要:针对智能家居系统对安防系统和家居环境因素监测功能的实际所需,设计了以Cortex-M3为内核的STM32F103C8T6芯片作为系统主控,利用温湿度传感器、人体红外感应传感器、烟雾及可燃气体传感器和液晶显示模块构成一个具备安防和家居环境监测功能的简易智能家居系统。该系统通过各模块对环境因素进行监测并由微处理器对采集的信号处理后与预设的环境警报值比较,超出设定的阈值范围则驱动警报模块发声警示。经过在家居环境下的长时间测试,该系统具有稳定的性能,能满足智能家居系统中对于环境的监测要求。
关键词:智能家居;环境因素监测;STM32;液晶显示
中图分类号:TN99文献标识码:A 文章编号:1674-6236(2020)07-0177-04DOI:10.14022/j.issn1674-6236.2020.07.039
Design of smart home system based on STM32
LI Bo ,YIN Li⁃peng
(Xi ’an University of Technological Information ,Xi ’an 710200,China )
Abstract :In recent years ,the smart home market is growing in popularity ,aiming at the actual needs of smart home systems for security systems and home environment monitoring functions.The STM32C8T6chip with Cortex⁃M3core is designed as the system master.The temperature and humidity sensor ,human body infrared sensor ,smoke and combustible gas sensor and display module are used to form a simple smart home system with security and home environment monitoring functions.The system monitors environmental factors through each module and compares the collected signals with the preset environmental alarm values by the microprocessor.If the set threshold value is exceeded ,the alarm module is activated to sound an alarm.After long ⁃term testing in the home environment ,the system has
stable performance and can meet the environmental monitoring requirements in smart home systems.Key words :smart home ;environmental monitoring ;STM32;liquid crystal display --177
更多推荐
系统,模块,传感器,监测,采集
发布评论