Idea
In short
How do you build a stair light with two motion sensors?
Motion sensors at the top and bottom of the stairs switch the lights on and then fade them off after you pass. You need Arduino Nano, AM312 mini PIR motion sensor × 2, WS2812B addressable RGB LED strip (1 m, 60 LEDs), Electrolytic Capacitor 100 µF, Resistor 470 Ω and 5 V 2 A USB adapter.
- Level
- Intermediate
- Time
- About 180 min
- Parts
- 6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Combine two sensors in a small state machine.
Parts list
- Development Boards
- Sensors
- Optoelectronics
- Passives
- Passives
- Power
How to build it
- Place a sensor at each end
- Detect which end triggers first
- Run a light wave in that direction
- Hold on for 20 seconds
- Fade the lights out
Common questions
What parts do I need for the stair light with two motion sensors?
Arduino Nano, AM312 mini PIR motion sensor × 2, WS2812B addressable RGB LED strip (1 m, 60 LEDs), Electrolytic Capacitor 100 µF, Resistor 470 Ω and 5 V 2 A USB adapter.
How long does the stair light with two motion sensors take to build?
About 180 minutes for a intermediate maker.
