Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analog airspeed sensor on adc #3 matek f405wing and f722 wing #4886

Closed
wx4cb opened this issue Jun 27, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@wx4cb
Copy link

commented Jun 27, 2019

Current Behavior

Currently there is no way to use an analog airspeed sensor (such as the one in the F35 lightning on a matek f405 or F722 wing.

Desired Behavior

Allow the use of the RSSI pin ADC for analog airspeed

Suggested Solution

modify the target.h file to change

IE Change this:
#define RSSI_ADC_CHANNEL ADC_CHN_3

to This:
#define AIRSPEED_ADC_CHANNEL ADC_CHN_3

Additionally, be able to "DEFINE" in the CLI whether you are wanting rssi or airspeed on that channel.

Who does this impact? Who is this for?

Anyone who would like an analog airspeed sensor on a matek f405 wing or F722 wing that are moving over from the F35 lightning or just want an airspeed sensor. Obviousle if you actually use the RSSI pin FOR RSSI this wouldn't work, but for others that are using either crossfire with native RSSI/LQ or are sending it back on a transmitter channel, having this option would be great.

@issue-label-bot

This comment has been minimized.

Copy link

commented Jun 27, 2019

Issue-Label Bot is automatically applying the label Feature request to this issue, with a confidence of 0.77. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@wx4cb wx4cb changed the title Analog airspee dsensor on adc #3 matek f405wing and f722 wing Analog airspeed sensor on adc #3 matek f405wing and f722 wing Jun 27, 2019

@DzikuVx

This comment has been minimized.

Copy link
Member

commented Jun 27, 2019

On matek f405-wing voltage divider is required and then any ADC channel can be mapped to pitor

get adc_channel and note channel assigned to RSSI pin. In my case it was channel 3
set rssi_adc_channel=0 – disable RSSI ADC
set airspeed_adc_channel=3 – map ADC channel 3 to airspeed sensor
set pitot_hardware=ADC – enable analog pitot tube
save

on F722-WING there is ADC4 labeled AirS and it already has a voltage divider built in. So:
set airspeed_adc_channel=4

@DzikuVx DzikuVx closed this Jun 27, 2019

@DzikuVx DzikuVx added Support and removed Feature request labels Jun 27, 2019

@wx4cb

This comment has been minimized.

Copy link
Author

commented Jun 27, 2019

OK cool.. that's great pawel. looks like it's going to be the 722-wing then in this bird :D I was hopeing for that as I have more of those and really like the 2 camera option :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.