Not getting accelerometer and gyro data - V1.3.2 cubesat #352
-
I am getting good payload data from the BME280 but all zeros from the MPU6050. This is apparent in Fox Telem and also from config -p: Real-time output from the serial port from the Pico: START_FLAG_OK BME280 22.70 1014.53 -10.67 36.51 MPU6050 -0.00 -0.08 -0.00 -0.00 -0.00 -0.00 GPS 0.0000 0.0000 0.00 TMP 8.07_END_FLAG I am also getting good solar panel data. What is the best way to troubleshoot this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Larry, The testing and troubleshooting of the payload sensor data is described here: https://github.com/alanbjohnston/CubeSatSim/wiki/4.-Main-Board-2#payload-sensor-testing Your MPU6050 data doesn't look good. If it was all zeros (0 for all six values), this would indicate that the MPU6050 wasn't detected on the I2C bus. However, some of our data is non-zero (e.g. -0.08) so this seems to suggest that the MPU6050 is there but isn't returning valid data. If you follow the steps here https://github.com/alanbjohnston/CubeSatSim/wiki/Adding-New-Sensors to setup the Arduino IDE and install libraries, you can try installing software on your Pico that just reads the MPU6050 such as this: https://github.com/alanbjohnston/CubeSatSim/blob/master/stempayload/GetAllData/GetAllData.ino You can also read all about the MPU6050 here: https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/ I suspect, however, that your MPU6050 board has failed and you will need to replace it. Good luck! Alan |
Beta Was this translation helpful? Give feedback.
Hi Larry,
The testing and troubleshooting of the payload sensor data is described here: https://github.com/alanbjohnston/CubeSatSim/wiki/4.-Main-Board-2#payload-sensor-testing
Your MPU6050 data doesn't look good. If it was all zeros (0 for all six values), this would indicate that the MPU6050 wasn't detected on the I2C bus. However, some of our data is non-zero (e.g. -0.08) so this seems to suggest that the MPU6050 is there but isn't returning valid data.
If you follow the steps here https://github.com/alanbjohnston/CubeSatSim/wiki/Adding-New-Sensors to setup the Arduino IDE and install libraries, you can try installing software on your Pico that just reads the MPU6050 such as this:
https…