kriswiner / ESP32

Arduino sketches for the ESP32
167 stars 47 forks source link

What is the best value for pull up resistance on SDA and SCL for MPU9250 when used with ESP32 #22

Open shomedas opened 5 years ago

shomedas commented 5 years ago

There are two values of pull up resistance(4.7k and 10k) which I have come across in all the issues in your github. I would like to know which is the correct value of pullup reistance on each of SDA, SCL lines when an MPU9250 is connected to ESP32. Also I would like to know if the value of pull up can be a cause of delay/lag in the response of estimated yaw, pitch, roll values.

kriswiner commented 5 years ago

If you only have one or two I2C devices on the bus, then I would use 4K7.

" if the value of pull up can be a cause of delay/lag in the response of estimated yaw, pitch, roll values." No

But the I2C API can....

On Wed, Oct 16, 2019 at 1:19 PM shomedas notifications@github.com wrote:

There are two values of pull up resistance(4.7k and 10k) which I have come across in all the issues in your github. I would like to know which is the correct value of pullup reistance on each of SDA, SCL lines when an MPU9250 is connected to ESP32. Also I would like to know if the value of pull up can be a cause of delay/lag in the response of estimated yaw, pitch, roll values.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/ESP32/issues/22?email_source=notifications&email_token=ABTDLKVETWNWBTQTCVKIAPLQO5ZMNA5CNFSM4JBQSKQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HSIUM5A, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKTFFY246KNPOSTQU4LQO5ZMNANCNFSM4JBQSKQQ .