Go Down

Topic: ArduIMU+ V2 (Read 1 time) previous topic - next topic

kuxz

I would like to know how can I read raw ADC value of the accelerometer and the gyro from this IMU (http://www.sparkfun.com/products/9956)?
Is it possible to use the code found in the Manual (http://code.google.com/p/ardu-imu/downloads/list) because I only used the IMU with the Magnetometer without the GPS?

johnwasser

http://code.google.com/p/ardu-imu/wiki/Configuration

User-modifiable options:

There is no configuration file for the firmware. Use modifiable options are set with several #define statements in the main file (ArduIMU.pde). There are also #define statements which are not intended to be user modifiable options, so only change the parameters shown below.
Code: [Select]

//OUTPUTMODE=1 will print the corrected data, 0 will print uncorrected data of the gyros (with drift), 2 will print accelerometer only data
#define OUTPUTMODE 2

#define PRINT_ANALOGS 1 //Will print the analog raw data
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up