Home

Awesome

bme680-mqtt-micropython

Publish data from the bme680 sensor over MQTT using micropython. Makes use of:

On Wipy 3, P9 = SDA and P10 = SCL. Read sensor bytes using machine with:

from machine import I2C
i2c = I2C(0)   # using defauls P9 and P10
i2c.scan() # returns [119] which is hex 0x77
i2c.readfrom(0x77, 5) # read 5 bytes
<img src="https://github.com/robmarkcole/bme680-mqtt-micropython/blob/master/BME680-wipy.JPG">