We were running a mission today and the plane was flying fine. After the mission ended we flew around a bit longer and during the part of the flight I received a Compass Error then GPS Data error on the ground Station.
After landing we are noticing nothing is working on the I2C bus even if we plug-in individual components directly to the I2C port on the plane.
After reviewing the logs there is a “flag power_status_t” where it jumps up at the same time as the loss of GPS, Airspeed, ect.
What happened? Here is a download link to the file. It is to big to upload. Thanks.
Correct link: birdsiproductions.com/ftp/i2c_loss.tlog
We are using Arduplane 3.2.3
What appears to have happened was the 5v power coming off the i2c bus is dead. We used a multimeter and checked the voltage and it was reading 0.
I agree with you in theory. Plugging and unplugging batteries is such an inelegant approach to turning the PH on; that is the only electrical abuse I can see being done. Physically the PH is pretty well protected in a CF frame and the MR has taken no hard hits.
Why does a “simple two wire bus” knock out the internal PH compass rather than only impacting devices connected to the i2c board?
different components can have different tolerances for out-of-spec conditions.
I am attaching an thermal image of APM wit too high I2C voltage , that destroyed magnetometer, and while other components work, the magnetometer is the second hottest component after the main microcontroller, while it would usually not be any hotter then the rest. Note that this is not enought thermal difference to feel it due to component’s small surface, but does show up on thermal.
the 3,3v bus had become more like 4.4v - maybe more before testing.
There are lots of crappy GPS’s and other devices that , for example, run GPS and magnetometer on 5v or with really bad regulator between, or even only a resistor - being capable of supplying 5v to teh 3v3 I2c bus. (remember that many I2C devices operate fine at both 3,3v and 5v - some don’t.)
I have a i2c port come off the board while removing a plug. It could be that the connection was weakened by plugging / unplugging of the magnetometer. It’s unfortunately a characteristic of the DF13 plugs.
yes, and no.
DF13 is not really made for very much plugiing/unplugging cycles, nor is it made for the way “poeple” tend to use them.
Do not pull by cable, rather insert a xacto knife blade between male/female part into the long edge of the connector, and twist a little left/right /(forcing connector parts directly apart from each other) - or there is a video how to do that with a nail, made by Pixhawk developers…