Difference between revisions of "Protocol decoder:Am230x"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
(rht03 and renaming info) |
||
Line 1: | Line 1: | ||
{{Infobox protocol decoder | {{Infobox protocol decoder | ||
| id = am230x | | id = am230x | ||
| name = AM230x/DHTxx | | name = AM230x/DHTxx/RHTxx | ||
| description = Aosong AM230x/DHTxx humidity/temperature sensor protocol | | description = Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor protocol | ||
| status = supported | | status = supported | ||
| license = GPLv2+ | | license = GPLv2+ | ||
Line 84: | Line 84: | ||
| analog | | analog | ||
| [http://akizukidenshi.com/download/ds/aosong/DHT11.pdf PDF] | | [http://akizukidenshi.com/download/ds/aosong/DHT11.pdf PDF] | ||
|- | |||
| RTH03 | |||
| ? | |||
| ? | |||
| ? | |||
| https://www.sparkfun.com/products/10167 | |||
|} | |} | ||
These parts are often renamed or rebadged. | |||
=== Aosong AM2301 === | === Aosong AM2301 === | ||
Line 141: | Line 149: | ||
* [https://learn.adafruit.com/dht/ Adafruit: DHT sensor tutorial] | * [https://learn.adafruit.com/dht/ Adafruit: DHT sensor tutorial] | ||
** [https://github.com/adafruit/DHT-sensor-library GitHub: Adafruit DHT-sensor-library] | ** [https://github.com/adafruit/DHT-sensor-library GitHub: Adafruit DHT-sensor-library] | ||
* [http://playground.arduino.cc/Main/DHTLib arduino.cc: DHTLib] | * [http://playground.arduino.cc/Main/DHTLib arduino.cc: DHTLib] Contains a mapping of common renames | ||
[[Category:Protocol decoder]] | [[Category:Protocol decoder]] |
Latest revision as of 21:36, 30 May 2015
Name | AM230x/DHTxx/RHTxx |
---|---|
Description | Aosong AM230x/DHTxx/RHTxx humidity/temperature sensor protocol |
Status | supported |
License | GPLv2+ |
Source code | decoders/am230x |
Input | logic |
Output | am230x |
Probes | SDA |
Optional probes | — |
Options | device |
The am230x protocol decoder decodes the Aosong AM230x/DHT11 temperature and humidity sensor single-wire protocol.
Hardware
See the am230x directory for example capture files.
Models
Model | Microcontroller | Temperature | Humidity | Datasheet |
---|---|---|---|---|
Aosong AM2301 | Unknown SOIC-10 | ? | ? | |
Aosong AM2302 | ST STM8S103F3 (8S103F3P6), SOIC-20 | analog | analog | |
Aosong AM2303 | ST STM8S103F3 (8S103F3P6), SOIC-20 | Dallas DS18B20 | analog | |
Aosong AM2305 | ? | ? | ? | |
Aosong AM2306 | ? | ? | ? | |
Aosong AM2320 | ? | ? | ? | ? |
Aosong AM2321 | ? | ? | ? | ? |
Aosong AM2322 | ? | ? | ? | ? |
Aosong DHT11 | Unknown SOIC-14 | analog | analog | |
RTH03 | ? | ? | ? | https://www.sparkfun.com/products/10167 |
These parts are often renamed or rebadged.
Aosong AM2301
Aosong AM2302
Aosong AM2303
Aosong DHT11
Protocol
A custom single-wire protocol (not to be confused with the Dallas 1-Wire protocol!) is used to get the measured values from the sensor.
The actual payload consists of a humidity value, a temperature value, and a checksum.
Resources
- Aosong website
- Adafruit: DHT sensor tutorial
- arduino.cc: DHTLib Contains a mapping of common renames