|
Post by DrippinDan on Mar 3, 2019 18:06:53 GMT -8
The onboard BMP280 will not respond after the first exchange. i2cdetect shows normal after a power down / up, but after I access the chip the first time, it will not respond to any further messages unless I power it down / up again.
I have tried this on several Pi's Have verified my 5v supply. I am using the SwitchDoc I2C Grove Hat Adafruit library from the SwitchDoc Github site. I am using the Adafruit simpletest_280.py for all tests. The DS3231 is responding reliably.
Any ideas?
Dan
|
|
|
Post by DrippinDan on Mar 4, 2019 7:37:21 GMT -8
A quick update, if I drop the power supply voltage to 3.7 volts, the BMP280 works reliably.
|
|
|
Post by DrippinDan on Mar 8, 2019 7:15:41 GMT -8
Nothing but dial tone.....?
|
|
|
Post by lbendlin on Mar 8, 2019 15:10:00 GMT -8
Does any of the devices on your I2C bus have the 10K pull-up resistors?
|
|
|
Post by drippindan on Mar 9, 2019 5:33:31 GMT -8
The SwitchDoc WeatherBoard is supposed to provide them, but that's a great idea. I'll drop a pull-up on the I2C lines and let you know what happens. Thanks!
|
|
|
Post by drippindan on Mar 10, 2019 5:46:36 GMT -8
You are a brilliant mastermind lbendlin! The pull up resistors worked. I guess the WeatherBoard isn't providing the proper source paths after all. Since SwitchDoc won't provide a schematic, it's hard to verify.
Thanks again!
|
|
|
Post by SDL on Mar 12, 2019 6:42:10 GMT -8
Yes, Lutz is awesome!
Look in the specification to see if there are pull-ups. It will state yes or no. 10K if I remember right. Noisy lines will require stronger pull-ups.
BP
|
|
kiwx
Junior Member

Posts: 65
|
Post by kiwx on Dec 10, 2019 15:27:50 GMT -8
I am having issues with BMP280 as well. Where exactly did you put the 10k pullup?
|
|
|
Post by SDL on Dec 11, 2019 9:43:00 GMT -8
VDD to SDA
VDD to SCL
Use a 10K pull up on both.
This really does fix noisy lines. And it generally comes from noisy power by the way, unless you are near a transmission tower!
BP
|
|
kiwx
Junior Member

Posts: 65
|
Post by kiwx on Dec 11, 2019 18:31:51 GMT -8
Hmmm....I am using a RaspberryPi 4 with Pi2Grover board and an i2c 4 channel Mux. Everything seems to be connected correctly, and everything but the barometric pressure is working. Which I think is the BMP280. What happens is I get a read from it on power up, but then it either goes to 0.00 or freezes with the same reading (30.44 currently).
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
Funny thing is, I thought the BMP280 was on 77 which I don't see via i2c detect or on testSDL_Pi_TCA9545.py.
|
|
|
Post by SDL on Dec 12, 2019 3:22:34 GMT -8
Boy, since you are seeing all the other addresses, I think you might have a bad board. Can you post a picture of the board you have?
BP
|
|
kiwx
Junior Member

Posts: 65
|
Post by kiwx on Dec 12, 2019 16:03:04 GMT -8
Pretty sure I have it all wired correctly.
|
|
|
Post by SDL on Dec 13, 2019 3:35:54 GMT -8
kiwx,
Looks good to me. Please PM me your address and return the board to:
SwitchDoc Labs RMA #121319-01 909 S Shelley Lake Lane Spokane Valley, WA 99037
BP
|
|
kiwx
Junior Member

Posts: 65
|
Post by kiwx on Jan 13, 2020 17:28:50 GMT -8
New board arrived and same behavior. I have doubled and triple checked wiring and it looks good. At first I see x77 using i2cdetect. Then it vanishes. I am unsure what the root cause is, but will continue to work on it as I have time.
My next troubleshooting will be without the Lightning detector and MUX Extender board.
|
|
|
Post by SDL on Jan 15, 2020 9:53:44 GMT -8
Kiwx,
Now I'm wondering about the Raspberry Pi. Can you switch that out? Pulling the MUX and Lightning detector is a good idea.
BP
|
|