Post Top Ad

Wednesday, July 12, 2023

on video Automatic Stair Light | CommonRoom ।Electrical Circuit Diagram


 This sensor switches on the light automatically when people enter in to the detection range. with insufficient natural light the sensor switches turns off the light 


 I will explain how to make connections to a stair lighting system with motion sensors. And also I will give a brief introduction to the motion sensor. 

I show you here how to create automatic and progressive lighting of stairs in the rainbow style!


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)

To support the LEDs and hide the wires at the same time I used plastic solid wiring ducts (Not sure about the English translation).


I drilled them with a 4mm drill bit according to the center distance of the stairs (It depends on your staircase).

For the leds, I chose WS2812B. These are addressable RGB LEDs that I bought in a set of 100.


I glued them with a hot glue gun, and to be well centered in relation to the hole, I installed the support above a mirror.


Be careful with the direction, these LEDs have an input and an output, so I turned them in the logical direction so as not to have to cross the wires.

The wiring is not difficult, there is a + and a - in common for all the LEDs (orange and blue).


Then there is an IN and an OUT pin. The OUT pin of one LED must be connected to the IN pin of the next.


Thin wire is sufficient, here I used wire from an old unused telephone cable.

The heart of the system is an Arduino Nano.


I started by experimenting with Tinkercad Circuits and then I used a test board.


For the LEDs, I used the library Adafruit_NeoPixel.h


I added 2 potentiometers which allow the following settings:


Light sensitivity (compared to the photocell)

The ignition time (0 to 5 minutes)

Presence are detected by PIR detectors HC-SR501.


The electronic diagram and the Arduino code are available for download.


 This sensor switches on the light automatically when people enter in to the detection range. with insufficient natural light the sensor switches turns off the light 


 I will explain how to make connections to a stair lighting system with motion sensors. And also I will give a brief introduction to the motion sensor. 

I show you here how to create automatic and progressive lighting of stairs in the rainbow style!


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)

To support the LEDs and hide the wires at the same time I used plastic solid wiring ducts (Not sure about the English translation).


I drilled them with a 4mm drill bit according to the center distance of the stairs (It depends on your staircase).

For the leds, I chose WS2812B. These are addressable RGB LEDs that I bought in a set of 100.


I glued them with a hot glue gun, and to be well centered in relation to the hole, I installed the support above a mirror.


Be careful with the direction, these LEDs have an input and an output, so I turned them in the logical direction so as not to have to cross the wires.

The wiring is not difficult, there is a + and a - in common for all the LEDs (orange and blue).


Then there is an IN and an OUT pin. The OUT pin of one LED must be connected to the IN pin of the next.


Thin wire is sufficient, here I used wire from an old unused telephone cable.

The heart of the system is an Arduino Nano.


I started by experimenting with Tinkercad Circuits and then I used a test board.


For the LEDs, I used the library Adafruit_NeoPixel.h


I added 2 potentiometers which allow the following settings:


Light sensitivity (compared to the photocell)

The ignition time (0 to 5 minutes)

Presence are detected by PIR detectors HC-SR501.


The electronic diagram and the Arduino code are available for download.

No comments:

Post a Comment

Post Top Ad

Pages