Shop OBEX P1 Docs P2 Docs Learn Events
X,Y,Z IMU (accelerometer, gyro and compass) — Parallax Forums

X,Y,Z IMU (accelerometer, gyro and compass)

TimmooreTimmoore Posts: 1,031
edited 2010-05-07 02:20 in Propeller 1
This is a 9DoF IMU, it uses a tri-axis accelerometer, 3x single axis gyro and tri-axis compass.
The accelerometer is the ADXL335, the gyros LISY300AL and the compass the HMC5843. You can build this the breakout boards from sparkfun
http://www.sparkfun.com/commerce/product_info.php?products_id=9372
http://www.sparkfun.com/commerce/product_info.php?products_id=9373
http://www.sparkfun.com/commerce/product_info.php?products_id=9371
though I dont use this LISY300AL board.
It has also used with an ADXL330 accelerometer, 2x dual IDG300 gyros, CMPS03 compass with no code change to the IMU code
It uses a cutdown version of cessna's fixed point maths library, tuned for the IMU.
It has a I2C object for the HMC5843.
It uses a TLV2553 for the A2D, this is a faster version of the TLV2543. This A2D will work with the obex tlv2543 library but the object here is tuned for the tlv2553/tlv2556 and runs much faster - it samples at ~9000 samples/sec for each of the 11 channels
The IMU started from Jason Wood 5DoF IMU but runs an additional kalman filter for the Z axis. I have also moved the A2D access external to the object so other A2D/accelerometers/gyros/Compass can be used without changing the IMU code - also the midpoint and gyro gains are passed in during initialization.
The IMU updates at ~48 times/sec and uses 1 Cog for imu(imu, kalman filters and maths) + 1 cog for the A2D

Comments

Sign In or Register to comment.