Closed mhermans closed 10 years ago
Newly ordered chip is working as expected (after taking into account inverted pinout).
OK so this means that we can just reuse the existing code? Of course then we will be limited to rotations between different axes only? (so no rotation inside any axis plane if I'm not mistaken)
Indeed, for proper readings we need to combine accelerometer + gyroscope readings. Which specific IC's we use for those two sensors is still open, it does not need to be a MMA8452Q for the accelerometer.
But for learning purposes at least, I'm inclined to start of with two discrete ICs with a lot of documentation/examples, such as the MMA8452Q as accelerometer and the L3GD20 as gyroscope.
But if you get the DMP-functionality of an integrated IC such as the MPU-6050 is working, we can always switch.
If there is an issue, code can be adapted for the ADXL345 accel. IC