Under-Rim Motion Night Light Kit: Nano, PIR, WS2812B Ring
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Under-Rim Motion Night Light Kit: Nano, PIR, WS2812B Ring — a beginner-level kit.
Under-Rim Motion Night Light Kit: Nano, PIR, WS2812B Ring
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Kit at a glance
What you build: A motion night light under the toilet rim: an LDR checks it's dark, a PIR spots someone walking in, and an Arduino Nano lights a WS2812B 12-LED ring in a soft colour for 60 seconds, so there's no need to switch on a bright light at night.
What's in the box
- Arduino Nano
- HC-SR501 PIR
- LDR
- WS2812B 12-LED Ring
- 470Ω Resistors × 5
- 10kΩ Resistors × 5
- 400-pt Breadboard
- M-M Wires × 20
- 5V 1A PSU
Power: 5V 1A adapter included.
Skill level: Beginner (2-3 hours, no soldering).
Frequently asked questions
Can I pick the colour?
Yes, any colour, set in code.
Is it waterproof?
No. Keep the electronics dry and away from splashes.
Office bathrooms need subtle, automatic lighting that doesn't blast you awake during late-night visits. This kit lets you build a motion-sensitive LED ring that fits discreetly under the toilet rim. As soon as someone walks in, the PIR sensor detects movement, the LDR checks that it's dark, and the 12-LED WS2812B ring glows softly for 60 seconds — no switches, no glare, just smart, hands-free illumination.
What You'll Build
A fully functional motion-activated night light ready to install under a toilet rim. The moment someone enters the room at night, the ring lights up in a preset colour or pattern, providing just enough light to navigate without disturbing the original ambience. It automatically turns off after 60 seconds, saving power and extending LED life.
What You'll Learn
- Calibrate an HC-SR501 PIR sensor for precise motion detection range and timing
- Read an LDR (light-dependent resistor) to differentiate day from night using Arduino analog input
- Control a WS2812B addressable LED ring — setting colours, brightness, and patterns via code
- Assemble a sensor circuit on a breadboard and manage power with a regulated 5V supply
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Nano | 1 |
| HC-SR501 PIR | 1 |
| LDR | 1 |
| WS2812B 12-LED Ring | 1 |
| 470Ω Resistors | 5 |
| 10kΩ Resistors | 5 |
| 400-pt Breadboard | 1 |
| M-M Wires | 20 |
| 5V 1A PSU | 1 |
Who This Kit Is For
Designed for ATL Tinkering Lab students exploring sensor‑based automation, CBSE students building a physics or computer science practical project, and B.Tech ECE/EEE first‑years who need a ready‑to‑assemble mini‑project for Smart India Hackathon or college submissions. Even hobbyists at IIT, NIT, VIT, and BITS will appreciate the plug‑and‑play simplicity of this smart‑living gadget.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code on the box to launch the AI companion, which walks you through every connection and line of code. WhatsApp support is also available for quick questions.
Can I change the LED colour or pattern shown in the default code?
Absolutely. The pre‑loaded code is a starting point. You can easily modify the colour, brightness, or create custom light sequences using the FastLED library — the AI companion can help you tweak the logic.
Is this kit safe to use near a toilet? Will moisture damage the electronics?
The components sit on a breadboard, so any installation should keep them in a dry enclosure away from direct water spray. For permanent bathroom placement, we recommend housing the circuit in a small waterproof box with the sensor and LED ring exposed — a simple add‑on project.
How do I power this if there’s no socket near the toilet?
The included 5V 1A PSU is wall‑plug based, but you can substitute it with any standard USB power bank if you want a portable, cord‑free setup. Just use a USB‑A to barrel‑jack adapter (not included) to connect the power supply to the Arduino.
Office — PIR triggers WS2812B LED ring under toilet rim for 60 seconds at night when motion detected.
What's in this kit
- Arduino Nano
- HC-SR501 PIR
- LDR
- WS2812B 12-LED Ring
- 470Ω Resistors x5
- 10kΩ Resistors x5
- 400-pt Breadboard
- M-M Wires x20
- 5V 1A PSU
Other projects you can build
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items