Protocol decoder:am230x
Revision as of 19:59, 9 December 2014 by Uwe Hermann (talk | contribs)
Name | AM230x/DHTxx |
---|---|
Description | Aosong AM230x/DHTxx humidity/temperature sensor protocol |
Status | supported |
License | GPLv2+ |
Source code | decoders/am230x |
Input | logic |
Output | am230x |
Probes | SDA |
The am230x protocol decoder decodes the Aosong AM2301/AM2302/AM2303/DHT11 temperature and humidity sensor single-wire protocol.
Hardware
See the am230x directory for example capture files.
Models
Model | Microcontroller | Temperature | Humidity |
---|---|---|---|
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 DHT11 | Unknown SOIC-14 | analog | analog |
Aosong AM2301
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 (vendor website)
- Adafruit: DHT sensor tutorial
- arduino.cc: DHTLib