Micropython - SHT30 in BTC Base



  • If someone would try work with SHT30, I recommend:

    https://github.com/rsc1975/micropython-sht30

    but in this base you should propertly sel scl, sda pins and i2c addres SHT30 is 0x44.

    Code:
    from sht30 import SHT30
    sht30_sensor = SHT30(scl_pin=22, sda_pin=21, delta_temp=-3, i2c_address=0x44)
    temperature, humidity = sht30_sensor.measure()

    Also what i noticed that is showed temperature is higher than real. To correct it i use delta_temp.