Servers by jDrones

Reading an analog sensor

(Corey Golladay) #1

I am trying to read an analog hall effect angle sensor using a Pixhawk 2 running Arduplane 3.9.7. The sensor operates on 5V, but I would think I could use the 3.3V AD port. I can’t find any posts that answer whether a generic analog sensor can be read by the Pixhawk verses specific sensors that are programmed into the firmware. Thanks in advance.

here is the sensor I am trying to use:

(Andras Schaffer) #2

The easiest way to read an analog sensor and display its value in GCS is to use RSSI input.
It can be programmed to any analog input, and can be set max min and scaling values, also have some averaging built in.
You can get its value in the rxrssi field in the GCS.