摘要
本文旨在开发一种以STM32单片机主制的智能加湿器,具备dht11温湿度传感器、水位传感器和浊度传感器,各传感器采集数据传入单片机,由单片机进行分析处理,之后再OLED屏幕上显示,通过按键模块用户可键入阈值等信息,由单片机进行键入值与测得值的对比,进行相应加湿器关断及报警处理。用户可通过按键自行选择手动、自动、定时、远程控制四种模式。系统的程序于MKD5软件上开发完成,经过不断调试和完善,实现了系统稳定运行,进一步提升了用户对于加湿器的使用体验,并且仍有更进一步的提升空间。
This article aims to develop an intelligent humidifier controlled by an STM32 microcontroller,which includes a dht11 temperature and humidity sensor,a water level sensor,and a turbidity sensor.The data collected by each sensor is transmitted to the microcontroller for analysis and processing,and then displayed on an OLED screen.Users can input threshold and other information through the button module.The microcontroller compares the input value with the measured value,and performs corresponding humidifier shutdown and alarm processing.Users can choose four modes by pressing the buttons:manual,automatic,timed,and remote control.The system program was developed on MDK5 software,and after continuous debugging and improvement,the system has achieved stable operation,further improving the user experience of humidifiers,and there is still room for further improvement.
作者
张航
潘禹城
张照芳
陆璇
南嘉禾
Zhang Hang;Pan Yucheng;Zhang Zhaofang;Lu Xuan;Nan Jiahe(Southeast University Cheng Xian College,Nanjing,China)
出处
《科学技术创新》
2024年第19期103-106,共4页
Scientific and Technological Innovation
关键词
单片机
智能加湿器
温湿度控制
WIFI
机智云
microcontroller
intelligent humidifier
temperature and humidity control
WIFI
gizwits