Budul
1
Hi, i want to use external SHT30 humidity and temperature module like (Air temperature and humidity sensor SHT30 | LaskaKit) it is possible? I see support for SHT30 in SDK. thanks
Hello,
yes, you can use SHT30. Our Clime Module driver has the autodetection because older climes had SHT20
So in your application you can include
#include <twr_sht30.h>
and initialize sensor with
twr_sht30_t sht30;
twr_sht30_init(&sht30, TWR_I2C_I2C0, 0x45);
twr_sht30_set_event_handler(&sht30, _twr_module_climate_sht30_event_handler, NULL);
twr_sht30_set_update_interval(&sht30, _twr_module_climate.update_interval.hygrometer);
Check if your sensor has I2C address 0x45
or change it accordingly.