Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

i2c library for avr studio 4 to use mpu 6050

Status
Not open for further replies.

Disha Karnataki

Full Member level 5
Joined
Jul 20, 2013
Messages
249
Helped
9
Reputation
18
Reaction score
8
Trophy points
18
Location
india
Activity points
2,231
i want to interface mpu 6050 imu & it communicates using i2c protocol. The libraries i found on web @ this site:http://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
are used for only arduino. The uc i am using is: atmega 8-8L and compiler is:avr studio 4.
this is the link of the i2c library i will be using compatible to my compiler file:**broken link removed**
but, as seen in the page above the functions para : the function:-
Code:
unsigned char 	i2c_readAck
this reads any data available at that instant.But, how do i recognize whether the data provided is related to gyro or acceleo among that which axis that data belongs to?
how do i actually decide?
why i am asking this question is the i2c libraries provided to aurdino do have a function to read the z axis gyro data alone or x axis, y axis as shown here:http://www.i2cdevlib.com/docs/html/class_m_p_u6050.html... But this library isn't compatible with the avrstudio i am using infact it is only compatible to aurdino and arm processors. If any one knows about the library compatible to my compiler & atmega 8 please do post. If not guide me what shall i do next?.
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top