9dof Razor IMU (Sen-09623) - incorrect data ouput

Hello,

I have a problem getting a correct output on my arduino serial monitor from the 9dof Razor IMU (Sen-09623).

I uploaded the firmware with the FTDI cable. When I open the serial monitor I can see the menu, however when i press [4] for the raw output I get the following:

$,-1,-1,-1,264,266,255,-1,-1,-1,#

I also did the self test with an output of :

HMC: BAD

ADXL: BAD

However when I connect the sensor with the Logomatic Serial Datalogger, I get a correct output for the measurements and for the self test.

I don’t understand why I can’t get the serial output on my computer but only on the datalogger. Suggestions are very welcome :slight_smile:

First … that’s pretty odd. Since you don’t get garbled data, it’s not the usual baud rate mismatch. That the self test reports no good comm btw the “Arduino” and the magnetometer and accelerometer is odd. The only thought that comes to mind is that the FTDI cable is doing a reset differently from what happens with logger or the timing from a FTDI induced reset is … I dunno. Does the PC serial monitor report the same BAD results if you do a reset via the PCB switch ?

Second … what is the product code for your 9DOF IMU ?

SFE lists …

https://www.sparkfun.com/products/10125?

as the old Razor (HMC5843) and …

https://www.sparkfun.com/products/10736?

as the new one (HMC5883L). SEN-09623 returns nothing. I’m wondering if there was an older product that’s not compatible with the new firmware in some weird incomprehensible way.

BTW option 4, which is supposed to spit out “raw” data … what’s the expected data supposed to be ? ASCII encoded signed lsbs for each sensor ? With the IMU just sitting on a table you expect the gyro values to be near zero, + or - values. The HMC is a don’t know. The accel should be 2 values near zero and 1 axis near whatever lsbs correspond to 1 G. This is what you see in the logger stored data ?