-
Notifications
You must be signed in to change notification settings - Fork 1.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
Internal baro and magnetometer does not work together #9783
Comments
There is something on the GPS (most likely the magnetometer) with the same address as the baro. You will either need to use a different I2C bus if available. Ot try a different GPS module. |
Then how is it working flawlessly on BF? I was thinking on this but I couldn't find any cli command modify the i2c bus indexes (?) I don't know the correct term for these. |
Which magnetometer (compass) / GPS unit are you using? |
Ahh sorry, I forgot that: GEP-M10-DQ |
That's what I figured. That's the one that has it's own extra barometer. I suppose for use with the JB FC, which is missing a baro. So you have two baros hooked up. INAV asks "hey barometer, what's the pressure?" And the baro answers "oneonehundredtthounhundredandonethouonethoudsand ..." because there are two baros talking at once. |
Ohh shoot, I didn't notice that 🤦♂️. Nevertheless, for noobs like me it's really hard to figure out, somehow it would be nice to disable one or other since it's working with BF somehow. Anyway, thx for the help! |
So which brao model is integrated on your flight control? Is it also a DPS310? |
Based on the description of kakute h7 has the BMP280, I couldn't find any info about the foxeer fc, but both behave the same way. |
Got a tiny soldering tip or hot air? And some tweezers? :). You could take the baro off that GPS board pretty easily. INAV can't disable BMP280, because that's all it could do - ignore the BMP280. Two of the same sensor attached to the same bus are indistinguishable. Betaflight may have just ignored the baro, or gotten lucky, or whatever. BF doesn't care as much about getting an accurate baro reading and may be fine with a jumbled reading. |
I'll try it out, thank you very much! 🙏 |
For anyone in the future finding this, I contacted geprc, and they gave me this information about removing a different transistor. I can confirm that for GEP M10 DQ, removing the transistor in my images worked. My overall issue was that the FC had its own baro which will stop working when the GPS is plugged. The solution (1) below solved it. The actual docs they shared with me. Happy Flying! |
I'm experiencing an issue with INAV 7.1.2. The Mamba F722 MK1 flight controller does not have a barometer on the board, and this should not conflict with the barometer on the Geprc M10DQ, but the barometer icon is still showing red. The MAG and GPS are working well. I'm looking for a way to recompile INAV; can you help me. Thanks |
What is The target name of The Mamba F722 MK1 flight controller? I might be able to check. |
I found that the target name of Mamba F722 MK1 is MAMBAF722_I2C. I checked its definition and found that DPS310 is missing. Now I have added DPS310 and recompiled the firmware, please burn this firmware and then check whether DPS310 works properly. |
Thanks YI-BOYANG it worked. |
If GPS sca scl pad is connected to fc the baro stops work, if sca scl pad is free, baro working again.
I tested it on two different FC: Kakuta H7 , Foxeer f722 V4, both setup working well with betaflight.
Inav version is 7.0.0
The text was updated successfully, but these errors were encountered: