设计简介:

项目名:台灯
项目编号:mcuclub-dz-305
单片机类型:STC89C52
具体功能:
1、通过人体热释电感应模块检测台灯周围是否有人
2、通过超声波检测台灯到人的距离
3、通过光敏电阻检测光照值
4、当检测到有人,此时如果光照小于设置最大值,则打开灯光,在最大值和最小值之间,根据光照值自动调节光亮度,当小于设置最小值,则调整为最大亮度
5、当人的距离值小于设置最小值,则坐姿有问题,进行蜂鸣器报警
6、通过按键可设置各阈值,手动调节灯亮度、切换模式
7、通过LCD1602显示屏显示测量值
8、通过语音可以调节台灯亮度

总字数:17876

实物链接:点击跳转

仿真链接:点击跳转

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

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘要

这几年,虽然台灯的智能化程度越来越高,但仍无法满足人体自动检测、自动调节台灯亮度与不良坐姿提醒的功能,不适于长期学习使用,因此,设计一款同时具有人体检测、自动调节台灯亮度与不良坐姿提醒功能的台灯是有现实意义和使用价值的。

本文采用STC89C52单片机作为主控芯片,设计一款智能语音提示台灯,该系统通过三个传感器分别监测台灯周围是否有人、台灯到人的距离、以及台灯周围的光照强度值,通过按键设置相关参数阈值,手动调节灯亮度、以及模式切换,并将监测到的实时数据发送到显示屏进行显示。此外,还可以通过语音模块调节台灯亮度,使台灯的使用更加方便快捷。当检测到有人,且光照强度小于设置最大值,则打开照明灯,在最大值和最小值之间,根据光照值自动调节光亮度,当小于设置最小值,则调整为最大亮度。如果人的距离值小于设置最小值,则表示坐姿有问题,进行蜂鸣器报警。

最后,进行了实物焊接和测试,测试结果表明,该系统不仅工作状态良好,还具备预防驼背和近视的功能,具有很好的推广价值。

关键词 台灯;传感器;语音提醒;自动技术;光亮调节

Abstract

In recent years, although the intelligent degree of the lamp is getting higher and higher, it still cannot meet the function of automatic human body detection, automatic adjustment of the lamp brightness and poor sitting posture reminder, which is not suitable for long-term learning and use, therefore, the design of a lamp with human body detection, automatic adjustment of the lamp brightness and poor sitting posture reminder function is of practical significance and use value.

In this paper, STC89C52 single chip microcomputer is used as the main control chip to design an intelligent voice cue table lamp. The system monitors whether there are people around the table lamp, the distance between the table lamp and people, and the light intensity value around the table lamp through three sensors, sets the threshold of relevant parameters by pressing buttons, manually adjusts the light intensity and mode switching. And the real-time data is sent to the display screen for display. In addition, the brightness of the lamp can be adjusted through the voice module, making the use of the lamp more convenient and quick. When someone is detected, and the light intensity is less than the set maximum, then turn on the lamp, between the maximum and minimum value, according to the light value automatically adjust the brightness, when less than the set minimum value, then adjust to the maximum brightness. If the distance value of the person is less than the set minimum value, it means that there is a problem with the sitting posture, and the buzzer alarm is carried out.

Finally, the system is welded and tested. The test results show that the system not only works well, but also has the function of preventing hunchback and myopia, which has good popularization value.

Key words  table lamp; Sensor; Voice reminder; Automatic technology; Brightness control

目  录

摘要

关键词 

Abstract

Key words

1 引言

1.1 选题背景及实际意义

1.2 国内外发展历程

1.3 本论文研究目标与框架

2 系统设计方案

2.1 整体设计方案

2.2 主要元器件选择

2.2.1 主控芯片选择

2.2.2 显示方案选择

2.2.3 光照检测模块方案选择

2.2.4超声波测距模块方案选择

3 硬件设计

3.1 单片机最小系统

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.1.5下载电路

3.2 HC-SR04超声波避障模块电路

3.3 光照采集电路模块

3.4 红外检测模块

3.5 语音识别模块

3.6 照明电路模块

3.7 独立按键模块电路

3.8 LCD1602显示电路模块

3.9 蜂鸣器报警模块

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 A/D模数转换子流程

4.5 超声波检测模块子流程

4.6 LCD1602液晶显示子流程

5 系统仿真测试

5.1 仿真总体设计

5.2 上电运行仿真测试

5.3 功能模块仿真测试

5.4 按键功能仿真测试

6 实物制作与调试过程

6.1 实物总体设计

6.2 上电运行实物测试

6.3 功能模块实物测试

6.4 按键功能实物测试

7 结论

参考文献

附录

附录一:原理图

附录二:主程序:

致谢

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

发表评论

后才能评论

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

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

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

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

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