Hi folks. I wired up a gyro breakout board (mpu9150) to a 2560 MEGA, and everything seems to be wired up fine. I'm using logic level converter boards for interfacing between the mpu9150 and 2560.
I'm a newbie to Arduino. I downloaded a sketch program from:
http://playground.arduino.cc/Main/MPU-9150
But I have a feeling that the sketch program from the above link is not for a direct connection between mpu9150 (breakout board) and 2560 MEGA, right?
Am I correct in that the sketch program (from that link) is for an invensense mp9150 'EVALUATION' board (not breakout board) and 2560 MEGA?
I only have the BREAKOUT board interfaced with the 2560 (I2C connections). When I run the above sketch program and then look at the sketch 'serial monitor' results, I can see rows of values. Each row looks like:
36.50 -1 -1 -1 -1 -1 -1 -1 -1 -1
Every row looks like the above, and just keeps scrolling.
I'm keen to get some proper measurement values coming through first, and then later slowly learn about which registers to call up etc in order to get these values coming through.
But right now, I'm not even sure which sketch program (if any) I can use for testing the mpu9150 (breakout) + 2560 system. Any pointers would be greatly appreciated!! I would also be happy to document my learning experience so that others (going down the same path) could benefit from it too.
Thanks in advance!
[UPDATE] : I stumbled across a link that might help me - so I will follow instructions at the link, where I googled 'sparkfun MPU-9150_Breakout'.
I will ask more questions if I encounter issues. Thanks!
=========================================
UPDATE :
Some good info here (after now understanding more about the 9150 and how to use it)