LEDs mostly make light but they can also sense light!
Like a secret power when light hits an LED the right way it makes a tiny bit of electricity.
This is called the photovoltaic effect like a tiny solar panel.
In this post for How to use an LED as a Light Detector Circuit we turn the LED backward means in reverse bias.
This small electric signal shows how much light is around.
Circuit Working:
Parts List:
Component | Value/Type | Quantity |
---|---|---|
Resistors (All resistors are /14 watt) | 300Ω, 220k, 47k | 1 each |
Semiconductors | ||
Transistors BC547, BC557 | 1 each | |
LED Red 5mm 20mA | 1 | |
LED White (bright) | 1 | |
Switch ON/OFF | 1 |
Most LEDs give off one color light but some can also detect light.
They are not as strong as real light sensors like solar cells or photoresistors.
Green LEDs can sense light a little but bright red LEDs work much better.
Red ones are around 100 times more sensitive than green.
But there is a problem the signal they make is very weak.
This circuit helps make that weak signal stronger so we can use the LED as a light detector.
But wait not all LEDs work for this most are not sensitive enough.
This circuit is made just for high brightness red LEDs.
Cool thing is this LED sees light only from its tip.
So it is great for things like solar trackers where light direction matters.
But it is not so good for general room light unless the light is really close.
Formulas:
Useful Formulas for LED Light Detector Circuit
Red LED as sensor:
When red LED gets light use ohms law to find current:
ILED = (Vsupply – VLED) / RLED
- Vsupply is the power supply like 6V
- VLED is the voltage drop across red LED
- RLED is the resistor in series with red LED
Same formula:
ILED = (Vsupply – VLED) / RLED
- VLED is the voltage drop of white LED
- RLED is the resistor in series with white LED
Be sure RLED keeps current safe with usually 10 to 20 mA for normal LEDs.
Base Resistor for Transistor:
To control base current IB use:
RB = (Vin – VBE) / IB
- Vin is the voltage to transistor base
- VBE is the base-emitter voltage which is around 0.7V for silicon transistor
- IB is the base current
To find IB use this formulas:
IB = IC / β
- IC is the collector current
- β (hFE) is the transistor gain
Final Notes:
These formulas help build and understand LED detector circuit using resistors, transistors, LEDs and switch.
Change resistor and part values based on our LED type, transistor details and how we want circuit to work.
Always double check our calculations with real parts.
How to Build:
How to use an LED as a Light Detector Circuit follow the below mentioned steps:
- Connect emitter of BC547 to ground.
- Connect collector of BC547 to +6V supply through 330Ω resistor and red LED in series.
- Connect base of BC547 to point where 220kΩ and 47kΩ resistors meet.
- Connect collector of BC557 to 47kΩ resistor.
- Connect base of BC557 to one leg of white LED.
- Connect other leg of white LED to +6V.
- Connect emitter of BC557 to +6V.
- Connect ON/OFF switch to +6V DC supply.
Note:
- Be careful when working with electronics and ask help from expert if not sure.
Conclusion:
In this How to use an LED as a Light Detector Circuit normal LEDs act like light sensors.
They are not as strong as real sensors but with some help they can still work well.
They sense light from one direction so they are good for things like solar trackers where direction of light is important.