mhermans / synthcube

Arduinojam Sythcube project
GNU General Public License v2.0
2 stars 0 forks source link

Test out new MMA8452Q accel. chip #7

Closed mhermans closed 10 years ago

mhermans commented 10 years ago

If there is an issue, code can be adapted for the ADXL345 accel. IC

mhermans commented 10 years ago

Newly ordered chip is working as expected (after taking into account inverted pinout).

jekkos commented 10 years ago

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)

mhermans commented 10 years ago

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.