Tuesday, December 20, 2011

Pololu 9DOF MiniIMU

The 9DOF package contains: L3G4200D 3-axis gyro; a LSM303DLM 3-axis accelerometer and 3-axis magnetometer. It arrived yesterday (Dec 19), and so I tried out Pololu's provided AHRS(attitude and heading reference system) sketch for Arduino. Pololu 9DOF MiniIMU website

the output looks like this on the serial monitor: (the first value is (in aircraft terms) roll, second is pitch, third is yaw.)
!ANG:13.54,-21.50,-90.32
!ANG:13.55,-21.54,-90.29
!ANG:13.47,-21.55,-90.24
!ANG:13.48,-21.58,-90.23
!ANG:13.46,-21.58,-90.25
!ANG:13.50,-21.54,-90.28
!ANG:13.51,-21.54,-90.28
!ANG:13.40,-21.54,-90.21
!ANG:13.32,-21.52,-90.14
!ANG:13.36,-21.49,-90.14
!ANG:13.35,-21.45,-90.17
!ANG:13.38,-21.40,-90.18
!ANG:13.32,-21.36,-90.15

With this working, i have nothing to do really (maybe read the enormous RC Groups forum for more background info) before the rest of the quadcopter parts from hobbyking to arrive.



No comments:

Post a Comment