Bmp180 timeout
#9673
Replies: 2 comments 17 replies
-
Which board & port do you use, and which firmware version? |
Beta Was this translation helpful? Give feedback.
17 replies
-
Try adding another zero to freq! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys (and girls),
I've been working on a little project recently using both an mpu6050 and a bmp180 each on an I2C bus (i know, kind of strange but ultimately both sensors will have redundency, one of each on each bus)
My problem is that on about 150 try, the code worked about 10 times, it apears the program pretty much always stops on the bmp180 initialisation with a "OSError: [Errno 110] ETIMEDOUT"
I thought it might just be the board failing to sinc time with the sensor on the first try, so i made a "try/except:continue" loop on the initialisation of the sensor but even after an hour (about 15 000 loop) it still didn't work...
The circuit is a custom pcb so yes, the connections are consistent and working (i checked) with 4.7k pullup resistors to 3.3V
If you have any ideas on what could be the problem here, i'd be very glad to ear them... I've been stuck on the same problem for a week now and i really don't want to have to reorder new pcb's and different new sensors...
(Btw, i may seem strange that i'm using the mpu6050 library's output as a list but i modified said library to allow it)
Code.txt
Beta Was this translation helpful? Give feedback.
All reactions