胡子牛 張偉 肖雅金 尹輝
摘要:為了進一步提高照明燈的自動化水平,針對目前照明燈功能單一、自動化程度低的不足,提出了一種基于單片機的多功能智能LED照明燈設計。以STC89C52為控制器,采用LCD、LED燈泡、矩陣鍵盤、觸摸片、可控硅、光強度傳感器等完成照明燈硬件設計;以Keil u Vison3為軟件開發環境完成照明燈的軟件設計。實現了自適應調光、無級觸摸調控光亮以及萬年歷附加功能,具有較高的適用性。
關鍵詞:智能LED照明燈;單片機;自適應;無級觸摸調控
中圖分類號:TP311 文獻標識碼:A文章編號:1009-3044(2017)02-0220-03
A New Design of Intelligent LED Dimming Lights Based on MCU
HU Zi-niu,ZHANG Wei,XIAO Ya-jin, YIN Hui
(School of Automation and Electrical Engineering,Linyi University,Linyi 276000, China )
Abstract:To further increase the degree of automation of lamps, and in view of the inadequacy of existing the single function of lamps and low lever of automation, a new design of intelligent LED lamps is proposed based on MCU. The new design uses STC89C52 as a controller, it adopts LCD/LED/matrix keyboards/touching tablets/ silicon control/photosensitive sensors to accomplish the hardware design of the lamps. And the software design of the lamp is achieved by Keil u Vision3 software development environment. It can automatically dim and steplessly adjust the intensity of light. It also contains perpetual calendar. The new design has higher practicability.
Key words: intelligent LED lamps; MCU; automatically dim; steplessly adjust
1 背景
隨著社會生活水平的提高和科技的發展,人們對燈具的要求也越來越高。當今市場上有著各式各樣的照明燈,但大多數功能單一、自動化水平低。多數照明燈的控制方式是通過按鍵開關、手動旋鈕式開關或三級觸摸調光方式,這些傳統開關使用壽命短,容易壞。用戶無法將燈光調節到最適合的亮度,不能使亮度平滑地轉變并且受到預設亮度的限制,無法滿足人們對照明燈多樣化的需求;有時周圍環境變亮,而用戶忙于工作或學習,忽視了亮度的變化,未將照明燈光調暗,易造成資源浪費,或者外界光線變暗,沒有使燈光變亮,不利于用戶的視力,尤其是青少年。針對照明燈現有的不足,本文設計的照明燈具有無級觸摸調控功能,用以實現燈光亮度的無級變化;還具有自適應調光功能,可以根據外界環境的亮度自動調節燈光的亮度;同時具有萬年歷附加功能,豐富了照明燈的功能。……