Idea
In short
How do you build a colour-cycling night light?
An auto colour-changing LED only glows when the room is dark, using a light sensor. You need Arduino Nano, 7-colour auto-changing LED 5 mm, Resistor 220 Ω, LDR Photoresistor, Resistor 10 kΩ and Breadboard 830 Tie Points.
- Level
- Beginner
- Time
- About 120 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
Light up only in the dark.
Parts list
- Development Boards
- Optoelectronics
- Passives
- Sensors
- Passives
- Prototyping
How to build it
- Wire the light divider
- Read the room light
- Set a dark threshold
- Switch the LED
- Add a fade
Related projects
Common questions
What parts do I need for the colour-cycling night light?
Arduino Nano, 7-colour auto-changing LED 5 mm, Resistor 220 Ω, LDR Photoresistor, Resistor 10 kΩ and Breadboard 830 Tie Points.
How long does the colour-cycling night light take to build?
About 120 minutes for a beginner maker.
