Electronic – Invensense IMU3000 with PIC

ci2cimumplabpic

Has anybody experienced using the Invensense IMU3000 gyroscope with some microcontroller?

The hardware comes with a really good library integrating full control of its features. This library is structured in 3 different layers, the bottom one is the one that implements the communication with the chip itself. The vendor provides this layer for using the IMU3000 with an adapter board in WindowsXP. Basically, what I need to do (and what is suggested in the application note) is rewrite this layer to use the whole library with my PIC (I2C communication). After that, I can just use the library (this is what it's said in the application note).

I am trying to build the IMU library in Visual Studio 2005 (the project was originally made this way) for a PIC but I am stuck with the dependencies..

Alternatively, I can compile the .lib with the PIC IDE, but.. is it possible=

Any hint, even with other platforms, would help!

Thank you all!

P.S. Unfortunately I cannot find the DS online.. just after you install the package you find it.

Best Answer

I doubt you'll be able to compile the libraries (meant for Visual Studio from what I can tell) in MPLAB - the targets are insanely different (desktop PC vs PIC microcontroller). It seems to me that the directions they gave you with the libraries are meant to be followed if you want to use the chip with your desktop PC. I doubt you'll be able to modify the libraries to allow them to compile and run with the PIC. Instead, you should examine the code and try to re-implement it on your own for the PIC. The code can give you an idea of what to do but you won't be saving yourself any time trying to use it directly.