Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Led circuit with ldr

Status
Not open for further replies.

KhaledOsmani

Full Member level 6
Joined
May 4, 2014
Messages
384
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
3,933
Hello

Im using a set of leds to be powered up with a matching voltage source (regarding the numbers) when i directly connect them they light up normally.

I wanted to make a switch with a light dependant resistor which is a thermo coupled sensor.

When i branch the voltage source with the ldr branched in series at one end, the circuit works in a reciprocal way: when no light is on the leds shuts down, when there is a beam of light on the ldr the leds lights up. I want the vice versa of this phenomenon to be worked on this circuit.

Ow can i inverse this?
 

A small LDR is approx 10K when illuminated and 1M when dark. This varies at least +/-1 decade depending on size and ambient light.

YOu can invert in many ways. Use a pullup R with LDR on input to ground or visa versa.
You can drive the LED ANode high or drive the Cathode low with Anode to V+ (eg 5V)

The LDR will need some backlash to prevent flickering thresholds. A Schmitt trigger gate will do this easily for a wide dynamic range LDR. A 50% backlash on the gate is large but the dynamic range of the LDR is large 100K to 1M for dark for example.

Since the LDR and ambient dark threshold are both undefined in your specification, you must use something like a 1~10M pot in series perhaps with a fixed R of 100k pot to define the "dark" threshold voltage where the gate changes from one state from 0 to 1 or a 1 to a 0 depending on above choice.

The CMOS inverter gate comes in hundreds of varieties for you to choose. Some can drive only a mA, others more. Usually the internal resistance of the CMOS gate depends on Vcc and part number( RdsOn is around 100~1000 Ohms, but is not stated in CMOS spec) so current limiting is built in.

The ESR series resistance of the CMOS Schmitt Inverter but depends on supply voltage.

THe LED resistance (ESR) varies with current from 1k ( dim ) to 15 Ohms bright for a 5mm part.

Obviously if the LED light shines on the LDR, it will affect the output, oscillate and not go on full bright.
 

Thanks Sunny

Could you please add schematic/wiring diagram for the above explanations?
 

I agree. Specify exact results and sensor.

Some use a relaxation osc. Like a Schmitt inverter with R feedback with C input or a 555 timer to vary f with photocell resistance.(not what you want)

others just use a transistor to invert output to give a (non) linear current with rise in darkness R near Vbe threshold.

https://www.google.ca/search?q=Phot...a=X&ei=pPYhVfjYHsivogSI64HwDg&ved=0CAcQ_AUoAQ

- when the R ratio of a fixed to variable sensor matches the inverting device input threshold, it switches output levels.

do you understand R ratios?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top