I have integrated a Sonar Range finder on my plane for precision landings. All the parameters are set per the book and I do see voltage read in the Flight Data Status tab.
- RNGFND1_PIN = “14” for Pixhawk’s ADC 3.3v pin #2
- RNGFND1_MAX_CM = “700” (i.e. 7m max range) if using EZ0 or EZ4, “1000” if using EZL0
- RNGFND1_SCALING = “2.04” (i.e. 7m / 5v) if using EZ0 or EZ4, “4.08” (i.e. 10m / 5v) if using EZL0
- RNGFND1_TYPE = “1” (Analog)
However, when I raise the plane high low, I don’t see any change in the voltage read. This cannot be a normal behavior because the sonar is a analog device and there should be some drastic change one would expect from the voltage readout.
Does anyone has experience this?
Hardware = Pixhawk Cube, ADC pinout
FW = 4.2.3
Sensor = MaxSonar EZ-0, PW output