Mount Motion Sensors and Electronic Box
From How to Install Motion-Sensor LED Strip Lights on Stair Treads · Step 5 of 6 · Video by I Like To Make Stuff

Showing 13:17–14:27 of the source video. Watch the full video with every moment.
What happens in this clip
Use 3D-printed mounts to attach PIR motion sensors to the underside of the handrail, ensuring they can be adjusted to aim at the desired detection zones on the stairs. Route the sensor wires into the wall, joining the LED wires at the bottom of the staircase. Cut a rectangular hole in the wall large enough to house a project box. Drill appropriate holes in the project box to mount the 40A power supply and the Arduino Uno. Carefully manage all wires, feeding them into the box. This centralizes all control and power components, making them accessible for troubleshooting or future modifications.
Goal: Install PIR motion sensors under the handrail using 3D-printed mounts and house all electronic components (power supply, Arduino) in a custom wall-mounted project box.
What's used
Tools
- 3D printer
- 40A power supply
- Arduino Uno (or ESP module)
- Drill
- PIR motion sensors
- Project box
- Screws
About the full video
This project transforms an ordinary carpeted staircase into a smart, interactive lighting system by replacing old carpet with hardwood treads and risers, then integrating motion-sensing LED lights. The system uses an Arduino microcontroller to detect movement via PIR sensors and illuminate specific steps dynamically, enhancing both safety and aesthetic appeal. The project also involves custom fabrication of light bars and meticulous wiring integration to achieve a clean, professional finish.
Step 5 of 6: Mount Motion Sensor and Power Supply
Choose a location for the motion sensor that has a clear line of sight to the stairs and will effectively detect movement. Mount it using its adhesive backing or screws, ensuring it's firmly in place. Mount the power supply near an electrical outlet, again using adhesive or screws. Ensure that all wiring is neatly routed and secured using cable clips or ties to prevent it from hanging loosely or becoming a hazard.
Every video in How to Install Motion-Sensor LED Strip Lights on Stair Treads
Step 1: Plan LED Strip Placement
- 0:00–0:02 Plan and Gather Components
- 0:00–0:19 Install Flexible LED Strip Lighting
- 5:35–6:58 Plan Light Placement and Spacing
Step 2: Prepare Stair Treads
- 0:00–0:01 Prepare Staircase for LED Installation
- 0:10–0:12 Install LED Strips on Stair Treads
- 0:02 Prepare Stair Surface
Step 3: Install LED Strips
- 0:10–0:12 Install LED Strips on Stair Treads
- 0:01–0:04 Apply LED Strip Lights to Treads
- 0:00–0:19 Install Flexible LED Strip Lighting
Step 4: Connect LED Strips and Motion Sensor
Step 5: Mount Motion Sensor and Power Supply
- 13:17–14:27 Mount Motion Sensors and Electronic Box (this video)
- 3:50–4:30 Mount and Test the Motion Sensor
- 3:25–4:32 Install and Wire Motion Sensors
Step 6: Test the System
- 0:02–0:14 Test Motion Sensor Functionality
- 0:10–0:11 Test Functionality and Observe Results
- 0:07–0:10 Test Electrical Components
How to Install Motion-Sensor LED Strip Lights on Stair Treads
Install motion-sensor LED strip lights on stair treads for improved visibility and safety.
Read the full guide Browse all guides
Planning this project? Shop Oak Valley Designs.

