网站大量收购独家精品文档,联系QQ:2885784924

基于STM32的自动宠物喂食器设计.docx

  1. 1、本文档共43页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多

摘要

本设计所研究的是实现一个宠物自动喂食器,即先将宠物饲料放入其中,通过设定五个喂食时间点,当到达这一时间点后,系统发出喂食信号吸引宠物,自动进行喂食。本设计主要研究如何发出喂食信号。宠物喂食器系统主要包括单片机控制、自动开关和蜂鸣器提示、倒计时间设定系统。喂食器的喂食过程,通过键盘设定倒计时间,当依次到达所定时间时,发光二极管发光,蜂鸣器发出响声,吸引宠物过来进食并自动投放食物。本设计解决了工作时或节假日时由于主人不在不能对宠物进行喂食,避免了宠物由于饮食不正常所产生的问题。通过DS18B20温度传感器检测当前温度,若检测到的温度低于设定温度则开启加温功能:液晶屏显示当前水位及温度和设定水位及温度。喂食过程是通过光电传感器检测饲料是否存在,若检测到饲料不存在,则开启加饲料功能。

在整个系统中,利用单片机对各个系统进行控制。利用键盘设定倒计时间,单片机不停的读取时间,并判断是否到达喂食时间。开关系统电阻和发光二极管表示,发光二级管收到低电平时导通表示开关打开投放喂食。同时接有蜂鸣器,当到达喂食时间后蜂鸣器发出响声吸引宠物进行喂食。

关键词:喂食器;单片机控制;温度传感器

DesignofautomaticpetfeederbasedonSTM32Abstract

Theresearchofthisdesignistorealizeanautomaticpetfeeder,thatis,petfeedisputintoitfirst,andafterfivefeedingtimepointsareset,thesystemsendsoutfeedingsignalstoattractpetsandfeedthemautomatically.Thisdesignmainlystudieshowtosendfeedingsignals.Thepetfeedersystemmainlyincludessinglechipmicrocomputercontrol,automaticswitchandbuzzerprompt,andcountdownintervalsettingsystem.Inthefeedingprocessofthefeeder,thecountdownintervalissetbythekeyboard.Whenthegiventimeisreachedinturn,theLEDlightsupandthebuzzersounds,attractingpetstoeatandautomaticallyfeedingfood.Thisdesignsolvestheproblemthatthepetcantbefedwhentheownerisawayatworkoronholidays,andavoidstheproblemscausedbytheabnormaldietofthepet.ThecurrenttemperatureisdetectedbyDS18B20temperaturesensor.Ifthedetectedtemperatureislowerthanthesettemperature,theheatingfunctionisturnedon:theLCDscreendisplaysthecurrentwaterlevelandtemperatureandthesetwaterlevelandtemperature.Inthefeedingprocess,theexistenceoffeedisdetectedbyphotoelectricsensor,andifitisdetectedthatfeeddoesnotexist,thefeedaddingfunctionisturnedon.

Inthewholesystem,thesinglechipmicrocomputerisusedtocontroleachsystem.Thekeyboardisusedtosetthecountdowntime,andthesinglechipmicrocomputerkeepsrea

文档评论(0)

阿弥陀佛 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档