AnsweredAssumed Answered

MMA8451 MATLAB Arduino Interface

Question asked by Stanley David on Nov 27, 2017
Latest reply on Nov 30, 2017 by David Diaz Marin


I am trying to develop a program in MATLAB that reads in data acquired from an MMA8451 accelerometer. The MMA8451 is connected to an Arduino Uno and the Uno is connected to MATLAB by USB. The MMA8451 is definitely functioning because I can run the demo code in the Arduino with no problems. If I move the MMA8451 around, the acceleration data will get displayed in real time in the Arduino interface. 


I need to get this real time data into MATLAB though and this requires that I use the I2C protocol at a lower level of abstraction. I am wondering if anyone had any suggestions on moving forward with this. 



Stanley David