I've Recently bought a MMA8451 accelerometer from NEXROBOTICS . I am doing a 'Self-Balancing' bot and i want to interface my accelerometer with the Arduino Uno . The datasheet of MMA8451 is too tedious and i don't know where to start . Communication is through I2C .
Any startup code or guidance would be helpful .
Thank you.
As I said, I was working on a driver for this sensor.
I's really complex to get all those datasheet on mind to write the code, but I'm trying!
I got into a complication: The sensor works using 3.3V , it's not a problem, except for the i2c interface which also uses 3.3V. To work it around I bought a Logic Level Converter device that safely steps down 5V signals to 3.3V and steps up 3.3V to 5V. (It is cheap, about $1.95, I'm no sure if I can write here the site where I bought it)