- Sun Aug 07, 2011 11:35 am
#131466
Hi, I just got my new SEN-10736 Razor IMU (http://www.sparkfun.com/products/10736) connected and I don't see any output from one of the magnetometer axis. It's the HMC5883L. Note that this is not the same problem that IL Denizen recently reported in another thread.
Using the SF9DOF_AHRS sample code (from here http://www.sparkfun.com/products/10736) with the PRINT_ANALOGS switch enabled I get output like this:
!ANG:-13.44,30.44,46.57,AN:-801,286,-37,-142,-20,232,4096,235,589
!ANG:-12.08,29.32,46.55,AN:770,-168,-2,-185,2,359,4096,249,601
!ANG:-11.03,25.98,46.51,AN:2113,-146,-302,-146,-72,338,4096,248,581
!ANG:-11.05,24.20,46.08,AN:1039,-218,216,-137,-58,188,4096,245,565
The last 3 columns should be the magnetometer. The 3rd from last column is always 4096. It never changes.
Using the FreeIMU FreeIMU_raw code (from here http://www.varesano.net/projects/hardware/FreeIMU) I get a similar problem:
-142,-2,252,-659,-2400,-308,-202,-280,0,
-142,-2,252,-707,-2486,-243,-202,-280,0,
-142,-2,252,-668,-2413,-201,-176,-291,0,
-131,-3,307,-514,-2185,-196,-176,-291,0,
-131,-3,307,-286,-2026,-171,-150,-300,0,
Last 3 columns are the magnetometer. The last column is always 0.
All the rest of the sensor axis seem to work fine.
Does that mean my sensor has a dead axis? or is it possible to reset it/recalibrate it somehow?
Is there some other trusted test code I could try?
Or should I just request a replacement?
Thanks.
Using the SF9DOF_AHRS sample code (from here http://www.sparkfun.com/products/10736) with the PRINT_ANALOGS switch enabled I get output like this:
!ANG:-13.44,30.44,46.57,AN:-801,286,-37,-142,-20,232,4096,235,589
!ANG:-12.08,29.32,46.55,AN:770,-168,-2,-185,2,359,4096,249,601
!ANG:-11.03,25.98,46.51,AN:2113,-146,-302,-146,-72,338,4096,248,581
!ANG:-11.05,24.20,46.08,AN:1039,-218,216,-137,-58,188,4096,245,565
The last 3 columns should be the magnetometer. The 3rd from last column is always 4096. It never changes.
Using the FreeIMU FreeIMU_raw code (from here http://www.varesano.net/projects/hardware/FreeIMU) I get a similar problem:
-142,-2,252,-659,-2400,-308,-202,-280,0,
-142,-2,252,-707,-2486,-243,-202,-280,0,
-142,-2,252,-668,-2413,-201,-176,-291,0,
-131,-3,307,-514,-2185,-196,-176,-291,0,
-131,-3,307,-286,-2026,-171,-150,-300,0,
Last 3 columns are the magnetometer. The last column is always 0.
All the rest of the sensor axis seem to work fine.
Does that mean my sensor has a dead axis? or is it possible to reset it/recalibrate it somehow?
Is there some other trusted test code I could try?
Or should I just request a replacement?
Thanks.