摘要:随着人们对生活水平要求的提高,智能家居得到了迅速发展,智能家居灯因此也 越来越受重视。本文设计了一个基于 MSP430 家居智能灯系统,本系统能够实现根据周围 亮度和是否有人自动开关灯、人工无线控制灯的开关,亮度可调以及定时开的功能。系统 主要包括了遥控模块和控制驱动模块,选用 MSP430F139 做为主控芯片。遥控模块主要由 按键模块、显示模块、无线传输模块和主控芯片组成,通过按键设置灯的开、关、定时开、 定时关、自动的 5 种工作状态,并由 LCD12864 显示,通过 NRF24L01 芯片传输到控制驱动 模块;驱动模块由人体红外传感器、光控传感器、声控传感器、无线传输模块、LED 驱动 模块和主控芯片组成,主控模块读取无线传输模块接受到的数据,选择灯的工作状态:前 四种为人工控制灯的状态;当选择自动时,系统根据传感器检测的数据来控制灯的状态。 系统使用的节能芯片作为主控芯片以及节能环保的 LED 灯作为照明设施,实现智能环保一 体化的功能,系统功能全,可靠性高,具有推广价值。75420
Abstract:With the improvement of people's living standards, smart home has been rapid development, smart home lights are also getting more and more attention。In this paper, we design a MSP430 based on smart home lighting system, the system can be realized according to the surrounding brightness and whether it is automatic switch lights, manual wireless control of the switch, brightness adjustable, and the timing of the open function。The system mainly includes the remote control module and the control module,choose MSP430F139 as the main control chip。The remote control module is mainly composed of a key module, a display module, a wireless transmission module and a main control chip,The button is provided with an opening and closing of the lamp, the timing is open, the timing is closed, and the automatic 5 working states are displayed by the LCD12864, and the NRF24L01 chip is transmitted to the control
drive module;driving module by the human body infrared sensor, optical sensor, voice control
sensor, wireless transmission module, LED driver module and the main control chip composition。The master module reads the data received by the wireless transmission module, and chooses the working state of the lamp;when selected automatically , the system can control
the status of the lamp according to the sensor's data。The system uses the energy-saving chip as the main control chip and the energy saving and environmental protection LED lamp as the lighting facilities, so as to realize the function of intelligent environmental protection integration, according to its system functions and high reliability,it has the promotion value。
Keywords: MCU,Remote control,Automatic,Brightness adjustable
目 录
1 前言 3
1。1 选题背景 3
1。2 国内外发展趋势 3
1。3 智能灯控制系统的优势 4
2 系统的总体设计 4
2。1 控制器的选择 4
2。2 无线收发芯片的选择 4
2。3 系统整体框图 5
3 硬件电路设计 5
3。1 遥控系统 5
3。2 控制驱动系统 10
4 系统软件设计