DayLight detector by Unnikrishnan Kalidas




Project description:

The idea for this project is to detect the amount of light outside the room and provide a signal using an LED to inform if the light outside is high intensity, medium intensity, or low intensity. I have used an LDR sensor to get the data of the amount of light and three different colored LED’s to signify the daylight measurement.  Three states of light outdoors are hence measured with this experiment.

When the LDR senses bright daylight the red LED blinks, similarly when the LDR senses medium or cloudy daylight, the yellow LED blinks, and upon sensing low light or evening light the blue LED blinks.

Experience video:

Behind the scenes and How it works:

Key project images:



Development images:




Link to the Arduino code hosted on Github :


Tinkercad circuit:


Project Context 

This project is inspired by ‘The light rose garden, Chengdu’ A public art installation made up of 25,000 LED roses that light up every evening at 6 pm in Chengdu, China. Designed to celebrate love and romance, “Light Rose Garden” by Hong Kong-based creative agency AllRightsReserved is a traveling installation. I tried to replicate the same mechanism of sensing the daylight intensity from this project and create a simple measuring tool to sense the amount of daylight sensed using the LDR. I wanted to create something which can be functionally used on a daily basis.

The data provided by the LDR varies from 0-1023. I separated this into three sections to determine the different times of sunlight intensity and integrated it into Arduino code to light up three different LEDs to signify the different intensities. The project works with three different light intensity settings lighting up a different LED using an if statement in the code.