宠物定时喂食器设计论文

2019-08-03 13:31

天津职业技术师范大学

Tianjin University of Technology and Education

毕 业 设 计

专 业:应用电子技术教育 班级学号: 0811-25 学生姓名: 岳阿娜 指导教师: 丁学文 副教授

二○一三 年 六 月

天津职业技术师范大学本科生毕业设计

宠物定时喂食器设计

The Design on Pet Timing Feeding Device

专业班级: 应电 0811 学生姓名: 岳阿娜

指导教师:丁学文 副教授 系 别:电子工程学院

2013年06月

摘 要

本文设计的是宠物定时喂食器,即先将宠物饲料放入其中,通过设定喂食时间点,当到达这一时间点后,系统发出喂食信号吸引宠物,自动进行喂食。本设计主要研究如何设定时间点并发出喂食信号。宠物自动喂食器主要包括单片机AT89S52、电源电路、电机控阀门、按键电路、显示模块、照明灯、DS1302电路模块、DS18B20温度测试模块和蜂鸣器模块。其中单片机为核心单元,对各个模块的工作进行控制。喂食器的喂食过程是,通过键盘设定倒计时间,当依次到达设定时间时,单片机驱动发光二极管发光,蜂鸣器发出响声,吸引宠物过来进食并自动投放食物。设计中加入的万年历和温度传感器,方便记录宠物的生长周期。倒计时和日期等信息通过LCD12864液晶显示。本设计解决了工作日或节假日由于主人不在不能对宠物喂食和宠物饮食不规律的问题,系统操作简单,电路运行稳定,具有一定的推广价值。

关键词: 宠物喂食器;AT89S52单片机;LCD12864液晶;万年历

I

ABSTRACT

The study is a design on pet timing feeding device, that is, pet feed into it first, by setting feeding point in time, when arrives at this point, the system signal attracts pet and automatically feeding. This design is mainly to study how to set time and signal feeding. Pet timing feeding device include microcontroller AT89S52, Power circuit, the key circuit, LCD12864 display module, DS1302 clock circuit, DS18B20 temperature testing module and music alert system. The microcontroller is the core unit, to control various modules work. Feeder feeding process is through the keyboard to set the time, when arrives the point, microcontroller drive light-emitting diodes led, buzzer sound, attract pet feeding and automatically feeding. Design with calendar and temperature sensor record pet growth cycle conveniently. Countdown system time is displayed through the LCD12864. This design solves the problem that keeping pet healthy when people work or not at home on the holidays. The system is operated easily and the circuit is stability. It has a certain popularization value.

Key Words:Pet feeding device ; AT89S52 ; LCD12864 display module;Perpetual

calendar

II

目 录

1引言 ............................................................................................................................. 1

1.1研究背景 ........................................................................................................... 1 1.2功能概述 ........................................................................................................... 1 1.3社会意义 ........................................................................................................... 1 2系统方案设计 ............................................................................................................. 2

2.1总体设计方案构思 ........................................................................................... 2 2.2系统组成模块设计 ........................................................................................... 2

2.2.1单片机芯片的选择 ................................................................................. 2 2.2.2时钟显示电路 ......................................................................................... 3 2.2.3时钟芯片的选择 ..................................................................................... 3 2.2.4温度传感器的选择 ................................................................................. 4

3系统硬件设计 ............................................................................................................. 5

3.1 AT89S52单片机简介 ....................................................................................... 5 3.2 单片机模块设计 .............................................................................................. 8

3.2.1单片机主控系统 ..................................................................................... 8 3.2.2单片机的复位电路 ................................................................................. 9 3.2.3时钟电路 ............................................................................................... 10 3.3主要模块功能 ................................................................................................. 10

3.3.1液晶显示模块LCD12864 .................................................................... 10 3.3.2按键模块 ............................................................................................... 12 3.3.3蜂鸣器模块 ........................................................................................... 13 3.3.4照明灯 ................................................................................................... 13 3.3.5 DS1302 .................................................................................................. 13 3.3.6 DS18B20温度测试模块 ...................................................................... 15 3.3.7电机控阀门 ........................................................................................... 16 3.4电源电路设计 ................................................................................................. 18

3.4.1电源电路原理 ....................................................................................... 18 3.4.2电源电路模块设计思路 ....................................................................... 18

4系统软件设计 ........................................................................................................... 20

4.1主程序流程图 ................................................................................................. 20

4.1.1主流程概述 ........................................................................................... 20 4.1.2设计思想 ............................................................................................... 21 4.2程序设计软件概述 ......................................................................................... 21


宠物定时喂食器设计论文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:网络工程(部分课后习题电子版)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: