基于单片机AT89C52的自动干手器的控制(附PCB,电路图,原理图,程序)
基于单片机AT89C52的自动干手器的控制(附PCB,电路图,原理图,程序)(论文11300字)
摘 要
近年来,随着人们生活水平的日益提高,人们对卫生问题的关注越来越高。人们常用洗手来控制细菌的传播,但很多人往往忽略了洗完手后使手变干的步骤,从而导致洗手效果的减弱,因此我们有需要注意洗手后干手的环节。而自动干手器不仅能够干手,还具有卫生、人性化的特点,因而得到大众的喜爱。
自动干手器是一种高档的卫生洁具,其可以取代毛巾、纸巾,对手部进行干燥。具有节能、环保、人性化的优点,被广泛应用于宾馆酒店、机场车站、体育场馆等公共场所的洗手间。现在市场上购买的自动干手器的控制电路大多使用555时基电路和数字集成电路。由于采用电阻,电容等分立元件较多。电磁干扰较强。工作不稳定,人性化方面不够完善。本设计采用52单片机进行电路控制,克服了以上缺点。用52单片机和红外感应设计的干手器具有能够自动感应人手的伸进和离开,通过硬件可以加减每次工作时间,可以用数码管显示干手器设定的时间并在干手机工作时显示此次工作倒计时时间,还能使用选择开关选择输出冷风或热风,分别满足不同温度天气的使用。 [版权所有:http://DOC163.com]
该设计在方案上有设计的可行性,也具有一定的市场前景。对自己而言,该课题的研究可以把大学所学的专业知识应用到实际的电路设计中去,使自己的专业知识得到进一步的巩固。
关键词:单片机;红外感应;干手器
Abstract
In recent years, with the increasing living standard, people concerned about the increasing health problems. Wash hands often used to control the spread of germs, but many people tend to ignore the hand after hand washing drying steps, resulting in the weakening effect of hand washing, so we need to pay attention to dry hands after washing hands part. The automatic hand dryer to dry hands only, but also with health, human characteristics, and therefore loved by the public.
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 used to meet.
[资料来源:https://www.doc163.com]
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 [资料来源:http://doc163.com]
目录
1 绪论 1
1.1 课题背景 1
1.2 课题研究的目的和意义 1
1.3 课题研究内容 1
2 方案论证 2
[资料来源:Doc163.com]
2.1 方案一 2
2.2 方案二 2
2.3 系统方案对比论证 3
3 硬件电路 4
3.1 硬件电路的设计原理 4
3.2 硬件设计的系统框图 4
3.3 硬件电路的芯片介绍 4
3.3.1 单片机AT89C52介绍 4
3.3.2 红外传感器 7
3.3.3 继电器 8
3.4 自动干手器的基本组成 9
3.4.1 晶振电路 9
3.4.2 复位电路 9
3.4.3 继电器电路 10
3.4.4 红外感应电路 11
4 软件设计 12
4.1 软件设计介绍 12
4.2 主程序的设计 12
4.3 定时中断程序的设计 12
4.3.1 实现功能 12
4.3.2 关键技术 14
5 系统制作及调试 16
5.1 系统制作 16
5.2 电路板的制作 16
5.3 硬件调试 16
5.4 软件调试 16
5.5 整机调试 17
结论 18
致谢 19
参考文献 20
附 录 21
附录A 单片机控制原理图 21
附录B 红外感应原理图 21
附录C 单片机控制PCB图 22
附录D 红外感应PCB图 22
附录E 单片机控制程序 23
[来源:http://www.doc163.com]
下一篇:大棚温湿度自动控制系统设计与仿真(附硬件原理图,程序)