基于51单片机的智能台灯设计
基于51单片机的智能台灯设计(论文11000字)
摘 要
随着智能手机的普及,给人们的生活带来了极大的便利,当前智能化技术在高新技术企业运用的越来越普遍,对于电子行业来说具有深远的意义。由于科技的进步与成熟,家用电器越来越智能化,目前已经应用于实际中的有智能洗衣机,智能空调,智能电磁炉等,而所用的智能化家用电器都有一个共同的特点,都是利用单片机作为中央控制单元.结合了单片机的智能家用电器和普通家用电器相比,使用更方便,安全可靠性也更高,效率更高,最重要的是它们为能源节约提供巨大的帮助。
本文的研究目标是完成基于单片机的智能台灯系统的设计,并完成相应的硬件制作。本文从两个角度来研究课题:一是制定设计方案,针对智能台灯所需的硬件进行挑选,并设计出基本电路;二是制作硬件,根据所选择的硬件设计出程序。在本次设计中存在这如何有效提高提高视力保护以及对硬件电路准确调试的难点。
本文希望通过该电子硬件的制作和理论研究,能为后期进一步设计智能台灯并采取合理措施提高实力保护的有效性提供可靠和有效的数据来源和信息依据。
关键词:智能台灯 ADC0809 单片机 STC89C51
Intelligent desk lamp design Based on MCU [版权所有:http://DOC163.com]
With the popularity of smart phones, to people's lives has brought great convenience, the current intelligent technology in the use of high-tech enterprises more and more common for the electronics industry has far-reaching significance. As the progress of science and technology and mature, more and more intelligent household appliances, has been used in the actual smart washing machines, intelligent air conditioning, intelligent induction cooker, etc., and the use of intelligent household appliances have a common feature, are the use of Single-chip as a central control unit.With a single-chip smart home appliances and ordinary household appliances compared to the use of more convenient, safety and reliability are higher, more efficient,the most important thing is that they provide great help for energy conservation.
The goal of this paper is to complete the design of intelligent desk lamp system based on single chip microcomputer and complete the corresponding hardware production. This paper from two angles to study the subject: First, the development of design programs, smart lamps for the hardware required for the selection and design of the basic circuit; Second, the production of hardware, according to the selected hardware design procedures. In this design, how to effectively improve the visual protection and improve the hardware circuit debugging difficult.
This paper hopes that through the electronic hardware production and theoretical research,we can provide a reliable and effective data source and information basis for further design of intelligent table lamp and take reasonable measures to improve the effectiveness of strength protection.
Keywords:Intelligence desk lamp ADC0809 microcontroller STC89C51
智能台灯的设计方案
智能台灯的自动模式是通过光敏电阻来感应台灯周围环境的光线亮度;单片机的IO口输出PWM脉冲然后通过三极管驱动来控制LED灯泡的亮度;蜂鸣器在红外测距传感器检查到障碍与探头之间的距离小于设定值时开始报警,距离再次超过设定值报警停止。
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1 智能台灯系统概述 1
1.2 论文研究内容 2
第二章 系统方案设计 4
2.1 智能台灯的设计方案 4
2.2 系统各功能模块器件选择 6
2.2.1 单片机选择 6
2.2.2 传感器选择 7
2.2.3 显示器选择 8
第三章 系统硬件设计 9 [资料来源:http://doc163.com]
3.1 系统各模块电路设计 9
3.2 单片机模块 9
3.3 热释电红外模块 10
3.4 红外测距模块 11
3.5 光敏电阻模块 12
3.6 灯光控制模块 13
3.7 按键模块电路 14
3.8 显示模块 15
第四章 系统软件设计 16
4.1 主函数流程图 16
4.2 计时函数流程图 19
4.3 显示函数流程图 20
第五章 硬件调试 21
第六章 总结与展望 26
6.1 总结 26
6.2 展望 27
致谢 28
参考文献 29
附录 31
附录 1 系统原理图 31