基于STM32单片机的智能窗户设计  被引量:4

Smart Window Design Based on STM32 Microcontroller

在线阅读下载全文

作  者:潘玉玥 梁凤严 黄月霞 陈美蓉 李婷 陈中胜 Pan Yuyue;Liang Fengyan;Huang Yuexia;Chen Meirong;Li Ting;Chen Zhongsheng(Guangxi Science and Technology Normal University Mechanical and Electrical Engineering School,Laibin Guangxi 546199)

机构地区:[1]广西科技师范学院机械与电气工程学院,广西来宾546199

出  处:《中国仪器仪表》2022年第10期46-49,共4页China Instrumentation

基  金:广西科技师范学院自治区级大学生创新创业训练计划项目资助(项目编号:202011546042);广西科技师范学院重点科研项目资助项目:基于STM32的四旋翼无人飞行器研究与设计(项目编号:GXKS2018ZD002);广西高校中青年教师(科研)基础能力提升项目:基于自抗扰控制算法四旋翼无人机飞行控制研究(编号:2020KY23022)。

摘  要:本文所述系统以STM32单片机为主要的控制系统,根据雨滴传感器、大气压强传感器、光照传感器和温湿度传感器采集数据,以步进电机作为驱动器设计的一款智能窗户。利用光照传感器,窗户可根据室内外光照强度,从而控制窗帘的开关;遇到下雨天气时,雨滴传感器接收到信号,反馈给单片机,利用数模转换,控制电机转动,窗户做出相应的动作。当大气压强传感器采集到的气压值低于限值时,即判断有降雨趋势,则控制电机转动,窗户关闭。此外,通过OLED显示屏实时显示雨水状态、窗户窗帘开关状态及环境数据。The system takes STM32 single chip microcomputer as the main control system,collects data according to the rain drop sensor,atmospheric pressure sensor,light sensor and temperature and humidity sensor,and uses the stepping motor as the driver to design an intelligent window.Using the light sensor,the window can control the switch of the curtain according to the indoor and outdoor light intensity;in case of rainy weather,the rain drop sensor receives the signal and feeds it back to the single chip microcomputer.It uses the digital to analog conversion to control the rotation of the motor,and the window makes corresponding actions.When the air pressure value collected by the atmospheric pressure sensor is lower than the limit value,that is,it is judged that there is a rainfall trend,the motor is controlled to rotate,and the window is closed.In addition,the rainwater status,window curtain switch status and environmental data are displayed in real time through the OLED display.

关 键 词:STM32 传感器 步进电机 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构] TU855[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象