All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- add dhtnew_pulse_diag_ext.ino for extended diagnosis.
- fix #95, units of T & H
- update GitHub actions
- refactor setType() map invalid types to 0
- update readme.md
- update unit test (minor)
- minor edits
- update readme.md
- update license to 2023
- update GitHub actions
- fix #89, add experimental support for AM2320, AM2321, AM2322.
- update readme.md.
- fix #86, define constants explicit as float.
- Fix #84 correct the reading of type 70 for Sonoff Si7021.
- fix keywords.txt
- Fix #81, recognize DHT22 as type 70. Add minimal wakeup delay.
- Fix #79, experimental support for Si7021.
- Add RP2040 pico in build-CI
- Add CHANGELOG.md
- Fix #76, disable interrupts for ESP32.
- Fix #72, delayMicroseconds() for wakeUp
- update library.json, license, minor edits (clean up),
- add constants to unit tests
- update build-CI - compilation test on M4 and ESP32 of examples
- update readme.md, badges, typos, reorganizing
- added note: MKR1010 Wifi support - setDisableIRQ(false)
- minor edits in examples
- changed TIMEOUT_C to 90us (after endurance test on MKR1010 Wifi)
- add optional flag DHTLIB_VALUE_OUT_OF_RANGE
- fixes to improve Arduino-lint
- fix #60 negative temperatures below -25.5°C + readme.md
- fix #57 negative temperatures DHT22
- Do not use 0.4.5 and 0.4.4 as these are incorrect for negative temperature.
- fix -0°C encoding of DHT22 ( bit pattern 0x8000 )
- fix negative temperatures DHT22 (again)
- add reset(), add lastRead()
- fix negative temperatures
- getType() attempts to detect sensor type
- add Arduino -CI + readme
- added DHTLIB_WAITING_FOR_READ as return value of read (minor break of interface)
- Added waitFor(state, timeout) to follow timing from datasheet.
- Restored disableIRQ flag as problems occurred on AVR. The default of this flag on AVR is false so interrupts are allowed.
- This need some investigation
- Fix wake up timing for DHT11 as it does not behave according datasheet.
- fix wakeupDelay bug in setType();
- fix #29, create explicit delay between pulling line HIGH and waiting for LOW in handshake to trigger the sensor.
- On fast ESP32 this fails because the capacity / voltage of the long wire
- cannot rise fast enough to be read back as HIGH.
- fix #23 added get/setSuppressError(); overridable DHTLIB_INVALID_VALUE
- added powerUp() powerDown();
- added getReadDelay & setReadDelay to tune reading interval
- removed get/setDisableIRQ; adjusted wakeup timing; refactor
- added ERROR_SENSOR_NOT_READY and differentiate timeout errors
- Fix #11 - Adjust bit timing threshold
- made temperature and humidity private (Kudo's to Mr-HaleYa),
- prevent premature read; add waitForReading flag (Kudo's to Mr-HaleYa),
- #pragma once, readme.md, own repo
- fix negative temperature DHT22 - issue #120
- add get-/setDisableIRQ(bool b)
- removed begin() + moved detection to read() function
- improved begin() + refactor()
- add begin() to determine type once and for all instead of every call + refactor
- initial version based upon DHTStable