This past semester I have been working with my club (Iowa State Lunabotics) and we needed to interface with an accelerometer for pitch and roll data. We happened to have a MinIMU-9 available so that is what we worked with. So, I've started this library to interface with the LSM303DLM (accelerometer/magnetometer which is on the MinIMU-9) through an arduino. There is a simple example that aquires the accelerometer data.
Note: Tested with the MinIMU-9 with Arduino Mega 2560 pior to refactoring for this document.
I'll try to update this document as I progress. If anyone has any questions or comments, let me know.
Trying to work with your project. Accelerometer data is indicating on the graph, but I could not understand what sensitivity is?
Judging by CTRL_REG4_A (23h) (x30) there is 3,9 mV/digit. Datasheet says: " a sensor in steady-state on a
horizontal surface measures 0 g on both the X and Y axes, whereas the Z axis measures 1 g"
I am getting 4000 digit on the graph on the z axis
and when I put CTRL_REG4_A (23h) to the default (00000000b) then z above 16000