# SHT30 external sensor

**URL:** <https://forum.hardwario.com/t/sht30-external-sensor/885>\
**Category:** TOWER\
**Created:** [May 5, 2025, 5:05pm UTC](https://forum.hardwario.com/t/sht30-external-sensor/885 "2025-05-05T17:05:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Budul](https://forum.hardwario.com/letter_avatar_proxy/v4/letter/b/dfb087/32.png) [@Budul](https://forum.hardwario.com/u/Budul)\
**Post date:** [May 5, 2025, 5:05pm UTC](https://forum.hardwario.com/t/sht30-external-sensor/885/1 "2025-05-05T17:05:03Z")

</div>

Hi, i want to use external SHT30 humidity and temperature module like ([Air temperature and humidity sensor SHT30 | LaskaKit](https://www.laskakit.cz/en/senzor-teploty-a-vlhkosti-vzduchu-sht30/)) it is possible? I see support for SHT30 in SDK. thanks

---

<div class="post-metadata">

**Author:** ![hub.martin](https://forum.hardwario.com/user_avatar/forum.hardwario.com/hub.martin/32/631_2.png) [@hub.martin](https://forum.hardwario.com/u/hub.martin)\
**Post date:** [May 15, 2025, 12:31pm UTC](https://forum.hardwario.com/t/sht30-external-sensor/885/2 "2025-05-15T12:31:54Z")

</div>

Hello,

yes, you can use SHT30. Our Clime Module driver has the autodetection because older climes had SHT20

> <https://github.com/hardwario/twr-sdk/blob/master/twr/src/twr_module_climate.c#L250>

So in your application you can include

> #include \<twr\_sht30.h\>

and initialize sensor with

```auto
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.
