Automatic Color Detector Using LDR

by ajmal hassan in Circuits > Sensors

13432 Views, 26 Favorites, 0 Comments

Automatic Color Detector Using LDR

55350dd226ece2f174000023.jpeg
IMG_0603.JPG

This is a guide for building a automatic color detector using LDR (light dependent resistor). This is small in size, and can be built in less than a few minutes.

Things You Need

2015-04-19 22.07.31.jpg

You need the following-

  • LDR (light dependent resistor).
  • LED- The color of the LED you need depends upon the color you need to detect. Eg., if you need to detect red color, then you need red LED.
  • 9V Battery
  • small lithim 3v battery for the led.
  • 22k resistor
  • small vibrator(just to alert you)
  • A switch
  • tape

2015-04-19 22.11.08.jpg
2015-04-19 22.18.53.jpg
2015-04-19 22.19.51-1.jpg
paint1.jpg
ins1.jpg
IMG_0596.JPG
55350c6426ece2cb5000000a.jpeg

Take the ldr and cover it with small amount of insulating tape as shown in the image. this is to protect the ldr from other lights.

Attach the led and ldr to the opposite sides of the battery. connect the led to the small lithium battery, while connect the ldr to the 9v battery, vibrator, resistor and a switch in series. The led and the ldr must be kept almost parallel, and slighty inclined to each other. cover the whole body except the led and the ldr can be covered with tape.

note: the led circuit and the ldr circuit are different.

For detecting white color, use a white led, and so on. hold the apparatus a few cm away from the surface of which you need to find the color. You can also use it in robot.

how it works-

if you want to detect white color, then use a white led. when the light from the led touches a white surface, then the light bounces and reaches the ldr as white light. The ldr responds to white light the most; therefore the vibrator gets switched on, alerting you. when it hits a surface, of different colour then an amount of light will be absorbed and a light of different wavelength reaches the ldr. In the latter, the vibrator doesn't get switched on. you can use red led for detecting red color and so on.