I realize I’m probably jumping on this a little early, because the Mikrobus expansion section here is not finished.
I was eager to try the new board and wanted a barometric pressure sensor for some code I’m working on.
I figured this expansion board would be easier to get working because i2c is pretty straightforward?, but I haven’t been able to get it working. I was able to boot the new system w/ the Click Pressure 4. Dmesg output shows the mikrobus bus:
[ 2.104381] mikrobus:mikrobus_port_register: registering port mikrobus-0
[ 2.104446] mikrobus mikrobus-0: mikrobus port 0 eeprom empty probing default eeprom
I loaded the bmp280_i2c kernel module:
$ lsmod | grep bmp
bmp280_i2c 16384 0
bmp280 24576 1 bmp280_i2c
I ran i2cdetect
on each of the i2c buses, since I’m not sure which number to use. For example:
$ sudo i2cdetect -y 0
Warning: Can't use SMBus Quick Write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
30: UU -- -- -- -- -- -- --
40:
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60:
70:
or
$ i2cdetect -y 1
Warning: Can't use SMBus Quick Write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
30: -- -- -- -- -- -- -- --
40:
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60:
70:
Starting to think the QWIIC or Grove expansion path is easier for now. Thanks, josh