项目编号:mcuclub-dz-253
设计简介:
项目编号:mcuclub-dz-253
单片机类型:STC89C52
具体功能:
1、通过DS1302获取时间
2、通过AT24C02存储设定的投喂时间及重量
3、通过HX711检测食物重量
4、通过DS18B20测量温度,根据不同温度可控制喂水多少(水泵开启时间,0~10℃开5秒,10~20℃开10秒,20~30℃开15秒,30~40℃开20秒,40以上开25秒)
5、通过按键可修正实时时间、添加或删除投喂时间、查看投喂时间、设置投喂食物重量
6、当投喂时间到达时,蜂鸣器报警提醒(2s),并开启两个继电器进行喂食(重量超过设置值停止)、喂水(根据温度决定)
7、通过LCD1602显示屏显示数据
8、通过蓝牙模块手机端可获取食物重量、环境温度、分别控制两个继电器及蜂鸣器报警
总字数:17229
摘 要
由于生活节奏骤然加快,宠物的陪伴可以在一定程度上缓解孤独感,并以此填补情感空洞,随着智能产品需求的增加,用户对宠物用品提出了更高的要求,人们不仅满足于对喂食器的功能需求,更期望其能够满足内心的精神和情感需求。本课题通过相关理论,总结出相应的设计策略,为智能宠物喂食器的设计提供一定的指导和借鉴。
本设计具体完成基于STC89C52的智能宠物喂食控制系统的设计开发。该系统以单片机为控制核心,通过传感器对相关参数进行实时检测和采集,实现实物重量、温度、投喂时间等信息的采集和显示功能,并实现定时投喂、重量等参数的设置和调整功能。在设计中,当喂食时间到达时,系统自动启动电机投放食物和水,并对投放重量进行检测和控制。除实现自动操作控制之外,本系统还支持手动控制模式,方便了用户喂食宠物。
本系统功能的实现,能够在无人条件下自动完成宠物喂食操作,确保了宠物饮食的规律性,解决了主人不在家时无法合理喂养宠物的问题,具有很大的应用前景。
关键词:宠物投喂;STC89C52;数据采集;传感器;蜂鸣器
Abstract
As the pace of life suddenly accelerates, the companionship of pets can alleviate loneliness to a certain extent and fill the emotional void. With the increase in demand for intelligent products, users have put forward higher requirements for pet products. People are not only satisfied with the Functional requirement of feeders, but also expect them to meet their inner spiritual and emotional needs. This topic summarizes the corresponding design strategies through relevant theories, providing guidance and reference for the design of intelligent pet feeders.
This design specifically completes the design and development of an intelligent pet feeding control system based on STC89C52. The system is controlled by a microcontroller as the core, and real-time detection and collection of relevant parameters are carried out through sensors, achieving the collection and display functions of physical weight, temperature, feeding time and other information, and achieving the setting and adjustment functions of timed feeding, weight and other parameters. In the design, when the feeding time arrives, the system automatically starts the motor to dispense food and water, and detects and controls the weight of the dispense. In addition to achieving automatic operation control, this system also supports manual control mode, making it convenient for users to feed their pets.
The implementation of this system function can automatically complete pet feeding operations under unmanned conditions, ensuring the regularity of pet diet, and solving the problem of owners not being able to feed their pets reasonably when they are not at home. It has great application prospects.
Keywords: pet feeding; STC89C52; Data collection; Sensors; Buzzer
目录
摘 要
Abstract
目录
第1章 绪 论
第2章 设计方案论证与主要器件选择
第3章 系统硬件电路设计
第4章 系统软件设计
第5章 系统样机制作与调试
结 论
参考文献