Skip to content

Releases: Sensirion/embedded-sht

Embedded-SHT 5.3.0

16 Mar 08:54
9158f1c
Compare
Choose a tag to compare

Changelog

  • [added] SHT3x driver added macros to easily parse the STATUS register relevant bits
  • [added] SHT3x driver support for alert thresholds configuration (read and write commands)
  • [added] SHT3x driver support for clear status register
  • [added] SHT3x driver allows use of 2 sensors in parallel (addresses 0x44 & 0x45)

Which driver to use

Use the shtc1 driver for SHTC1, SHTC3, SHTW1 and SHTW2 sensors
Use the sht3x driver for SHT30, SHT31, etc and SHT85 sensors
Use the sht4x driver for SHT40, SHT41, etc

Support code is available for converting between degrees Celsius and
Fahrenheit as well as between relative and absolute humidity. This
code is available in the utils folder of the main tree:
https://github.com/Sensirion/embedded-sht/tree/master/utils

Embedded-SHT 5.2.1

14 Dec 16:51
92fd612
Compare
Choose a tag to compare
 * `[changed]` Makefile to only include needed files from embedded-common
 * `[changed]` Updated embedded-common to 0.1.0 to improve compatibility when
               using multiple embedded drivers

Embedded-SHT 5.2.0

10 Sep 13:01
d193301
Compare
Choose a tag to compare

Changelog

  • [added] SHT4x Support

Which driver to use

Use the shtc1 driver for SHTC1, SHTC3, SHTW1 and SHTW2 sensors
Use the sht3x driver for SHT30, SHT31, etc and SHT85 sensors
Use the sht4x driver for SHT40, SHT41, etc

Support code is available for converting between degrees Celsius and
Fahrenheit as well as between relative and absolute humidity. This
code is available in the utils folder of the main tree:
https://github.com/Sensirion/embedded-sht/tree/master/utils

Embedded-SHT 5.1.0

12 Jun 11:32
18cf4ce
Compare
Choose a tag to compare

Changelog

  • [changed] Cleanup and better document stm32 sample code
  • [changed] Use configuration independent endianness conversions.
    No more need to correctly set SENSIRION_BIG_ENDIAN

Which driver to use

Use the shtc1 driver for SHTC1, SHTC3, SHTW1 and SHTW2 sensors
Use the sht3x driver for SHT30, SHT31, etc and SHT85 sensors

Embedded-SHT 5.0.0

29 Apr 09:34
7ca690a
Compare
Choose a tag to compare
 * [`changed`]  Replace SHTC3's auto-sleeping with manual sleeping for better
                control of the sensor and easier-to-read code.
                - Adds the functions `shtc1_sleep()` and `shtc1_wake_up()`
                  Despite the name, the functions only work on the SHTC3.
                - Remove `shtc1_disable_sleeping()`.
 * [`removed`]  Remove the `AUTHORS` file from the driver and the
                `embedded-common` submodule, as it adds more noise than benefit.
                The contributors can be found in the git log.
 * [`fixed`]    Copy correct `CHANGELOG.md` and `LICENSE` files to target
                locations when running the `release` target of the driver's root
                Makefile.
 * [`fixed`]    Fix uVision compilation warnings (#1295-D: Deprecated
                declaration of shtc1_sleep - give arg types)
 * [`added`]    Add convenience function convert relative to absolute humidity
 * [`added`]    Add convenience functions convert between Celsius and Fahrenheit

Embedded-SHT 4.1.0

13 Sep 11:23
033739b
Compare
Choose a tag to compare

Changelog

  • [fixed] Fix warnings about sign conversion
  • [fixed] Improved compatibility with C++ compilers
  • [added] Add functions to read out the serial id:
    - sht3x_read_serial_id(int32_t *serial_id)
    - shtc1_read_serial_id(int32_t *serial_id)

Which driver to use

Use the shtc1 driver for SHTC1, SHTC3, SHTW1 and SHTW2
Use the sht3x driver for SHT30, SHT31, etc and SHT85

Embedded-SHT 4.0.0

01 Jul 12:49
4897537
Compare
Choose a tag to compare
  • [changed] Return types are now int16_t instead of int8_t (in line with
    other embedded drivers).
  • [changed] Functions are now dedicated per sensor (e.g. sht3x_probe()
    instead of sht_probe())
  • [added] New return values for wakeup/sleep failed
    (STATUS_WAKEUP_FAILED, STATUS_SLEEP_FAILED)
  • [fixed] Fix SHTC3 issues when calling probe() multiple times
  • [changed] Move the i2c init call out of probe() and into the example
  • [changed] Rename git_version.[ch] to sht_git_version.[ch]

Use the SHTC1 driver for SHTC1, SHTC3, SHTW1 and SHTW2
Use the SHT3x driver for SHT30, SHT31, etc and SHT85

Embedded-SHT 3.0.0

14 May 09:22
9a6924a
Compare
Choose a tag to compare
  • Use stdint types e.g. uint16_t instead of u16

Use the SHTC1 driver for SHTC1, SHTC3, SHTW1 and SHTW2
Use the SHT3x driver for SHT30, SHT31, etc.

Release 2.1.0

27 Jun 13:48
Compare
Choose a tag to compare
  • Support for SHTC3's sleep mode (included in shtc1 package)
  • Support low power mode on SHTC1 (and family)

The zipped release files https://github.com/Sensirion/embedded-sht/releases/download/2.1.0/sht3x-2.1.0.zip and https://github.com/Sensirion/embedded-sht/releases/download/2.1.0/shtc1-2.1.0.zip provide a flattened version of the source content where all driver-specific files are in one directory (except for hw_i2c and sw_i2c). A copy of the git submodule embedded-common is also included.