Author |
Message |
Topic: GP2D12 sensor problem urgent need !!!!!!!!! |
eng.khlaif
Replies: 10
Views: 11584
|
Forum: General CCS C Discussion Posted: Wed Apr 30, 2008 11:38 am Subject: GP2D12 sensor problem urgent need !!!!!!!!! |
dear all, thanks for your comments
now it seem that the sensor is working well with me and now i am to convert the voltage into equivalent distance and i modify my code as shown below
what i want to ... |
Topic: GP2D12 sensor problem urgent need !!!!!!!!! |
eng.khlaif
Replies: 10
Views: 11584
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 3:19 pm Subject: GP2D12 sensor problem urgent need !!!!!!!!! |
...how can i modify the code so that it gives my reading based just on the sensor reading
Well, what voltage change does the sensor produce when something moves? You could compare the A/D reading ... |
Topic: GP2D12 sensor problem urgent need !!!!!!!!! |
eng.khlaif
Replies: 10
Views: 11584
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 1:36 pm Subject: GP2D12 sensor problem urgent need !!!!!!!!! |
I'm not sure to really understand the problem. But from what I do, you complain that the ADC gives a result even if there is nothing moving close to the sensor.
That's normal, you ask the ADC for a v ... |
Topic: GP2D12 sensor problem urgent need !!!!!!!!! |
eng.khlaif
Replies: 10
Views: 11584
|
Forum: General CCS C Discussion Posted: Tue Apr 29, 2008 8:38 am Subject: GP2D12 sensor problem urgent need !!!!!!!!! |
iam using the following sample code that will read the voltage from sensor( this sensor gives analog output) then i want to display it on and LCD
but when i connect the circuit with the sensor it alw ... |
Topic: need help in GP2D12 analog sensor |
eng.khlaif
Replies: 4
Views: 5378
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 2:11 pm Subject: need help in GP2D12 analog sensor |
dear
What i want to say that the ADC i used is inside the PIC itself and it is not external part.
So how can i supply it with Vref 2.5v and where to connect the capacitors
my circuit contains GP2D1 ... |
Topic: need help in GP2D12 analog sensor |
eng.khlaif
Replies: 4
Views: 5378
|
Forum: General CCS C Discussion Posted: Sun Apr 20, 2008 2:19 am Subject: need help in GP2D12 analog sensor |
dear all
more than 30 views and no one post reply is that very difficult
any way thanx for every thing |
Topic: need help in GP2D12 analog sensor |
eng.khlaif
Replies: 4
Views: 5378
|
Forum: General CCS C Discussion Posted: Sat Apr 19, 2008 11:10 am Subject: need help in GP2D12 analog sensor |
dear all,
I am writing a code that will configure gp2d12 sharp sensor so that i can read the value from this sensor and then display it on an lcd as a distance
the idea is this sensor will give anal ... |
|