The main function:
1. Arduino can detect the external light intensity through the light sensor and automatically dim the LED lighting;
2. Arduino can realize the opening and closing control of LED lighting by infrared remote control.
3. Arduino can realize the controllable dimming of LED lighting by infrared remote control.
After the last point, the LED light is in the automatic dimming mode, which can be switched to the remote dimming mode by the infrared remote control, and the light can be turned on and off by the infrared remote control.
The project uses a total of six buttons of the infrared remote control, namely the power button, the Mode button, the mute button, the play button, the back button, and the forward button.
The function of each button:
1. Power button: turn off the LED light
2. Mode button: Infrared remote control dimming mode
3. Mute button: Auto dimming mode
4. Play button: turn on the LED light
5. Back button: Reduce the brightness of the LED light in the infrared remote control mode
6. Forward button: Enhance the brightness of the LED light in the infrared remote control mode
Hardware structure block diagram:
overall
3W LED lamp (5W lamp board, actually only use 3 lamp beads in series, working voltage 9V, current is about 300mA)
LED power supply (DC 9V)
Light detection module
Infrared transceiver module
Master control
Indicator light, the other indicator light is onboard L
remote control
After several days of debugging, the project is finally completed, and the Arduino development environment provides a rich resource library, which is very convenient to use.
Shenzhen Hongyian Electronics Co., Ltd. , https://www.hongyiancon.com