I am am using a MPXV7002DP on my APM. When connected the airspeed sensor seems not to be detected, adc output reports airspeed values from 2-6.
So I hooked the airspeed sensor to an arduino pro mini (5V) for debugging.
Code:
void setup() { Serial.begin(9600); }
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue, DEC);
}
Results:
default value: 499
min value: 6
max value: 1016
Are these values expected by APM ?
Cheers,
-S
Replies
Problem solved. Th airspeed sensor works (returns ~5V max and ~0V min), the connection was the problem.
http://code.google.com/p/ardupilot-mega/wiki/Airspeed