6 Replies Latest reply on May 25, 2015 12:57 PM by dominik_92

    How to use the Microstack Accelerometer with Beaglebone Black

    dominik_92

      Hi Guys!

      I've tried to mount a Microstack Accelerometer on my new Beaglebone Black using the Program Matlab. (Sensor Technical Page Franell: Microstack Accelerometer Accessory Board).

      First i had some Issues because there was missing a Jumper on the board so i couldn't get the I2C Adress of my Sensor (JP1-2   JP1-3).

      Now that i managed to get the Adress and connect to my Sensor via I2C i am not able to get any right Data.

      My Program in Matlab:

      asdfasdf.pngIMG_20150524_113555.jpg

      The Microstack Accelerometer has a MMA8491Q Xtrinsic 3-Axis Accelerometer on board (  http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8491Q.pdf  ) so it has 7 registers:

       

      qwerqwer.png

      Every time i am reading (via I2C) the data from my Accelerometer i get this:

       

      00000000

      01010101

      01010100

      10101000

      10011000

      10101111

      00010000

      ZYXDR, ZDR, YDR or XDR are set 1 if the Data is ready.

      So there is no change in Data , could anybody help me?