论文自动干手器毕业设计 下载本文

西南科技大学高等教育自学考试毕业论文

I 自动干手器电路的设计

摘要:自动干手器是一种高档的卫生洁具,可以取代毛巾、纸巾,对手进行干燥。具有节能、环保、人性化的优点,被广泛应用于宾馆酒店、机场车站、体育场馆等公共场所的洗手间。现在市场上购买的自动干手器的控制电路大多使用555时基电路和数字集成电路。由于分立元件较多,电磁干扰较强,工作不稳定,人性化方面不够完善。电路采用52单片机进行控制,克服了以上缺点。用52单片机和红外感应设计的干手器具有能够自动感应人手的靠近和离开,通过硬件设计增减每次工作时间,用数码管显示干手器设定的工作时间和倒计时时间,用开关选择输出冷风或热风,以满足不同温度天气的使用。

电路在方案上有设计的可行性,也具有一定的市场前景。对自己而言,该课题的研究可以把大学所学的专业知识应用到实际的电路设计中去,使自己的专业知识得到进一步的巩固。

关键词:单片机;红外感应;干手器

西南科技大学高等教育自学考试毕业论文

II Infra-red automatic hand dryer of design

Abstract:Automatic hand dryer is a high-end sanitary ware, which can replace the towels, paper

towels, opponents of the drying. Energy saving, environmental protection, human, it is widely used in hotels, airport stations, sports stadiums and other public places toilets. Now on the market to buy the automatic hand dryers are mostly used to control circuit 555 circuit and digital integrated circuits. As a result of resistors, capacitors and other discrete components more. Strong electromagnetic interference. Job insecurity, human aspects is inadequate. The design uses a microcontroller to control circuit 52, to overcome the above disadvantages. 52 microcontroller and infrared sensors with the design of dry hands with the ability to automatically sense and manpower into his leave, working through the hardware can add and subtract each time) digital display can be used to set the time for dry hands and work in the dryer The work is displayed when the countdown time, select the output selector switch can use cold or hot, the weather at different temperatures were

This design in the scheme design of feasibility, also has certain market prospect. For myself, this topic research can put a college major knowledge applied to practical circuit design, make myself of the professional knowledge to further consolidate.

Key words: MCU; Infrared sensing; Airing implement

西南科技大学高等教育自学考试毕业论文

III 目 录

第1章 绪 论................................................................................................................. 5 1.1 课题背景 ................................................................................................................ 5 1.2 课题研究的目的和意义 ........................................................................................ 5 1.3 课题研究内容 ........................................................................................................ 5 1.4工作原理 ............................................................................... 错误!未定义书签。 第2章 方案论证............................................................................................................. 6 2.1 方案一 .................................................................................................................... 6 2.2 方案二 .................................................................................................................... 6 2.3 系统方案对比论证 ................................................................................................ 6 第3章 硬件电路...................................................... 8 3.1 硬件电路的设计原理 .......................................................... 错误!未定义书签。 3.2 硬件设计的系统框图 ............................................................................................ 8 3.3 硬件电路的芯片介绍 ............................................................................................ 8 3.3.1 单片机AT89S52介绍 .................................................................................... 8 3.3.2 红外对管........................................................................................................ 10 3.3.3 数码管............................................................................................................ 11 3.3.4继电器............................................................................................................. 12 3.4 自动干手器的基本组成 ...................................................................................... 13 3.4.1 晶振电路........................................................................................................ 13 3.4.2 复位电路........................................................................................................ 13 3.4.3 数码管显示电路............................................................................................ 14 3.4.4 继电器电路.................................................................................................... 14 3.4.5 红外感应电路................................................................................................ 15 3.4.6 电吹风电路.................................................................................................... 15 第4章 软件设计........................................................................................................... 16 4.1 软件设计介绍 ...................................................................... 错误!未定义书签。 4.2 主程序的设计 ...................................................................................................... 16

西南科技大学高等教育自学考试毕业论文

IV 4.3 定时中断程序的设计 .......................................................................................... 16 4.3.1 实现功能........................................................................................................ 16 4.3.2中断流程图..................................................................................................... 17 4.3.3 关键技术........................................................................................................ 17 第5章 系统制作及调试............................................................................................... 20

5.1 软件调试 .......................................................................................................... 20 结 论............................................................................................................................. 21 致 谢............................................................................................................................. 22 参考文献......................................................................................................................... 23 附 录............................................................................................................................. 24 附录1:单片机控制原理图 ...................................................................................... 24 附录2:红外感应原理图 .......................................................................................... 24 附录3:单片机控制程序 .......................................................................................... 25