I wonder if anyone could have a quick look at my project to suggest what I am doing wrong. This is a project that I had downloaded from Sam's blog, and I am following pretty much what he recommends. The code runs but throws an error that " MPU6050 connection failed" followed by printing 0 all over.
I would like to mention that: 1. I have used this code previously, and it had worked. 2. I testecMPU6050 unit Arduino and it worked fine, which means sensor board is OK.
Some of the community members had previously helped me getting started with this project. I am hoping they would me understand the issue. I am attaching the project below. I would appreciate if someone could run on her computer.
Solved! Go to Solution.
Things you can do:
Also can you try to degrade the SCB component to an older version and test it? Or use an old version of PSoC Creator and test the interface.
Thank you for replying, Hima. I tried those two recommendations. I am using PSOC creator 3.3 now. Yet I am getting the same error. I am sure, I am missing something very trivial.
This project is important, and I am now freaking out. I wonder if some other experienced members could help me.
If PSoC Creator 3.3 is also not working it might be some hardware issue. Did you get a chance to probe the I2C lines?
I have checked three different PSOC4-BLE kit boards. The boards are fine since other projects are doing just fine. To rule out any issue with MPU-6050 unit I ran it on an Arduino board. The MPU-6050 unit gave expected reading on Arduino.
Is there a way to plot/visualize I2C data in psoc creator software? I do not have an oscilloscope. Could you recommend something?
Things you can do:
I tested the project on CY8CKIT-142 without MPU6050
Therefore, you can see what the request to the sensor looks like. ()
I can test the MPU6050 only in a month.