设计说明书
总字数:17000+
这几年,虽然台灯的智能化程度越来越高,但仍无法满足人体自动检测、自动调节台灯亮度与不良坐姿提醒的功能,不适于长期学习使用,因此,设计一款同时具有人体检测、自动调节台灯亮度与不良坐姿提醒功能的台灯是有现实意义和使用价值的。本文采用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 结论
参考文献
附录
附录一:原理图
附录二:主程序:
致谢
购买后可查看具体内容!