| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:pfw:dht22 [2025-06-26 12:30] – [Implementation for TI's Launchpad] mka | en:pfw:dht22 [2025-06-27 12:05] (current) – [Implementation for RP2040 using a PIO block] mka |
|---|
| This program was used to test DHT22 modules before installation. The DHT22 modules were tested for functionality at room temperature, pre-sorted in this way, and then frozen in a bag of moist sand in the freezer and tested again. One module displayed incorrect temperature values in frost conditions, the display of negative values did not comply with the specifications. | This program was used to test DHT22 modules before installation. The DHT22 modules were tested for functionality at room temperature, pre-sorted in this way, and then frozen in a bag of moist sand in the freezer and tested again. One module displayed incorrect temperature values in frost conditions, the display of negative values did not comply with the specifications. |
| |
| [[en:pfw:dht22-msp430g2553-noforth|DHT22 with Launchpad MSP430G2553 and noForth]] | [[en:pfw:dht22-msp430g2553-noforth|DHT22 for Launchpad MSP430G2553 and noForth]] |
| |
| |
| | ====== Implementation for RP2040 ====== |
| |
| ===== Background Information ===== | [[en:pfw:dht22-rp2040-nofortht|DHT22 for the Raspberry Pi Pico Board RP2040 and noForth t]] using a PIO block |
| | |
| | PIO stands for //Programmable Input Output//. You can program the PIO blocks with the [[en:pfw:assemblers_pio-assembler|noforth t PIO Assembler]]. |
| | ====== Background Information ====== |
| |
| * How this was discovered: [[en:pfw:dht22tmpformat|The temperature format of the DHT22]] | * How this was discovered: [[en:pfw:dht22tmpformat|The temperature format of the DHT22]] |
| * [[https://www.ti.com/lit/ds/symlink/msp430g2553.pdf|MSP430G2553 datasheet SLAS735J.PDF]], port data on page 49ff | * [[https://www.ti.com/lit/ds/symlink/msp430g2553.pdf|MSP430G2553 datasheet SLAS735J.PDF]], port data on page 49ff |
| * [[https://home.hccnet.nl/anij/nof/noforth.html| noforth.html - find your version, docmentation, tool.f and asm.f here.]] All about noForth. | * [[https://home.hccnet.nl/anij/nof/noforth.html| noforth.html - find your version, docmentation, tool.f and asm.f here.]] All about noForth. |
| | * [[en:pfw:whatisapioblock|What is a PIO block?]] |
| |
| ===== Aids ===== | ====== Aids ====== |
| |
| | MK:\\ |
| I like //Notepad Next// for Linux, a cross-platform, reimplementation of //Notepad++//. | I like //Notepad Next// for Linux, a cross-platform, reimplementation of //Notepad++//. |
| https://github.com/dail8859/NotepadNext\\ | https://github.com/dail8859/NotepadNext\\ |
| https://wiki.forth-ev.de/doku.php/projects:e4thcom\\ | https://wiki.forth-ev.de/doku.php/projects:e4thcom\\ |
| 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.\\ | 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.\\ |
| AZDelivery Logic Analyzer 8 CH, 24MHz. (Amazon)\\ | In this project I used a Logic Analyzer by AZDelivery, 8 CH, 24MHz. (Amazon)\\ |
| //PulseView// is a Qt-based logic analyzer and oscilloscope GUI for sigrok. | //PulseView// is a Qt-based logic analyzer and oscilloscope GUI for sigrok. |
| |