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.

display on the LCD-HELP PLEZ-

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
Hi everybody

I want to Read two analogue inputs from two LDRs and display them on the LCD.

I wrote a code but the problem is :

the readings on the LCD are almost the same even if there is a difference between the lighting on the LDRs.
I used the volt meter to measure, there is a difference in volts that's mean there is a difference between the lighting on the LDRs but the readings on the LCD almost the same.

It suppose to be two lines: line1 to read from LDR1 and line2 to read from LDR2 but as I said the two readings are the same
-BTW I'm using assembly and PIC16F876A-
 

1. Which controller you are using.
2. LDR will show low resistance or high resistance. is that working at LDR output.
3. Are you using pull up resistor at port pins.
4. Post your circuit and code for help
 

1. Which controller you are using.
2. LDR will show low resistance or high resistance. is that working at LDR output.
3. Are you using pull up resistor at port pins.
4. Post your circuit and code for help

Im using PIC16F876A

the only input signal is coming from 2 LDRs which are connected with 10K variable resister
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top