- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
多功能台灯设计
[摘要] 随着能源的日益缺乏,节能技术快速发展,涌现出许多新型节能设备,其中 LED 占
领了最大的市场份额。小到一个灯泡,大到数百平米的显示屏,都能看到 LED 的身影。LED
具有耗能低、发热小、使用寿命长等特点。在生活中台灯随处可见,但传统的台灯普遍功能
单一。本文从节能、智能调节等角度设计。
该多功能台灯是基于 STC89C52RC 单片机控制,集多种功能于一身。该台灯具备以下功
能:能手动调光或者根据环境光自动调整;人到灯亮,人走灯灭;能感应与书本的距离,调
整灯亮并在数码屏上提示用户注意台灯与书本的距离;报时;检测温度。硬件设计包含以下
模块:STC89C52RC 单片机控制;按键模块调整工作模式和 LED 的亮度;12 个草帽型白光 LED
照明;光敏电阻采集信号,经 ADC0832 实现光敏信号的模数转换,并利用 PWM 调光技术对
LED 进行光度的自动调节;液晶屏显示;红外感应采用避障传感器、HC-SR04 超声波传感器测
距、DS1302 时钟芯片等多个模块。采用单片机 C 语言编程进行单片机程序设计,综合实现了
全部控制和显示功能。该设计可以在判断用户的位置自动进行灯的亮度调节,达到节能的目
的,并汇集温度和时钟等功能于一身。
[关键词] 单片机 LED 台灯 手动\自动调节 测距功能
I
The intelligent LED desk lamp design based on single chip
microcomputer
[Abstract]With the lack of energy, energy saving technology has developed rapidly, and many new energy saving
devices have emerged, among which LED has occupied the largest market share. Small to a light bulb, large to
hundreds of square meters of the display, can see the figure of LED. LED has the characteristics of low energy
consumption, low heat generation, long service life, etc.. In daily life, the desk lamp can be seen everywhere, but
the traditional desk lamp universal function is single. In this paper, from the angle of energy saving, intelligent
regulation, etc..
The LED intelligent desk lamp is based on STC89C52RC MCU control, set a variety of functions in one. The desk lamp
has following functions: manual dimming or according to the ambient light automatic adjustment; people to light,
people walk lamp; induction and the book of distance and adjusting lamp light and on the digital screen prompts
the user to pay attention to the distance table with books; newspapers; temperature detection. Hardware design
includes the following modules: stc89c52rc MCU control; automatic adjustment of the key module to adjust the
working mode
文档评论(0)