摘要随着现代社会的飞速发展,能源的需求量日益增多,与之带来的环境问题更 加快人们寻找新能源的脚步。人们迫切需要一种绿色无污染、取之不尽的新能源, 太阳能成为了人们的希望。节能绿色环保的太阳能台灯进入人们的视线,然而早 期的太阳能台灯功能单一,只能用作照明。本文就此设计了一款多功能的太阳能 台灯。
本文分析系统的主要功能,通过设计硬件电路实现台灯的多项功能,详细介 绍系统的各个模块电路,主要包括核心单片机的选型、恒流驱动电路、LED 显示 电路、时间系统电路、闹钟蜂鸣系统电路、按键电路、温度检测电路。72288
本文介绍一种基于单片机控制的多功能台灯, 选用低功耗、 高效率的 ATmega128 单片机。利用单片机控制 DS1302 时钟芯片相结合产生时钟日历,利 用 DS18B20 温度检测芯片检测环境温度,通过 LCD1602 液晶显示芯片来显示日历, 当前时间,星期,温度。利用恒流驱动的 PWM 脉冲信号来调节台灯亮度。利用单 片机和蜂鸣器控制定时闹钟,通过延时子程序让台灯在关闭后 3 秒熄灭。
最后,通过软件和硬件设计出各模块的电路,利用 Proteus 仿真出电路图, 基本满足设计要求。
毕业论文关键词:多功能 太阳能 台灯 单片机 充电
Design of multifunctional solar lamp
Abstract With the rapid development of modern society, the energy demand will grow increasingly。However, the environmental problems brought about by the people to accelerate the pace of people looking for new energy。 There is an urgent need for a green, pollution-free and inexhaustible supply of new energy, solar energy has become the hope of people。 Energy saving green environmental protection of the solar lamp to enter people's attention,However, the early stage of the solar lamp function is single。 It can only be used for lighting。 In this paper, we design a multi-functional solar lamp。
This paper introduces a kind of multifunctional desk lamp based on single chip microcomputer。 We select low power consumption, high efficiency of ATmega128 MCU。 Using single chip microcomputer to control the clock chip DS1302 clock calendar。 Using DS18B20 temperature detection chip to detect environmental temperature。 It Display calendar by LCD1602 liquid crystal display chip, current time, week, temperature。 Using the constant current PWM pulse signal to adjust the brightness of the desk lamp。 Using single chip microcomputer and buzzer to control timing alarm clock。 The lamp is extinguished after 3 seconds off by the time delay subroutine。
The main functions of the system are analyzed in this paper, Through the design of hardware circuit to achieve a number of functions of the table。 Each module circuit of the system is introduced in detail。 Including the selection of the core microcontroller, constant current driving circuit, LED display circuit, time system circuit, alarm clock buzzer system circuit, key circuit, temperature detecting circuit。
At last, Using the software and hardware to design of the modules of the circuit, using Proteus to simulate the circuit diagram, basically meet the design requirements。
Keywords: multifunctional solar energy lamp singlechip charge
目 录
摘要。。 Ⅰ
Abstract Ⅱ
目录。 Ⅲ
1 绪论