-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Add ADC_ADS1115_EN Parameter to FMUv6x Default Build #21443
Conversation
Adding ADC_ADS1115 Parameter to FMUv6x Default Build to allow FMUv6X user to use ADS1115 with Analog Power Modules.
@mrpollo Is it possible to get this to the 1.14 release? |
I tested on a Holybro Pixhawk 6X, the ads1115 module is present but is not starting, is this the expected behavior @vincentpoont2? MAVLink Shell:
|
Parameter? |
Is it because |
@davids5 these |
@julianoes @dagar any idea why aren't there showing up? This parameters are also needed to setup ADS1115. |
This is required to process data from the ADS1115 ADC and enables the params BATx_I_CHANNEL and BATx_V_CHANNEL. Testing is required whether this actually works on Pixhawk 6X though. Signed-off-by: Julian Oes <julian@oes.ch>
@vincentpoont2 I've added commit which also adds the battery_status module. This brings the channel parameters back that you asked for. However, I don't have an ADS1115 module, so I could not test this. I don't know if it would actually work or if it conflicts with the digital INA power modules. Could you test this on your side? And if you get conflicts, maybe consider disabling the |
@julianoes @mrpollo Tested on Pixhawk 6X and ADS1115, please Merge. |
@dagar any objections? |
@julianoes can we merge this for 1.14? |
FMUv6x Flight controller do not have an internal analog to digital converter. User often need to use ADS1115 when using a analog PM. This should be enable so user can easily enabled/disabled using the ADC_ADS1115_EN parameter https://docs.px4.io/main/en/modules/modules_driver.html#ads1115 |
Closed in favor of #21792 |
Adding ADC_ADS1115 Parameter to FMUv6x Default Build to allow FMUv6X user to use ADS1115 with Analog Power Modules.
Solved Problem
This change will show ADC_ADS1115_EN parameter in FMUv6X default build. Many users would like to use their Analog Power module with FMUv6X FC. This parameter can enable ADC_ADS1115 driver.
Issue reported here: #21318