You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I am a staff member of GEPRC. Long ago, we found that there is no integrated barometer in the FC launched by some brands, which has no impact on the firmware of Betaflight. However, the lack of barometer will cause some functions of INAV firmware to be unable to be used normally.
We found this pain point, so have developed the GEP-M10 and GEP-M1025 GPS series, in the GPS integrated DPS310 or MS5611 barometer, just connect SCL and SDA can add to the flight control barometer, very popular with players, this is their product introduction link.
However, we found that the FC design of some brands is quite different, so that the barometer integrated on our GPS can not be activated normally in these FCS. Through the feedback of users, we summarized the following reasons:
1.The barometer definition is not added to target
In most cases where the barometer cannot be turned on normally, we found that the FC target they used did not add the corresponding barometer definition, just add the definition of DPS310 or MS5611 to target.h, and then recompile the firmware to work properly. define USE_BARO_DPS310 define USE_BARO_MS5611
2.FC defines two I2C buses, but the barometer and magnetometer are not set on the same I2C bus
Some FCS have 2 I2C buses, I2C1 for the external magnetometer and I2C2 for the internal FC barometer, e.g. GEPRCF405(this is a historical issue....) . You need to set the magnetometer and barometer to work on the same I2C bus, and then recompile the firmware to use the barometer integrated on GPS.
3.The I2C address of the barometer conflicts
The default I2C address of BMP280, DPS310, and SPL06 is generally 0x76. If the three models of barometers are integrated in the FC and the GPS integrated with DPS310 is connected to the FC, the I2C addresses of the FC and GPS barometers will conflict, resulting in the failure of the two barometers to work properly.
We recommend that users have FC integrated with these barometric timings, which can be purchased with integrated MS5611 or GPS without a barometer. If you have already purchased a GPS integrated with DPS310, we offer two solutions:
Turn off the barometer on your GPS
Remove the 0R resistor next to the barometer, you can turn off the power supply of the barometer, so that it no longer works, so that the I2C address conflict will not be caused, and the barometer integrated on the FC can be used normally. When it is necessary to reactivate the barometer on the GPS, it is only necessary to add a tin short at the position of the 0R resistance.
Change the I2C address of the DPS310 barometer on the GPS
If you must use the DPS310 barometer on the GPS, you need to remove a resistor next to the DPS310, so that the DPS310 I2C address will be changed to 0x77, so that there will be no I2C address conflict with the FC integrated barometer.
Then change the I2C address of DPS310 in common_hardware.c to 0x77, and then recompile the firmware for normal use. BUSDEV_REGISTER_I2C(busdev_dps310, DEVHW_DPS310, DPS310_I2C_BUS, 0x77, NONE, DEVFLAGS_NONE, 0);
If you have other problems with GPS use, please mention them in this issue, thank you.
The text was updated successfully, but these errors were encountered:
YI-BOYANG
changed the title
GEPRC's GPS integrated barometer solution does not work
The barometer integrated on GEPRC's GPS is not working - the solution
Oct 31, 2024
I'm using speedybee f405 mini FC and it's inbuilt DPS310 barometer is not working correctly. So I'm planning to use Geprc m10 dq gps module. if I understood correctly there's no software based method to disable inbuilt barometer, since it's on the same I2c bus and both have same address, therefor either I should remove the inbuilt barometer or should change the address of the DPS310 on gps module ?
Hello everyone, I am a staff member of GEPRC. Long ago, we found that there is no integrated barometer in the FC launched by some brands, which has no impact on the firmware of Betaflight. However, the lack of barometer will cause some functions of INAV firmware to be unable to be used normally.
We found this pain point, so have developed the GEP-M10 and GEP-M1025 GPS series, in the GPS integrated DPS310 or MS5611 barometer, just connect SCL and SDA can add to the flight control barometer, very popular with players, this is their product introduction link.
However, we found that the FC design of some brands is quite different, so that the barometer integrated on our GPS can not be activated normally in these FCS. Through the feedback of users, we summarized the following reasons:
1.The barometer definition is not added to target
In most cases where the barometer cannot be turned on normally, we found that the FC target they used did not add the corresponding barometer definition, just add the definition of DPS310 or MS5611 to target.h, and then recompile the firmware to work properly.
define USE_BARO_DPS310
define USE_BARO_MS5611
2.FC defines two I2C buses, but the barometer and magnetometer are not set on the same I2C bus
Some FCS have 2 I2C buses, I2C1 for the external magnetometer and I2C2 for the internal FC barometer, e.g. GEPRCF405(this is a historical issue....) . You need to set the magnetometer and barometer to work on the same I2C bus, and then recompile the firmware to use the barometer integrated on GPS.
3.The I2C address of the barometer conflicts
The default I2C address of BMP280, DPS310, and SPL06 is generally 0x76. If the three models of barometers are integrated in the FC and the GPS integrated with DPS310 is connected to the FC, the I2C addresses of the FC and GPS barometers will conflict, resulting in the failure of the two barometers to work properly.
We recommend that users have FC integrated with these barometric timings, which can be purchased with integrated MS5611 or GPS without a barometer. If you have already purchased a GPS integrated with DPS310, we offer two solutions:
Turn off the barometer on your GPS
Remove the 0R resistor next to the barometer, you can turn off the power supply of the barometer, so that it no longer works, so that the I2C address conflict will not be caused, and the barometer integrated on the FC can be used normally. When it is necessary to reactivate the barometer on the GPS, it is only necessary to add a tin short at the position of the 0R resistance.
Change the I2C address of the DPS310 barometer on the GPS
If you must use the DPS310 barometer on the GPS, you need to remove a resistor next to the DPS310, so that the DPS310 I2C address will be changed to 0x77, so that there will be no I2C address conflict with the FC integrated barometer.
Then change the I2C address of DPS310 in common_hardware.c to 0x77, and then recompile the firmware for normal use.
BUSDEV_REGISTER_I2C(busdev_dps310, DEVHW_DPS310, DPS310_I2C_BUS, 0x77, NONE, DEVFLAGS_NONE, 0);
If you have other problems with GPS use, please mention them in this issue, thank you.
The text was updated successfully, but these errors were encountered: