Difference between revisions of "Protocol decoder:Am230x"

From sigrok
Jump to navigation Jump to search
(add AM2305 and AM2306 to resources (they use the same protocol))
Line 16: Line 16:


== Hardware ==
== Hardware ==
See the [http://sigrok.org/gitweb/?p=sigrok-dumps.git;a=tree;f=am230x am230x] directory for example capture files.
=== Models ===
{| border="0" style="font-size: smaller" class="alternategrey sortable sigroktable"
|-
!Model
!Microcontroller
!Temperature
!Humidity
|-
| Aosong AM2301
| Unknown SOIC-10
| ?
| ?
|-
| Aosong AM2302
| [http://www.st.com/web/catalog/mmc/FM141/SC1244/SS1010/LN754/PF215113 ST STM8S103F3] (8S103F3P6), SOIC-20
| analog
| analog
|-
| Aosong AM2303
| [http://www.st.com/web/catalog/mmc/FM141/SC1244/SS1010/LN754/PF215113 ST STM8S103F3] (8S103F3P6), SOIC-20
| [http://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/DS18B20.html Dallas DS18B20]
| analog
|-
| Aosong DHT11
| Unknown SOIC-14
| analog
| analog
|}
=== Aosong AM2301 ===


<gallery>
<gallery>
Line 23: Line 59:
File:Am2301 pcb top.jpg|<small>AM2301 PCB, top</small>
File:Am2301 pcb top.jpg|<small>AM2301 PCB, top</small>
File:Am2301 pcb bottom.jpg|<small>AM2301 PCB, bottom</small>
File:Am2301 pcb bottom.jpg|<small>AM2301 PCB, bottom</small>
</gallery>
=== Aosong DHT11 ===
<gallery>
File:Aosong dht11 top.jpg|<small>DHT11, top</small>
File:Aosong dht11 top.jpg|<small>DHT11, top</small>
File:Aosong dht11 bottom.jpg|<small>DHT11, bottom</small>
File:Aosong dht11 bottom.jpg|<small>DHT11, bottom</small>
Line 29: Line 70:
File:Dht11 pcb bottom.jpg|<small>DHT11 PCB, bottom</small>
File:Dht11 pcb bottom.jpg|<small>DHT11 PCB, bottom</small>
</gallery>
</gallery>
See the [http://sigrok.org/gitweb/?p=sigrok-dumps.git;a=tree;f=am230x am230x] directory for example capture files.


== Protocol ==
== Protocol ==

Revision as of 20:59, 9 December 2014

am230x
Aosong dht11 top.jpg
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