Commit Graph

58 Commits

Author SHA1 Message Date
Rob Tillaart
568d35f292 bulk update GitHub actions 2024-04-13 10:35:57 +02:00
Rob Tillaart
d3791d6a17 0.1.36 DHTlib 2023-10-25 17:25:03 +02:00
rob tillaart
d7dfee7eca 0.1.35 DHTlib + github actions 2023-02-18 20:46:51 +01:00
rob tillaart
4d66441771 add funding.yml 2022-08-03 21:56:07 +02:00
rob tillaart
42c06fdaf5 0.1.35 DHTlib 2021-12-16 16:44:08 +01:00
rob tillaart
8a64b66732 0.1.34 DHTlib 2021-11-13 19:57:17 +01:00
rob tillaart
f27f754fbb add license to library,json 2021-05-28 14:16:25 +02:00
rob tillaart
4e9ea7640d add arduino-lint 2021-05-28 13:17:38 +02:00
rob tillaart
534c960a32 update libs 2021-04-07 13:31:22 +02:00
rob tillaart
cc7e03d524 update libs 2021-03-01 10:11:54 +01:00
rob tillaart
e5bc4a1d9a update libs 2021-02-03 17:20:20 +01:00
rob tillaart
7661eee8b4 2021-01-29 2021-01-29 12:31:58 +01:00
rob tillaart
a19ec7f025 update libraries A-D 2020-11-27 11:10:47 +01:00
Alessandro Del Pex
73b2fb5533
link fix 2020-04-05 19:52:38 +02:00
RobTillaart
dee30a3f5b Fix issue #111 - DHT12 negative temperature 2018-09-02 16:26:19 +02:00
per1234
660b25b22e
[DHTlib] Correct library.properties architectures value
The previous architectures value of atmelavr causes the example sketches to appear under File > Examples > INCOMPATIBLE > DHTlib and also a warning to be displayed during compilation of any sketch that includes the library:

WARNING: library DHTlib claims to run on (atmelavr) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
2018-06-06 14:33:29 -07:00
RobTillaart
a145dc10af refactored 2018-04-03 19:08:27 +02:00
RobTillaart
2b8f54b4cb 0.1.27 added get + setDisableIRQ 2018-03-26 22:30:03 +02:00
per1234
3309b8d42b
[DHTlib] Correct library.properties architectures value
The previous `architectures` value of `atmelavr` causes the example sketches to appear under **File > Examples > INCOMPATIBLE > DHTlib** and also a warning to be displayed during compilation of any sketch that includes the library:

WARNING: library DHTlib claims to run on (atmelavr) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
2018-02-08 15:12:29 -08:00
RobTillaart
02c271bdaa fix library.json keywords format 2018-01-09 00:11:37 +01:00
RobTillaart
5d7b26abeb fix #87 - version field for library.json files 2018-01-07 19:13:07 +01:00
RobTillaart
d782be9946 0.1.26 updated DHTlib to support the DHT12 and AM23XX series 2017-12-12 20:58:58 +01:00
per1234
f7b7217dfe [DHTlib] Use correct architectures value in library.properties
The previous value causes the example sketches to appear under File > Examples > INCOMPATIBLE > DHTlib and also a warning to be displayed during compilation of any sketch that includes the library:

WARNING: library DHTlib claims to run on (atmelavr) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
2017-10-03 07:56:19 -07:00
RobTillaart
ec741c97f0 Fix checksum for DHT11 upon request. 2017-09-20 14:47:53 +02:00
RobTillaart
7177809c01 fix URL path in library.properties 2017-08-20 17:16:48 +02:00
RobTillaart
29604e5ae5 Update readme.md file (no code change) 2017-07-27 15:43:45 +02:00
RobTillaart
994981700d fix issue #31 + fix issue #33 2017-07-27 01:18:02 +02:00
per1234
afde043062 [DHTliib] Use correct architecture value in library.properties
Incorrect architecture value causes the warning:

WARNING: library DHTlib claims to run on [atmelavr] architecture(s) and may be incompatible with your current board which runs on [avr] architecture(s).
2017-07-13 11:27:01 -07:00
Mervill
dd5ee93e2d updates status output in dht22_test 2017-05-08 20:09:22 -07:00
RobTillaart
02cc2c5420 fix issue with delayMicroseconds > 16000 2017-03-06 21:10:50 +01:00
Ivan Kravets
f62b07b8d2 Specify compatible development platform 2017-01-02 23:47:57 +02:00
RobTillaart
8a94bc3acc initial versions of library.properties 2016-12-18 11:02:20 +01:00
RobTillaart
018a4872a6 update library.json files 2016-12-18 10:48:17 +01:00
RobTillaart
45d8bff06a added library.json files 2016-12-17 20:53:18 +01:00
Harry93x
fad0391f62 Add timing analysis, format output, limit execution cycles
To increase the usefulness of the example, I added the measurement of
the complete cycle, which is the important figure. The reading time
itself, though interesting, is not the limiting factor according to the
datasheet.
Additionally, I updated the printing instructions to create a nicely
formatted output and limited the number cycles necessary to reach "del
== 0".
2015-11-14 21:50:01 +01:00
rob tillaart
e475755fe0 fix delayMicroseconds 2015-10-12 20:48:53 +02:00
rob tillaart
a48ea1ea29 + version 0.1.21
+ replaced delay by delayMicroseconds()
+ removed dependency on F_CPU
+ added constructor
+ refactor
2015-10-12 20:43:24 +02:00
Peter Hahn
174a065598 Replace delay with delayMicroseconds to let it work while interruppts are disabeled.
In multihreaded environment (I used NilRTOS) its usefull to disable interruppts while reading the sensors. However delay() requires interrupts to be enabled. If you read more than one sensor in a sequence the 2nd one gets spurious DHTLIB_ERROR_CONNECT errors. Timing issues with the wakeup delay().
They don't used to happen it interrupts are enabled. Replacing delay() with delayMicroseconds() solved this issue.
2015-10-11 22:56:25 +02:00
rob tillaart
33843c68ba + version 0.1.20
+ changed return type to int8_t reducing footprint with 34 bytes
+ minor comment change
2015-03-01 11:53:47 +01:00
rob tillaart
9bca4c27da + fix switch case (copy paste error) 2015-02-03 10:14:17 +01:00
rob tillaart
54ee843935 + version 0.1.19
+ fixed wrong mask DHT11
2015-01-21 21:46:04 +01:00
rob tillaart
baa1e15833 + 0.1.18 fixed support for DHT11 again 2014-11-25 19:40:25 +01:00
rob tillaart
16a464af0d + updated readme.txt (dhtlib) 2014-11-16 14:25:44 +01:00
rob tillaart
9d290fe4fc + added support for all errors 2014-10-23 16:15:26 +02:00
rob tillaart
e722f7d26c + version 0.1.17
+ replaced micros() with adaptive loopcount
+ removed DHTLIB_INVALID_VALUE (user should decide if value is usable)
+ more detailed errors per phase of handshake
+ added DHTLIB_ERROR_CONNECT
+ added DHTLIB_ERROR_ACK_L  DHTLIB_ERROR_ACK_H
+ added fix for pre 1.0 (not tested)
2014-10-15 08:00:59 +02:00
rob tillaart
41cc579488 + masking unused bits (less errors);
+ refactored bits[] usage
2014-10-15 07:48:27 +02:00
rob tillaart
fa681d5322 + reduced # micros calls 2->1 in inner loop. => footprint -18
detection of the zero/one is doen by measuring the whole bit LOW+HIGH
+ improved wait for acknowledge
+ merged two loopCounters into one.
+ layout
+ dht22_test sketch collects statistics (every 20 reads)
2014-10-08 16:37:30 +02:00
rob tillaart
e4ad65003b + replace digital read with faster (~3x) code
=> smaller footprint
  => more robust for low MHz devices
2014-10-05 10:52:52 +02:00
rob tillaart
e2d0b3b613 + version 0.1.13 (version 0.1.12 not usable -> skipped)
+ added support for DHT33 + DHT44
+ added test sketches for DHT33 + DHT44
+ improved protocol handling
+ refactored code style,
+ refactored footprint (part interface inline)
+ renamed private _read => _readSensor
+ added dht_tuning sketch to see timing
2014-06-26 20:48:20 +02:00
rob tillaart
ba5e9bd8f9 refactored TIMEOUT 2014-06-01 13:58:36 +02:00