摘要
为了解决人们居家喂养宠物的困扰,开发了一款基于物联网和STM32的远程控制智能宠物喂养系统。该系统通过DS18B20和加热陶瓷片对水进行闭环恒温控制;通过超声波来实现对水量和宠物粮食量的检测;利用气体传感器MQ2来检测宠物粮食是否变质。云端服务器通过ESP8266接收传感器检测的数据,手机端通过微信小程序获取数据的同时下发指令给单片机。调试结果表明,微信端能够成功获取云端数据,同时能对单片机进行有效的远程控制,系统控制水温的平均误差为2.04%,水量深度平均误差为3.57%,粮食量深度平均误差为1.8%,能够满足人们智能化宠物喂养的需求。
In order to solve the problem of pet feeding at home,an Intelligent remote control pet feeding system based on Internet of Things and STM32 is developed in this paper.DS18B20 and heating ceramic is used to control the temperature of the water by closed-loop.The amount of water and pet food can be detected by ultrasonic wave.Gas sensors MQ2 is used to detect spoiling of pet food.The cloud server receives the data detected by the sensor through the ESP8266,and the mobile phone receives the data through the wechat mini program and sends instructions to MCU.The debugging results show that the wechat terminal can successfully obtain cloud data,and at the same time can effectively control the MCU remotely,The average error of the system in controlling water temperature is 2.04%,the average error of water depth is 3.57%,and the average error of food depth is 1.8%,which can meet the needs of people′s intelligent pet feeding.
作者
陈华敏
余汪洋
CHEN Hua-min;YU Wang-yang(School of Information Engineering,Nanyang Institute of Technology,Nanyang 473000,China)
出处
《南阳理工学院学报》
2025年第4期35-41,共7页
Journal of Nanyang Institute of Technology
关键词
物联网
单片机
远程控制
宠物喂养
Internet of Thing
single chip microcomputer
remote control
pet feeding