Introduction: Light Sensor

Picture of Light Sensor

In this tutorial I'm going to show you how to build a really simple, light sensor, this uses an LDR.

What is an LDR

A Light Dependent Resistor (LDR) is a device whose resistance decrease with the respect to the light incident on it, it is also called photo-resistor.

This project can be used to detect whether it is day or night depending on the light intensity, you may need an arduino to make it more accurate and stable, but this is a really simple and fun project to build before actually moving into the arduino side of stuff.

Step 1: Tools and Components

All that you need for this project is -

  • BC547 transistor
  • LDR
  • LED
  • 10K resistor
  • Breadboard

All the parts can be easily found at a local hardware store, or in any microcontroller starter kit.

Step 2: Circuit

Picture of Circuit

The circuit is really very simple, it has just 4 components and no soldering skills are required to assemble it. All you need to do is follow the circuit above.

Step 3: Finishing

Picture of Finishing

After assembling the circuit power on the circuit using a 3v coin cell or an arduino. As you take a light source towards the LDR the brightness of the LED increases, in other words, as the intensity of light across the LDR increases the resistance decreases and intern the base current along the BC547 increases, leading to an increase in the brightness of the LED.


nkriek (author)2017-12-24

Steve please clarify the question asked by 'staropps' hereunder

staropps (author)2016-07-12

At the first step you said 10k resistor but at the diagram R1 is 1k, and R3 is 2.2k and R4 is how much? becuase it is not clear

John_Singleton_ (author)2016-02-21

Can this work without resistors if u use a low power supply like a battery.

أالصباحي made it! (author)2015-08-11

thanks deer. ...i made thes now ....

About This Instructable




Bio: Hi, I just launched an Indigogo campaign support my projects by backing it.
More by ThisIsSteve:Linkit One Text to SpeechLinkit One Kitchen TimerIntel Edison Talks to Linkit One
Add instructable to: