Pages: [1]   Go Down
Author Topic: i2c communication tutorial  (Read 1320 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am a newbie to arduino and c programming

I have just purchased an arduino due and MPU-6050 6-axis accel/gyro sensor.

My background is website development in php but other than that I have no programming knowledge outside of php.  I have got the sensor working using the i2cdevlib and a bit of tinkering with the library.  My problem is that I don't really understand how the library accesses the registers from the i2c communications and I would like to understand how this works.  I have never had to use bytes etc.

I don't want to have to read through the whole learning c from scratch tutorials as I already have a basic grasp of control structures etc.

Can somebody please suggest a good place to start.

Thanks
Logged

tyrol
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Ben,

i have the same "problem" and just wanted to push this topic up again.
a place to begin could be the buildr.org site:
http://bildr.org/2012/03/stable-orientation-digital-imu-6dof-arduino/

but unfortunately i could not reach the breakthrough yet.i modified the "FreeSixIMU.cpp" a little bit, but i only get gibberish data out of it...

if anybody could help to get this thing running with the Due, it would be greatly appreciated!
Logged

Pages: [1]   Go Up
Jump to: