Wind Vane Sensor on SpeedyBee F405 Wing

Hi everyone,
I am relatively new to Ardupilot and am currently preparing a sailboat project.
My wind vane sensor provides an analog signal between 0 V and 5 V for the direction measurement.
Therefore WNDVN_TYPE = 3 shall be used to define an analog reading.

Now the interesting part:
This wind vane relies on the reading voltage on a ADC pin defined by WNDVN_DIR_PIN

The documentation says:
Pin— Meaning
11 Pixracer
13 Pixhawk ADC4
14 Pixhawk ADC3
15 Pixhawk ADC6/Pixhawk2 ADC
50 AUX1
51 AUX2
52 AUX3
53 AUX4
54 AUX5
55 AUX6
103 Pixhawk SBUS

Is there a possibility to read in my sensor on my SpeedyBee F405 Wing and if yes which pins do I need to use? I was assuming that there is always some kind of ADC which can be used.
The board:

Help is very much appreciated! :slight_smile:

connect it to the airspeed pin 15 , it will work up to 6.6v as it has a voltage divider on it.

1 Like

Thank you, works flawless, beside the detection of only 0-2 V even though the sensor provides 0-4.5V. The readout of the angle is fine though.

1 Like