Forum >The problem with the Sharp GP2D12
The problem with the Sharp GP2D12

I've a problem with the Sharp GP2D12...
(Wire red) Input 5.012v from 5v of the arduino (Wire black) in the ground (Wire blue) in the analog A0 input
Simple Test Sketch:
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue, DEC);
}
I've 2-3 in every condition of the sensor between the obstacle
Confirmed with voltage output : 0,01 v form the wire blue
Is the sensor defect?
(Wire red) Input 5.012v from 5v of the arduino (Wire black) in the ground (Wire blue) in the analog A0 input
Simple Test Sketch:
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue, DEC);
}
I've 2-3 in every condition of the sensor between the obstacle
Confirmed with voltage output : 0,01 v form the wire blue
Is the sensor defect?
2012-07-16 19:06:30 Hi Vincent,
this is a post from last year... Jessie is one of our staff, she posted this for a customer, but the customer never came to the forum...
Thank for your interest in helping others here :)
Hector
this is a post from last year... Jessie is one of our staff, she posted this for a customer, but the customer never came to the forum...
Thank for your interest in helping others here :)

2011-06-22 21:15:02 Hi,
I'm not understanding your last statement "I've 2-3 in every condition of the sensor between the obstacle"
Could you please clarify?
Thanks,
Hector
Hector
I'm not understanding your last statement "I've 2-3 in every condition of the sensor between the obstacle"
Could you please clarify?
Thanks,
Hector
