|
Post by Jason on Apr 29, 2021 7:10:51 GMT -8
Not sure you can do that since the chips (BME680 v BMP280) are not the same and each has a unique driver to manage it. In the post above, where I have non-sensible numbers, I used the testBMP280.py script with the chip ID changed to match the BME680. That tells me the chips and drivers are reporting and processing the readings differently because the post with good numbers uses the BME680 driver from the SkyWeather kit. I'd definitely wait to see if SDL can offer some additional insights, but it seems likely that a driver change is necessary in order for your setup to work.
Thanks,
Jason
|
|
|
Post by doxidad on Apr 29, 2021 7:13:05 GMT -8
Your i2cdetect is only seeing the i2c bus multiplexer (addr 73) and nothing else on bus 0 - should be seeing the A/D - addr 48 and the BME - addr 77.
Take a look at the picture Jason posted - it shows the correct wiring. The drivers at this point don't make a difference if the device can't be seen on the i2c bus
|
|
|
Post by Jason on Apr 29, 2021 7:23:26 GMT -8
Output should looks as follows:
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- 77
Jason
|
|
chuckjay
New Member
Posts: 22
Raspberry Pi: Yes
Other Device: MacIntosh, Arduino
|
Post by chuckjay on Apr 29, 2021 7:23:46 GMT -8
I figured out why I was getting the strange output from i2cdetect. I accidentally connected the Grove connector for the watchdog timer on the SunControl board to a I2C connector on the Pi2Grover board. I moved that to the D5/D6 port and only 73 and 40 showed up in i2cdetect.
|
|
chuckjay
New Member
Posts: 22
Raspberry Pi: Yes
Other Device: MacIntosh, Arduino
|
Post by chuckjay on Apr 29, 2021 7:30:12 GMT -8
Does the I2C port on the Pi2Grover matter? I am currently plugged into the port closest to the GPIO connector.
|
|
|
Post by Jason on Apr 29, 2021 7:40:32 GMT -8
I believe only insofar as the driver needs to know which bus to activate prior to attempting to read the device.
Thanks,
Jason
|
|
chuckjay
New Member
Posts: 22
Raspberry Pi: Yes
Other Device: MacIntosh, Arduino
|
Post by chuckjay on Apr 29, 2021 9:20:06 GMT -8
I appreciate your help Jason and Doxidad. After reviewing all of the posts, it sounds like I may have a defective board that isn’t allowing me to get past the multiplexer. I’ll do some more checks to make sure I don’t have a jumper shorted or some silliness. I may have to contact the factory to see about a replacement. Thanks, again.
|
|
|
Post by Jason on Apr 29, 2021 9:27:32 GMT -8
Can you share a pic of your setup?
Jason
|
|
chuckjay
New Member
Posts: 22
Raspberry Pi: Yes
Other Device: MacIntosh, Arduino
|
Post by chuckjay on Apr 29, 2021 9:38:00 GMT -8
Here is my set-up. It's mounted on the back of the board holding the solar panels.
|
|
|
Post by Jason on Apr 29, 2021 11:30:36 GMT -8
I believe that should work as wired as long as the driver that reads BME680 is told to use bus 4 (0x08) instead of bus 1 (0x01).
Thanks,
Jason
|
|
chuckjay
New Member
Posts: 22
Raspberry Pi: Yes
Other Device: MacIntosh, Arduino
|
Post by chuckjay on Apr 29, 2021 16:51:01 GMT -8
I did one more test to determine if the problem could be the multiplexer on the PiWeather board. If I connect the I2C bus cable for the SunControl board to the Pi2Grover board, The INA3221 shows up in i2cdetect. If I connect it to the PiWeather board, it doesn’t. I think that is pretty good indicator that there is a problem with the PiWeather board. Hopefully, somebody from SDL can tell me how I can exchange the board.
|
|
|
Post by SDL on May 1, 2021 17:08:41 GMT -8
Didn't we already handle this exchange on the ticket system?
BP
|
|