# How to receive the data from Atomic IMU 6DOF on Arduino?

**URL:** <https://community.sparkfun.com/t/how-to-receive-the-data-from-atomic-imu-6dof-on-arduino/21470>\
**Category:** Arduino\
**Created:** [July 31, 2011, 10:31am UTC](https://community.sparkfun.com/t/how-to-receive-the-data-from-atomic-imu-6dof-on-arduino/21470 "2011-07-31T10:31:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahlk](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rahlk](https://community.sparkfun.com/u/rahlk)\
**Post date:** [July 31, 2011, 10:31am UTC](https://community.sparkfun.com/t/how-to-receive-the-data-from-atomic-imu-6dof-on-arduino/21470/1 "2011-07-31T10:31:34Z")

</div>

I managed to connect the atomic IMU 6DOF to the mega and used the code(given below) to read the data. I am getting a set of distinct numbers that actually make no sense at all…

```auto
int imuData[9];
void setup() {
  Serial.begin(115200);
  Serial.println("#");
  Serial.println("-");
}
void loop() {
  for(int i=0; i<9; i++) {
    imuData[i]=Serial.read();
    Serial.print(imuData[i]);
    Serial.print("__");
}
Serial.println("");
delay(900);
}

```

-RaHL
