Light sensor using photodiode

Summary

By: 
Himanshu Choudhary

 

The project about light sensor circuit shows the application of photodiode to detect the presence of light. This light sensor can be used as an intermediate circuit in various applications to detect the presence or absence of light. The sensitivity of the sensor can be adjusted using the preset.

 

What lies Inside the Circuit?

 

This circuit is based around a LM339 comparator along with variable capacitors, photodiode, LED and a solo resistor.
The LED at the output will glow when light falls on the diode. In such a condition, the inverting input drops to a lower value than the reference set at the non-inverting input and so the output goes providing the necessary forwards bias to the LED.  

 

 

 

Description

 

A photodiode, used as a photo detector, generates current in the circuit when light incidents on it. The circuit of this project uses the photodiode in reverse bias mode with resistor R1(10k). This resistor does not allow too much current to flow through the photodiode in case a large amount of light falls on the detector. Initially when no light falls on the photodiode, it results in high potential at the inverting input of a comparator (pin6) of LM339. When light falls on the photodiode, it allows current to flow through the diode, and thus drops the voltage across it. The non-inverting input (pin7) is connected to a variable resistor VR2 (preset) which is used to set the reference voltage of the comparator. A comparator works on the principle that its output remains high as long as the non-inverting input is at higher level than that at its inverting input. Here, the output (pin1) is connected to an LED. The reference voltage is set to correspond to a threshold illumination through a preset VR1 (10k).

 

 

 

 

 

Circuit Diagram

Components

Resistor Image
Resistor

Resistor is a passive component used to control current in a circuit. Its resistance is given by the ratio of voltage applied across its terminals to the current passing through it. Thus a particular value of resistor, for fixed voltage, limits the current through it. They are omnipresent in electronic circuits.

...
LEDs | Light Emitting Diode
LED
 
Light emitting diodes (LEDs) are semiconductor light sources. The light emitted...
Presets | Variable Resistors
Preset
 
A preset is a three legged electronic component which can be made to offer varying resistance in a circuit. The resistance is varied by adjusting the rotary control over it. The adjustment can be done by using a small screw driver or...
LM339 | Comparator IC
LM339 IC

LM339 is a comparator IC with four inbuilt comparators. A comparator is a simple circuit that moves signals between the analog and digital worlds. It compares two input voltage levels and gives digital output to indicate the larger one. The two input pins are termed as inverting (V-) and n...

Browse 4m+ Electronic Products


 
Pick the right product for your next design project with "Mouser Store". Mouser Electronics brings broadest range of semiconductors and electronic components from over 500 industry leading suppliers. 
 
Mouser specializes in the rapid introduction of new products and technologies for design engineers and buyers that includes semiconductors, interconnects, passives, and electro-mechanical components. Providing the best possible service with the flexibility of not requiring a minimum order and same-day shipping, Mouser has it all.
 
 
 
 
When you need the right part right now, think of Mouser
 
Thank you
Team EG

 

APPLICATIONS & TECHNOLOGIES

Learn about the latest applications and industry trends with tutorials and white paper design resources on vertical markets.

Automotive
Energy Harvesting
MEMS Technology
OpenSource Hardware
RFID & NFC
RF Wireless
Sensor
Solar
Touch
Wireless Charging