Hi, I’m following the guide here:
https://learn.sparkfun.com/tutorials/qw … okup-guide
I have no issues with the prox sensor or OLED display but the environmental combo is giving me trouble with the sample code. I’m wondering if I have made a hookup error or maybe the hardware is bad?
When I connect only the prox and display and run “i2cdetect -y 1” I see those two devices in the grid:
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – 3d – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: 60 – – – – – – – – – – – – – – –
70: – – – – – – – –
With the addition of the env combo, or running only the env combo connected, the grid nulls out:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –
This is a Pi 3 b+ with current patches, clock stretching enabled to 10000 per the hookup guide. The other day I was getting all the columns filled in like the below:
I’m able to run the sample python code if I comment out all the BME and CCS related content. The prox sensor and display work fine. If I include the env sensor code I just get errors initializing because it can’t find the hardware.
Any troubleshooting help would be appreciated, thanks!