- 1、本文档共47页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要
当今社会,随着人们生活水平日益提高,人们在物质生活得到满足的情
况下,对精神生活的追求也日益丰富,就如现在小区中的宠物越来越多,宠
物的饲养可以调节人们的心情,可以丰富人们的日常生活,饲养宠物凭借其
不可替代的消遣新乐趣, 在城市居民生活中应运而生。随着科技的进步,智
能化逐渐走进人们的日常生活,这也就为宠物的智能化饲养提供了方向。能
够实现对宠物的智能化管理,这将会极大的节省人们的工作量。
本设计采用STM32F103C8T6作为主控芯片。系统上电后,根据所需要求设
定好温度值,室温传感器DHT11实时测试室内温度,单片机以采样频率(根据
需求定)对室温传感器的温度值进行读取,单片机根据读取的温度值与阈值
进行比对,如果温度值高于阈值,则打开风扇,实现降温效果;同时定时开
启喂水装置,对宠物进行喂水;根据光照的不同,如果光照较弱则打开LED灯
进行补光。在程序设计方面,本设计采用了freeRTOS操作系统,采用了多任
务方式,增强了单片机处理的实时性。
关键词: 单片机;温湿度传感器;光敏传感器;继电器;定时器
- I -
Abstract
In todays society, with the increasing of peoples living standard, people und
er the condition of the material life satisfaction, the pursuit of spiritual life is also i
ncreasingly rich, just as there are more and more village of pet, pet raising can adj
ust the mood, can enrich Peoples Daily life, keeping pets with its irreplaceable ne
w fun pastime, arises at the historic moment in the urban life. With the progress of
science and technology, intelligence has gradually entered Peoples Daily life, wh
ich also provides a direction for the intelligent raising of pets. Intelligent manage
ment of pets can be realized, which will greatly save peoples workload.
This design adopts STM32F103C8T6 as the main control chip. After the syst
em is powered on, according to the requirements set temperature and room temper
ature sensor DHT11 real-time test indoor temperature, single chip microcomputer
to sampling frequency (according to demand) to read the temperature of room tem
perature sensor, single-chip microcomputer according to read the temperature valu
e and compare the threshold, if the temperature is higher than the threshold, then o
pen the fan, achieve cooling effect; At the same time, the water feeding device is o
pened regularly to feed the pet. Depending on the light, if the light is weak, turn o
n the LED lamp to make up t
文档评论(0)