-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with i2c #18
Comments
this was happening with max30102 sensor too this has been happening at randomly way. |
Do you have 4K7 pullups on I2C?
…On Wed, Aug 23, 2017 at 2:03 PM, laterrps ***@***.***> wrote:
this was happening with max30102 sensor too this has been happening at
randomly way.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qkCELzmy6ZweslE1by4fh9L-irnCks5sbJOngaJpZM4PAlLn>
.
|
What does an I2C scan show? Can you discover the MPU6050 on the I2C bus.
I have successfully received data from dozens of MPU9250 using the STM32L4
so the problem is likely connection or software.
How are you initializing the wire library?
…On Wed, Aug 23, 2017 at 2:30 PM, laterrps ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/26884777/29639440-a028ae4e-880f-11e7-8bd7-f8282af6a8bc.png>
i am using 2.2k resistors
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qj6rMoqohQlb7FR6DkQCLNuSHUv_ks5sbJoMgaJpZM4PAlLn>
.
|
I initialize like this: void movimiento() {
} |
I am using mpu library (Jeff Rowberg) |
"I am using mpu library (Jeff Rowberg)"
Yup, that's the problem...
…On Wed, Aug 23, 2017 at 2:42 PM, laterrps ***@***.***> wrote:
I am using mpu library (Jeff Rowberg)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qkjEESlj7OLxoZp4F1WsaPfmM0WTks5sbJzagaJpZM4PAlLn>
.
|
JAJAJAJ you recomendme make my own algorithm? |
or do you have any example? |
I havent used the MPU6050 for years having graduated to the MPU9250 but
here is what used to work for me. You will have to modify the wire calls or
maybe not. But there are bound to be some changes required to sun on the
STM32L4.
https://github.com/kriswiner/MPU6050
…On Wed, Aug 23, 2017 at 2:52 PM, laterrps ***@***.***> wrote:
or do you have any example?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qqkbZqm_6UGELvRhFoFNoMzIvhIuks5sbJ8cgaJpZM4PAlLn>
.
|
I implemented a motion detect algorithm and it looks like it's working correctly thank you for your help i'll be carefull and instead of copy work from internet i will implement my own code. |
Good for you!
…On Wed, Aug 23, 2017 at 5:39 PM, laterrps ***@***.***> wrote:
I implemented a motion detect algorithm and it looks like it's working
correctly thank you for your help i'll be carefull and instead of copy work
from internet i will implement my own code.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qpdCq4hbClRUw55CHp5xqB5zZpCiks5sbMYogaJpZM4PAlLn>
.
|
I have problem using i2c comunication
i am using mpu6050 i dont know why but the program is freezing and interrupts still working
The text was updated successfully, but these errors were encountered: