Stairs.  Entry group.  Materials.  Doors.  Locks.  Design

Stairs. Entry group. Materials. Doors. Locks. Design

» Stair lighting with a motion sensor: system installation using Arduino components

Stair lighting with a motion sensor: system installation using Arduino components

Automatic with a motion sensor is quite convenient and looks stylish. To go up the stairs at night, you need to turn on the light, and this may disturb the rest of the household.

The backlight will look aesthetically pleasing. Unlike the lighting we are used to, the energy consumption for such lighting is small. Lighting with a motion sensor is safe even if there are children in the house. Automatic lighting will give individuality to the house and emphasize the taste of the owners.

Device elements

In our time, lamps with a motion sensor are gaining more and more popularity.

In the case of staircase lighting, the best option would be to give preference to manufacturers of a series of boards and controllers Arduino (Arduino) or their analogues.

The automatic staircase lighting device with a motion sensor consists of a control controller with diode strips.

The controller includes:

  • power unit;
  • microcontroller;
  • two motion sensors;
  • dusk sensor.

Note: the power supply must be powerful enough to power both the LED strips and the device.

Motion sensors are designed for installation in the area of ​​the first and last steps. They can be either infrared or ultrasonic. It sends a signal to the device when a person approaches it.

The twilight sensor is designed to exclude the operation of the device during daylight hours or with sufficient artificial lighting of the stairs.

Device management

The control of a conventional device is carried out from the control panel. The control panel contains:

  • indication elements showing the inclusion of the device itself;
  • activation of one of the two motion sensors;
  • dusk sensor indicator.

Management is carried out using buttons. The right two buttons are the buttons to increase or decrease the value of the controlled parameter. The left two buttons are for controlling the brightness of the light, the brightness of the backlight. When the left buttons are pressed simultaneously, the staircase lighting delay is adjusted until it is turned off.

If you prefer the Arduino device, then it works with the help of a computer program that can either be downloaded to a computer or directly connected to a computer and installed.

When illuminated with the Arduino, the upper and lower rungs glow. They will glow almost all night, so that a person can navigate in the dark where the step is and go to this light.

The twilight and motion sensor are connected to the terminals. There is a separate terminal for each sensor. When the dusk sensor is blocked by a resistor, the device considers that dusk has come.

How the device works

If a person approaches from the top of the stairs, then the upper sensor will work in this case. The light on the stairs will spread in a wave from top to bottom.
Next, the backlight will glow for a while for the person to walk up the stairs. After the set delay time has elapsed, the staircase will also smoothly fade out in a wave from top to bottom.

If a person approaches from below, the lower sensor will work, and the device will give a light wave from the bottom from the first to the last step. There will also be a delay in lighting time and the light will gradually go out in the same direction in which it turned on.