T ThinkEdge Learn

LDR — Sunrise Alarm Clock

When the sun rises, the room wakes up with a soft glow

LDR PWM analogRead analogWrite Sunrise
Arduino LDR light sensor project · Tier 3 · Combined Projects · Intermediate · 30 min · Arduino Uno

What you will learn

What you will need

Component
1× 9V battery
1× LDR (light sensor)
1× 220Ω resistor
1× warm white LED
1× 10kΩ resistor
1× slide switch

Step by step

Take it further

Practise it before you build it

Wire this circuit in the ThinkEdge Learn simulator first. The simulator runs a real Arduino sketch against a modified-nodal-analysis solver, so the LED on screen actually lights when the current is right — no hardware, no burnt components, and a class can try it in a browser.

Open the interactive lab See plans for your class

Related projects

LDR — Light-Following Robot (Solar Tracker)It always faces the brightest spot Arduino — RGB LED Color MixerThree pots, one RGB LED — mix any color of the rainbow Servo — Knob to AngleTwist to point Sound Sensor — VU Meter (5 LEDs)The louder the sound, the more LEDs light up Arduino Mega — 4-Servo Robot ArmDrive 4 servos at once for a pan-tilt-gripper-tilt arm Arduino — Solar Tracker with Two LDRsA servo that follows the light, like a real solar panel

Where this project sits

It is also part of these lists, which is how a class usually finds it.

Arduino LED projects for beginners36 projects in this list Arduino LDR light sensor projects7 projects in this list

Try the full simulator with your class

103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. One licence covers a whole school.