登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

基于单片机的智能台灯设计与实现毕业论文

 2021-04-14 05:04  

摘 要

Abstract II

第1章 绪论 1

1.1 课题背景和意义 1

1.2 发展现状 1

第2章 智能台灯硬件选型与设计 3

2.1 元件选型 3

2.1.1 单片机的选型 3

2.1.2 显示选型 3

2.2 整体方案设计 4

2.2.1 系统概述 4

2.2.2 最小系统模块 4

2.2.3 LED照明电路 8

2.2.4 光照强度采集电路 8

2.2.5 人体红外检测模块 9

2.2.6 距离检测模块 11

2.2.7 蜂鸣器模块 11

2.2.8 按键输入模块 12

第3章 智能台灯软件设计与实现 13

3.1 软件设计 13

3.1.1程序语言及开发环境 13

3.1.2 程序流程设计 13

3.2 仿真实现 16

第4章 智能台灯组装与测试 17

4.1 元器件的选择与测量 17

4.2 元件的焊接与组装 17

4.3 电路的调试 17

4.4 实物功能测试 18

4.4.1智能台灯实物图 18

4.4.2测试方式及结果 19

第5章 结论 20

致 谢 21

参考文献 22

附录A 元件清单 23

附录B 原理图 24

附录C 单片机程序 25

摘要

随着环境问题的恶化和能源的减少,节能型绿色环保台灯逐渐进入人们的生活。以前的灯用于单一目的,但现在人们需要一个多功能智能台灯。因此,利用所学知识设计一个多功能的绿色环保台灯是一个不错的主意。

本文介绍基于PWM调光的智能台灯设计。在不改变PWM方波周期的前提下,单片机用于控制PWM占空比,从而改变电压大小以实现光亮度的调整。

当台灯检测到人体在附近并且环境光线较弱时,灯会自动亮起,并且随着环境光线的变化自动调节灯的亮度。一旦人离开台灯范围,即红外热释传感器检测不到有人时,1分钟后自动熄灯。当人体距离桌面过近时,蜂鸣器还会发出警告,提醒坐姿。本设计通过亮度的自动调节和人体检测控制台灯开关来达到绿色节能的效果。同时为了提高本设计的适用范围,还加入了防近视距离检测和手动控制模式,在手动控制模式下,台灯亮度由按键调节,这样使得该台灯在一些特殊情况下也能适用。

关键词:单片机;台灯;PWM;人体检测

Abstract

With the deterioration of environmental issues and the reduction of energy, energy-saving green environmental protection lamps have gradually entered people's lives. The previous lamp was used for a single purpose, but now people need a multifunctional smart desk lamp. Therefore, it is a good idea to design a multifunctional green table lamp using what you have learned.

This article describes a smart desk lamp design based on PWM dimming. Under the premise of not changing the PWM square wave cycle, the one-chip computer is used for controlling the PWM duty cycle, thus changing the voltage magnitude to realize the adjustment of the luminance.

When the desk lamp detects that the human body is in the vicinity and the ambient light is weak, the lamp will automatically light up, and the brightness of the lamp will be automatically adjusted as the ambient light changes. When the person leaves the scope of the lamp, that is, the infrared pyroelectric sensor does not detect anyone, it automatically turns off after 1 minute. When the human body is too close to the desktop, the buzzer will also issue a warning to remind sitting posture. The design achieves the effect of green energy saving through the automatic adjustment of the brightness and the human body detection console light switch. At the same time, in order to improve the scope of application of this design, an anti-myopia distance detection and manual control mode has been added. In the manual control mode, the brightness of the desk lamp is adjusted by the buttons, so that the desk lamp can be applied in some special cases.

Keywords: Single chip microcomputer;Table lamp;PWM;Human body detection

第1章 绪论

1.1 课题背景和意义

照明是人类能源消耗的重要方面。目前市场上使用白炽灯,卤素灯,荧光灯作为光源,存在效率低,能耗高,调光困难等缺点。而智能台灯在黑暗中开关灯的功能可以方便用户使用,节省了暗灯的麻烦。智能电器产品将因其优势而逐渐进入人们的生活。

近年来,我国青少年近视发病率越来越高,居世界第一位[1]。目前中国有近4亿只近视眼,约13亿人,每3人近视1眼。

近视严重损害年轻人的健康成长。近视的预防和治疗是世界性的主要问题。市售的药品和器械只能起到一定的调节和缓解作用,手术和激光治疗有严格的年龄限制,但也包含严重的风险和风险。除了遗传原因之外,导致学生患近视的原因有很多种,我们必须从诱导他们真正预防近视的所有来源入手。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图