How to interface I2C MPU6050 gyro with PSoC3. need code. please help.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have connected SDA and SCL lines of MPU6050 to P12.1 and P12.0 of PSoC3 board. i need to display the raw values of oriantation along  x, y ,z axes on character LCD that is on board. please give steps and most importantly the CODE !!! thank you...

0 Likes
3 Replies
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

See this project:

   

Bluetooth-Enabled Smart Shoe  

   

http://www.element14.com/community/community/design-challenges/smarter-life/blog/2013/12/27/bluetoot...

   

It includes libraries for :   MPU6050, HMC5883L, MS5611

0 Likes
Anonymous
Not applicable

People here are all willing to help, but would not do it for you. 

   

Please post your project so people can see what is your progress and what you have done, and see what was wrong.

   

If you don't have a project yet. Show people what your design for people to help.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Look at the documentation for the I2C module in PSoC Creator, and at the example projects for it (right-click on the component). Together with the MPU6050 datasheets (and maybe some google-fu for tutorials / example libraries) this should help you. If you have any actual questions regarding the component, don't hesitate to ask.

0 Likes