摘要
智能窗户以STM32单片机为核心,通过雨滴传感器、温湿度传感器、烟雾传感器、人体红外传感器采集数据,以蜂鸣器为响应装置,步进电机作为驱动装置,实现窗户在感知温度、湿度变化时的智能开关;温湿度传感器与烟雾传感器相互配合,当出现火灾时及时打开窗户并使蜂鸣器报警;当感知有人靠近窗体时人体红外传感器将信号传递至单片机,使窗户执行相应动作并使蜂鸣器报警;当下雨天气时雨滴传感器接收信号传递至单片机并控制电机启停,使窗户及时做出相应的动作。
With STM32 single chip microcomputer as the core,the intelligent window collects data through raindrop sensor,temperature and humidity sensor,smoke sensor and human infrared sensor.The buzzer is used as the response device and the stepping motor is used as the driving device to realize the intelligent switch of temperature and humidity of the window.Temperature and humidity sensor and smoke sensor cooperate with each other,when there is a fire,open the window in time and make the buzzer alarm.When sensing someone near the form,the infrared sensor of human body transmits the signal to the microcontroller to make the window act and make the buzzer alarm.When it rains,the raindrop sensor receives the signal and transmits it to the MCU and controls the motor start and stop,and the window makes corresponding actions in time.
作者
王佳凯
张晋轩
孙家宝
WANG Jiakai;ZHANG Jinxuan;SUN Jiabao(Guangxi University Xingjian College of Science and Liberal Arts,Nanning 530000,China;Guangxi Vocational University of Agriculture,Nanning 530000,China)
出处
《计算机应用文摘》
2024年第6期66-68,71,共4页
Chinese Journal of Computer Application
基金
2023年大学生创新训练项目:智能窗户(202313638012)。