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.
What's said in this clip
right out so let's go install these things foreign [Music] I've got these little PIR sensors and a 3D printed amount for them to go into that exposes the sensor part and it's got screw holes so I can mount these to the bottom of the handrail and I can adjust the placement so if I need them to aim One Direction to detect motion I can do that the wires are going to run all the way down this thing and go into the wall just like the wires did for the lights and then we'll join all of those up in a box down there with the Arduino so I've got all the wires coming out of this wall and these are coming from the lights and the sensors I cut a hole here the size of a project box so that I can house everything inside this plastic box this will be mounted in there and be flush with the wall but I don't really want to see just this black surface so I cut a piece of Walnut that'll go right on top of it just to dress it up a little bit but the whole idea is to run everything in this box add a power supply and an Arduino so that we can get everything contained in one place just in case there are any problems with the wiring [Music] so this entire project is going to run
Automatically transcribed from the source video.
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
Questions about How to Install Motion-Sensor LED Strip Lights on Stair Treads
Given this is an electrical project, what critical safety precautions should I take before starting?
Always turn off the power to the circuit you'll be working on at the breaker box before making any electrical connections. Use a non-contact voltage tester to confirm the power is off before touching any wires. Ensure all wire connections are secure and properly insulated with electrical tape or heat shrink to prevent shorts or hazards.
The project lists specific LED strips and multiple motion sensors. Can I use different types, and how do I choose the right components for my needs?
Yes, you can use different LED strips, but ensure they are compatible with your chosen power supply (e.g., 12V DC). The project lists several motion sensors offering different installation types (in-wall switch, ceiling mount, wireless); choose based on your desired control method and aesthetic preference. Consider if you need advanced features like dimming or color control, and ensure all components are rated for the appropriate voltage and amperage.
Where is the best place to mount the LED strips on the stair treads, and how can I effectively hide the wires for a clean look?
Mount the LED strips on the underside of the lip of each stair tread, facing downwards, to illuminate the step below without creating glare. To hide wires, use the polyethylene tubing to bundle and protect them, running them discreetly along the underside of the stair nosing, along the stringer, or tucked into the corner where the tread meets the riser. Secure the tubing with the provided mounting bases for a tidy and safe installation.
What should I do if my motion-sensor LED lights aren't turning on, are flickering, or aren't responding correctly to motion?
First, double-check all electrical connections for looseness or incorrect wiring, ensuring the power is off during inspection. Verify that the motion sensor's settings (sensitivity, duration) are correctly adjusted for your environment. Confirm the power supply is functional, and check the LED strips for any visible damage or disconnected segments. If flickering, ensure the power supply can handle the total wattage of all connected LED strips.
Is this project truly suitable for a beginner, and what can I do to ensure the LED strips stay securely attached to the stair treads long-term?
While listed as beginner, this project involves basic electrical work, so some comfort with wiring is beneficial; the 4-hour estimate is for experienced DIYers. To ensure long-term adhesion of the LED strips, thoroughly clean the stair tread surface with lint-free rags and lightly sand it (if appropriate for the material) to ensure excellent contact for the adhesive. For added security, consider using additional adhesive or small mounting clips, especially in high-traffic areas or on textured surfaces.
The materials list includes a soldering kit. Is soldering absolutely necessary, or are there alternative connection methods for a beginner?
A soldering kit provides the most secure and reliable electrical connections, which is ideal for a permanent installation. However, for beginners or those uncomfortable with soldering, the 'Armacost Lighting SureLock Connector Assortment Pack' is listed as an alternative for solderless connections. Ensure any solderless connectors are rated for your LED strip's gauge and current, and are installed correctly for a safe and durable connection.
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.

