Skip to content

Not getting accelerometer and gyro data - V1.3.2 cubesat #352

Answered by alanbjohnston
W7DGP asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@W7DGP
Comment options

@W7DGP
Comment options

Answer selected by alanbjohnston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants