Рет қаралды 58,388
Here's how to achieve automatic and progressive rainbow-style staircase lighting! No more getting up at night using the light on your cell phone to avoid switching on!
For this I used cable ducts where NeoPixel LEDs are installed. Detection is provided at the top and bottom by PIR presence detectors, installed in the 3D printed supports. The "intelligent" part is entrusted to an Arduino Nano.
A light sensor enables the system to be activated only if it is dark enough, and 2 potentiometers allow adjustments, one for light sensitivity, and the other for the duration of ignition (0 to 5 minutes )
Material:
- 4 white moldings 3x1 cm x 2 m (1.3 € x 4)
- 26 WS2812B addressable 5050 RGB NeoPixel LEDs (€ 14.23 for 100)
- 1 220V - 5V 3A power supply (€ 13.28)
- 1 Arduino Nano
- 2 PIR sensors HC-SR501 (€ 9.59 for 5)
- 1 photoresistor
- 2 potentiometers 10 Kohms
- 2 resistors 470 ohms
- 1 capacitor 1000 µF
In this video, I also present a Stater Kit with everything you need to get started with Arduino.
This kit was given to me by ELEGOO. If I accepted it is because they offer a good starter kit at a very affordable price, and that it is well made, complete, and in French. But know that in all cases, I remain in control of the choices, content and judgments in my videos.
You will find the diagrams, the Arduino code and the links of the components on my site!
www.magicmanu.com/maison/fabr...