The detail original tutorial is based on the Sparkfun 9DOF Razor IMU. Mine is a GY-85 and an Arduino Fio. You can port it to any other arduino with ease.
Physically different boards
Similar electrical units
As you can see from the picture above, two configurations are very similar. To get the GY-85 to work , you need to connect it to 5V(prefered) or 3.3V from the Fio is still OK. Then hook up the SCL, SDA as below:
GY-85
Vcc_in -> 5 volt
GND -> Ground/GND
SCL -> A5
SDA -> A4
GND -> Ground/GND
SCL -> A5
SDA -> A4
Now you can start to follow the original tutorial . When you reach the section: Uploading the firmware> Hardware option, please choose this option:
#define HW__VERSION_CODE 10724 // SparkFun "9DOF Sensor Stick" version "SEN-10724" (HMC5883L magnetometer)
Why? Because the stick is almost the same as the GY-85 ( without the Atmega on it) and the GY-85 comes with the HMC5883L. Push the code to arduino. Data should appear as mentioned in the tutorial. The rest of the tutorial is straight forward.
Do share with me your success stories. Good luck!
ps: another great head tracking project with similar configuration is here
0 comments:
Post a Comment