system
December 1, 2014, 7:27am
1
Hi,
I have qtr 8rc sensor, But i couldnt read the values from it.
How can I test my sensor? I connected vcc and gnd.
each sensor outputs are connected to a led.
When i pass the white or black thing on sensors, i see nothing change in the leds.
Why?
Also I have tried doing this with ardino. Result was the same. I read values 0 0 0 00 0 00 0 0.
sensor outputs to aurdino digital pins (3-10). I used example codes.
Please help me.....
Thnks
Riva
December 1, 2014, 9:30am
2
Can you supply links/details about the 'Qtr 8RC' and where the example code you used came from.
Have you checked with a digital camera that the sensor's IR leds are coming on?
Edit: I have one of those at home which I've never used. Let me test it when I get home tonight. I can't remember if I got the 8A (analog) or 8RC (digital) one though.
system
December 1, 2014, 11:39am
4
thanks for reply,
the sensor wbsite is Pololu - QTR-8RC Reflectance Sensor Array
First, I just wanted to test the sensor separate from aurdino,
I connected sensor vcc and gnd, and I put a led to sensor output, when I see the camera sensors was working, I saw the light, but when I pass a white or black material on sensors, I see nothing change on the led.
Second, I tested with aurdino, I used below
https://github.com/pedcremo/projecteIntegral/blob/master/llibreries_arduino/arduino1_ide/PololuQTRSensors/examples/PololuQTRRCExample/PololuQTRRCExample.pde
I've connected 8 pins to aurdino, but I always read 0 0 0 0 0 0 0 0 0, although I pass white and black material on sensors,
Also you can check from that video, what i want to do,
http://www.aldtuning.net/videos/index.php/view/Qx_oDnX4Azw
system
December 1, 2014, 4:13pm
5
anyone, using the qtrrc sensor in projects ? I am getting crazy about this sensor for one week,
system
December 2, 2014, 9:15am
6
when I use the QTRRCRawValuesExample ,
I see the values in the picture, I am totally complicated.
What's wrong with those values?
The comments at the top of the sketch says the values are between 0 and 2500, so looks to me like it's working.
system
December 2, 2014, 9:37am
8
It doesnt matter what you pass or you dont pass some white or black material, It always shows these values,
The problem is that...
Also normally, I should use readLine, no read!
I get some values with read, but when i use readLine, values are 0 0 0 00 0 0 0 0.
bluytt:
It doesnt matter what you pass or you dont pass some white or black material, It always shows these values,
The problem is that...
Also normally, I should use readLine, no read!
I get some values with read, but when i use readLine, values are 0 0 0 00 0 0 0 0.
any outcomes ? I am encountering the same problem.