Tachyon - I2C controllers & sensors

Hi,

I’ve run a few quick library examples with I2C controllers on the Tachyon with Pimoroni BME280 (bme280 Python library) and BME688 (bme688 Python library) sensors.

It should be noted that the I2C controller on the 40-pin header is on bus 1 (default), and the Qwiic I2C is on bus 2. The latter means that in the Python code you’ll need to select I2C bus 2.

Don’t forget to setup the Python virtual environment.

In the Python code, to select the I2C bus 2, use for example

from smbus2 import SMbus
bus = SMBus(2)

3 Likes

Thanks zpm1066!

Glad to hear the hacking is working out! I’ll make sure our docs are clear about this info as well :slight_smile:

Thanks

Nick.

@mrlambchop Thanks. Just testing out the peripherals.

How do we access the Tachyon devicetree details? Interested in writing a few drivers.

When are you planning on opening up Tachyon source code? Thanks.

btw - Tachyon makes a pretty good Linux desktop.

A cellular Raspberry Pi on steroids! :slightly_smiling_face: