Releases: Sensirion/embedded-sht
Embedded-SHT 5.3.0
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
* `[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
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
Changelog
- [
changed
] Cleanup and better document stm32 sample code - [
changed
] Use configuration independent endianness conversions.
No more need to correctly setSENSIRION_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
* [`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
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
- [
changed
] Return types are nowint16_t
instead ofint8_t
(in line with
other embedded drivers). - [
changed
] Functions are now dedicated per sensor (e.g.sht3x_probe()
instead ofsht_probe()
) - [
added
] New return values for wakeup/sleep failed
(STATUS_WAKEUP_FAILED
,STATUS_SLEEP_FAILED
) - [
fixed
] Fix SHTC3 issues when callingprobe()
multiple times - [
changed
] Move the i2c init call out ofprobe()
and into the example - [
changed
] Renamegit_version.[ch]
tosht_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
- 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
- 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.