Analog input logging

Hi, I’m looking a way to log a pH meter with pixhawk and ardurover. How can I config AP in order to do that?

Thank

What the output protocol and range?

There is not a protocol, just an analog output from 0 to 5V (I need to calibrate the sensor in order to know exact range, but it will be between 0-5V).

Thank

You have a few choices. There are 2 ADC inputs, one for 3.3V max and the other with a voltage divider on the input with 6.6V max. Or there is an RSSI input to 3.3V MAX. Rangefinders are typically used on the 3.3V ADC, Analog Airspeed sensors on the 6.6V ADC.

1 Like

ok, but what parameters do I need to set in order to get one of those AI to be logged and scaled? I can’t find anything on documentation

Sure there is:
https://ardupilot.org/copter/docs/common-rssi-received-signal-strength-indication.html

https://ardupilot.org/plane/docs/airspeed.html (see the note about RSSI input here also)

https://ardupilot.org/copter/docs/common-pixhawk-overview.html#common-pixhawk-overview-pixhawk-analog-input-pins

I would use the RSSI input with your own voltage divider. Scaling it will be simple using the parameters available.

1 Like

Oh! Ok I see, I was looking for a raw analog input but I can use RSSI input.
Thank.