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.

Problem with connecting two LDRs

Status
Not open for further replies.

zeeba

Junior Member level 2
Joined
Sep 26, 2010
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,424
LDR connection-help-

Hi

Im sensing the lights with 2 LDRs and using them as an ADC inputs to PIC 16F876A
the code should see the difference and gives an order to DC motor to move

right now my code is fine the only problem I have now that the LDRs read different readings but there is no output from the pic.

without the ldrs, when I put different voltages instead of them I get an outout from the pic

that means there is a problem in the LDR circuit right? how can I solve it?

Im connecting them same as this picture

**broken link removed**
 

Re: LDR connection-help-

The most likely problem is the range of resistance of the LDR is outside the range that would allow your circuit to work. The simple solution may be to change the potentiometer values but first you need to measure the LDR resistance with a multimeter under the light conditions you are using.

Keith
 

Re: LDR connection-help-

The most likely problem is the range of resistance of the LDR is outside the range that would allow your circuit to work. The simple solution may be to change the potentiometer values but first you need to measure the LDR resistance with a multimeter under the light conditions you are using.

Keith

ok if I measured the LDRs then whats next what do I need to take care of?
 

Re: LDR connection-help-

You want you potentiometer value to be at least as big as the trigger resistance of the LDR. So if you want the circuit to trigger when the LDR is 100k then you would use at least a 200k potentiometer.

Keith
 

Re: LDR connection-help-

You want you potentiometer value to be at least as big as the trigger resistance of the LDR. So if you want the circuit to trigger when the LDR is 100k then you would use at least a 200k potentiometer.

Keith

LDR1=5k ohm and LDR2=11.3Kohm and Im Connecting variable resisters both=10k

---------- Post added at 15:26 ---------- Previous post was at 15:01 ----------

the problem is that im not getting enough volt from the LDR circuit to feed A0,A1 the voltage is very small
A0=0.18V and 0.1mA
A1=0.11V and 0.1mA

what do you suggest??
 

Re: LDR connection-help-

Those numbers don't make sense. If the LDR is around 10k then you should get around half rail on the inputs. I also don't understand the significance of the 0.1mA.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top