The 9DOF Sensor board is a very small sensor board with 9 degrees of freedom. It includes the ADXL345 accelerometer, the HMC5883L magnetometer, and the ITG-3205 gyro.
ماژول IMU نه محوره ITG3205 + ADXL345 + HMC5883L
The 9DOF Sensor board is a very small sensor board with 9 degrees of freedom. It includes the ADXL345 accelerometer, the HMC5883L magnetometer, and the ITG-3205 gyro. The board has a simple I2C interface and a mounting hole for attaching it to your project. Also, The small volume of the snesor board allows it to be easily mounted in just about any application. If you need a simple and tiny board that gives you 9 degrees of freedom, this would be a good choice.
Two mounting holes
ADXL345 Accelerometer library
ITG3205 Gyro example
HMC5883L Magnetometer library
Razor AHRS Firmware
Here is a guide illustrates how to connect an 9DOF Sensor stick to Arduino. The following is table describe which pins on the Arduino should be connected to the 9DOF sensor stick.
VCC -> 3.3V GND -> GND SDA -> A4 SCL -> A5
You can get the data of ADXL345, ITG3205 and HMC5883L seperately using the relating example code or using Razor AHRS(Attitude and Heading Reference System) Firmware to compute precisely orientation of the board in space by reading the data from the 3 sensors.
AHRS Example code
Using your Arduino open the file Razor_AHRS/Razor_AHRS.pde from your download Razor AHRS Firmware package. Don't drag the file into your IDE directly.
More details about AHRS please visit AHRS/Head-tracker Tutorial