Projects / Ideas / Colour-cycling night light

Colour-cycling night light

BeginnerLightingIdeaReviewed
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

How to build it

  1. Wire the light divider
  2. Read the room light
  3. Set a dark threshold
  4. Switch the LED
  5. 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.