设计简介:

项目名:干手器
项目编号:mcuclub-dz-098
单片机:STC89C52
功能简介:
1、通过超声波检测人手到干手器的距离,当距离值小于设置的最小距离(默认15cm),则启动干手器
2、设定一次使用最长时间(默认15s),当人手在最长时间倒计时结束后还未拿走,则自动关闭干手器,如果人手提前拿走,则立即关闭干手器
3、通过按键可切换是暖风还是冷风模式
4、通过按键可设置最小距离、时间
5、通过LCD1602显示距离值、时间、模式

总字数:12367

实物链接:点击跳转

仿真链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘要

该设计基于STC89C52单片机,具备多项功能,以提高使用干手器的便捷性和智能化程度。在该设计中,通过超声波传感器检测人手到干手器的距离。当距离小于设置的最小距离(默认为15cm)时,干手器将自动启动,以为用户提供快速而自动化的干手体验。为了合理利用资源并确保用电安全,该设计设定了一次使用的最长时间(默认为15秒)。当人手在最长时间倒计时结束后仍未拿走,干手器将自动关闭,以节省能源。若人手提前拿走,则干手器将立即关闭,以满足用户实际使用需求。除此之外,干手器还提供了按键切换暖风和冷风模式的功能,以适应不同的季节和使用环境。用户还可以通过按键设置最小距离和时间,根据个人喜好和实际使用需求进行个性化的设置。最后,通过LCD1602显示干手器与用户的交互信息,包括距离值、时间以及当前模式,为用户提供直观的使用反馈。

本设计的实物产品”干手器”的研发意义在于解决了现有干手器使用中的一些不便之处,并提供更加智能化和个性化的使用体验。通过单片机的智能控制,干手器在不需要用户干预的情况下实现了自动启停,从而提高了干手器的便捷性和高效性。同时,按键设置和LCD显示等功能也增加了用户对干手器的自主控制和了解程度。通过本设计,为干手器的进一步发展和智能化提供了一定的参考和基础。

关键词:单片机;干手器;超声波传感器;LCD1602;自动化控制

Abstract

This design is based on the STC89C52 microcontroller, equipped with multiple functions to enhance the convenience and intelligence of using a hand dryer. In this design, an ultrasonic sensor is employed to detect the distance between the user’s hand and the hand dryer. When the distance is less than the set minimum distance (default at 15cm), the hand dryer automatically starts, providing users with a quick and automated hand drying experience. To ensure resource efficiency and electrical safety, the design sets a maximum usage time (default at 15 seconds). If the user does not remove their hand before the countdown ends, the hand dryer will automatically shut off to save energy. On the other hand, if the user removes their hand before the countdown ends, the hand dryer will immediately stop, catering to the user’s actual needs.

Additionally, the hand dryer offers the functionality of switching between warm air and cool air modes through a key press, catering to different seasons and usage scenarios. Users can also personalize the settings by adjusting the minimum distance and time through the key interface. Lastly, the LCD1602 display provides users with interactive information, including distance values, remaining time, and the current mode, giving intuitive feedback to users.

The significance of developing the physical product “Hand Dryer” lies in addressing the inconveniences observed in existing hand dryers and providing a more intelligent and personalized user experience. Through the intelligent control of the microcontroller, the hand dryer achieves automatic start and stop without user intervention, enhancing convenience and efficiency. The key functions like key settings and LCD display further empower users to control and understand the hand dryer independently. This design serves as a valuable reference and foundation for the further development and smartification of hand dryers.

Keywords: Microcontroller; Hand dryer; Ultrasonic sensor; LCD1602; Automatic control

目   录

摘要

Abstract

第1章绪论

1.1研究背景及意义

1.2国内外研究现状

1.3论文的主要内容

第2章 系统总体设计方案

2.1系统总体设计

2.2主要模块方案选择

2.2.1主控模块方案选择

2.2.2超声波监测模块方案选择

2.2.3显示模块方案选择

第3章硬件设计

3.1主控模块电路设计

3.2 超声波模块电路设计

3.3 显示模块电路设计

3.4 继电器模块电路设计

3.5 独立按键电路设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 LCD1602液晶显示子流程

4.5 超声波检测模块子流程

第5章 仿真测试

5.1 整体仿真测试图

5.2 烘干功能实物测试

5.3 出风选择实物测试

第6章 实物测试

6.1 整体实物测试图

6.2 烘干功能实物测试

6.3 出风选择实物测试

第7章 总结展望

参考文献

附录

附录A   原理图

附录B   PCB

附录C   主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源