LibrePilot Forum

Development => Firmware General => Topic started by: jdl on March 10, 2018, 12:04:29 am

Title: Analog Airspeed is not functional in Next.589
Post by: jdl on March 10, 2018, 12:04:29 am
Today I noticed that Analog Airspeed Sensor functionality is broken in current next. Revo board, MPXV7002 sensor on output port #5 (ADCRouting: [adc4]). No errors or alarms but sensor values are nonsense and do not reflect the output voltage from the sensor. Disconnecting the sensor doesnot affect displayed raw values, too.

The sensor and Revo board are ok, I switched back to 16.09 to confirm they are functional.

Can someone test and confirm this issue?

Here is the UAV file for the wing, for firmware next.589:


Title: Re: Analog Airspeed is not functional in Next.589
Post by: f5soh on March 10, 2018, 12:46:00 pm
Seems there is indeed issues with ADC inputs when using servo pins, thanks for report.
Title: Re: Analog Airspeed is not functional in Next.589
Post by: jdl on March 10, 2018, 09:49:38 pm
Thanks, f5soh!
Is there a chance to get a fixed Revo firmware only for next.589, when and if available?
Title: Re: Analog Airspeed is not functional in Next.589
Post by: mr_w on March 11, 2018, 12:52:16 am
Hi jdl,
can you build next?

https://bitbucket.org/librepilot/librepilot/pull-requests/500/lp-584-fix-adc-on-servo-outputs/diff

Title: Re: Analog Airspeed is not functional in Next.589
Post by: f5soh on March 11, 2018, 01:09:52 am
Or flash the firmware attached with r589
Title: Re: Analog Airspeed is not functional in Next.589
Post by: jdl on March 11, 2018, 10:09:07 am
I'm currently away from home, I will upload and test fixed firmware later this evening and report back. Thanks!
Title: Re: Analog Airspeed is not functional in Next.589
Post by: jdl on March 12, 2018, 01:00:47 pm
I report tests with this firmware were completely successful, either on desk or real flight ones. Thanks for lightning fast support!