The lights for each stair consist of 3 LEDs in series controlled by an LED driver on an Olympic Ring Light CPU board. There's a second board that has an interface and drivers for an Ultrasonic Range module at the bottom of the stairs and a SHARP IR receiver and IR LED at the top of the stairs.
The program senses something at the bottom of the stairs before the stairs are reached and turns on the LEDs sequentially from bottom to top in about 2 seconds.
It then leaves them on for 10 seconds and after that starts turning them off slowly again from bottom to top.
At the top of the stairs is the IR beam. Same process as the bottom of the stairs but the lights now go in the other direction.
Since the processor board is from an Olympic Ring Light it has CAN bus which will be connected to an internal house network. I'll link it with some other PIR motion detectors so that the bottom stair LEDs and the top stair LEDs will light at a low intensity so in the dark one can find the staircase.
Details please, thanks.
roncoffey 3 months ago