en:pfw:dht22
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:pfw:dht22 [2025-04-26 10:07] – [Numerical representation of the measured values] mka | en:pfw:dht22 [2025-04-26 16:16] (current) – [Numerical representation of the measured values] mka | ||
---|---|---|---|
Line 91: | Line 91: | ||
=== Temperature === | === Temperature === | ||
- | Die nächsten | + | The next 16 bits are the temperature |
- | + | ||
- | Temperaturen ab null Grad und höher können mit dem 16-Bit noForth | + | |
- | + | ||
- | Das Vorzeichen wird vorangestellt. Die ganzen Grad werden links vom Dezcimalpunkt, | + | |
+ | Temperatures below zero degrees are represented by the DHT22 as follows: The MSB of the 16-bits is set, but otherwise the temperature is specified as a positive integer. This number format //does not correspond// | ||
< | < | ||
: .tmp ( tmp -- ) | : .tmp ( tmp -- ) | ||
Line 109: | Line 106: | ||
; | ; | ||
</ | </ | ||
+ | |||
+ | * This is already included in the following source code.\\ | ||
+ | * And here you can see how this was discovered: [[en: | ||
Line 115: | Line 115: | ||
[[en: | [[en: | ||
- | This program was used to test DHT22 modules before installation. The DHT22 modules were tested for functionality at room temperature, | + | This program was used to test DHT22 modules before installation. The DHT22 modules were tested for functionality at room temperature, |
==== More information on the MSP430G2553 ==== | ==== More information on the MSP430G2553 ==== | ||
Line 136: | Line 136: | ||
To work with the embedded noForth system I use //e4thcom// by Manfred Mahlow. | To work with the embedded noForth system I use //e4thcom// by Manfred Mahlow. | ||
https:// | https:// | ||
+ | |||
+ | Sometimes I also use Windows and Teraterm, for example, to log longer MCU outputs to a file. I also prefer it for testing parts of the source code using copy and paste. | ||
=== Logic Analyser === | === Logic Analyser === |
en/pfw/dht22.1745654873.txt.gz · Last modified: 2025-04-26 10:07 by mka