100KM

ARSPD_PIN & RSSI_PIN Hardcoded to A0?

When I installed my rssi pin, I changed the RSSI_PIN parameter to 3, for A3, but I could never get a reading. It's always reading from A0 ignoring RSSI_PIN, it seems. I made my peace and changed to A0.

However, I'm installing an airspeed sensor now, which also defaults to A0. I've changed the 0 in ARSPD_PIN to 1, but it's showing 65kph on the ground, reading my RSSI values on A0! When I switch my tx off, it drops to 0.

Is it possible that Arduplane 2.74b is ignoring the ARSPD_PIN & RSSI_PIN and always use A0 for those? If so, it's a pity, because then I can't have Airspeed & RSSI on the same flight!

Has anyone got both to work at once?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • 100KM

    Ok, after trawling through some source code, I found an entry by Tridge, tagging the "AP_Airspeed: support ARSPD_PIN option for choosing source" entry with Arduplane-2.75. So I've replaced by 2.74b with 2.75 and tadaa! Airspeed is working 100% :)

    https://github.com/bob01/ardupilot/commit/68adeb041d527252f5babc941...

    Thanks again for an awesome feature Tridge!

    AP_Airspeed: support ARSPD_PIN option for choosing source · bob01/ardupilot@68adeb0
    this gives us support for arbitrary analog pins for the airspeed sensor, plus support for the EagleTree airspeed driver on PX4
This reply was deleted.

Activity