Difference between revisions of "Protocol decoder:Am230x"

From sigrok
Jump to navigation Jump to search
(→‎Hardware: AM2302, AM2303)
Line 54: Line 54:


<gallery>
<gallery>
File:Aosong am2301 top.jpg|<small>AM2301, top</small>
File:Aosong am2301 top.jpg|<small>Device, top</small>
File:Aosong am2301 bottom.jpg|<small>AM2301, bottom</small>
File:Aosong am2301 bottom.jpg|<small>Device, bottom</small>
File:Am2301 pcb open.jpg|<small>AM2301 PCB, open</small>
File:Am2301 pcb open.jpg|<small>Device PCB, open</small>
File:Am2301 pcb top.jpg|<small>AM2301 PCB, top</small>
File:Am2301 pcb top.jpg|<small>Device PCB, top</small>
File:Am2301 pcb bottom.jpg|<small>AM2301 PCB, bottom</small>
File:Am2301 pcb bottom.jpg|<small>Device PCB, bottom</small>
</gallery>
</gallery>


Line 64: Line 64:


<gallery>
<gallery>
File:Aosong am2302 top.jpg
File:Aosong am2302 top.jpg|<small>Device, top</small>
File:Aosong am2302 bottom.jpg
File:Aosong am2302 bottom.jpg|<small>Device, bottom</small>
File:Aosong am2302 pcb top.jpg
File:Aosong am2302 pcb top.jpg|<small>PCB, top</small>
File:Aosong am2302 pcb bottom.jpg
File:Aosong am2302 pcb bottom.jpg|<small>PCB, bottom</small>
File:Aosong am2302 microcontroller.jpg
File:Aosong am2302 microcontroller.jpg|<small>STM8S103F3 </small>
File:Aosong am2302 sensor back.jpg
File:Aosong am2302 sensor back.jpg|<small>Sensor</small>
File:Aosong am2302 debris.jpg
File:Aosong am2302 debris.jpg|<small>Debris</small>
</gallery>
</gallery>


Line 76: Line 76:


<gallery>
<gallery>
File:Aosong am2303 top.jpg
File:Aosong am2303 top.jpg|<small>Device, top</small>
File:Aosong am2303 bottom.jpg
File:Aosong am2303 bottom.jpg|<small>Device, bottom</small>
File:Aosong am2303 pcb top.jpg
File:Aosong am2303 pcb top.jpg|<small>PCB, top</small>
File:Aosong am2303 pcb bottom.jpg
File:Aosong am2303 pcb bottom.jpg|<small>PCB, bottom</small>
File:Aosong am2303 sensor.jpg
File:Aosong am2303 sensor.jpg|<small>DS18B20</small>
File:Aosong am2303 debris.jpg
File:Aosong am2303 debris.jpg|<small>Debris</small>
</gallery>
</gallery>


Line 87: Line 87:


<gallery>
<gallery>
File:Aosong dht11 top.jpg|<small>DHT11, top</small>
File:Aosong dht11 top.jpg|<small>Device, top</small>
File:Aosong dht11 bottom.jpg|<small>DHT11, bottom</small>
File:Aosong dht11 bottom.jpg|<small>Device, bottom</small>
File:Dht11 pcb open.jpg|<small>DHT11 PCB, open</small>
File:Dht11 pcb open.jpg|<small>Device PCB, open</small>
File:Dht11 pcb top.jpg|<small>DHT11 PCB, top</small>
File:Dht11 pcb top.jpg|<small>Device PCB, top</small>
File:Dht11 pcb bottom.jpg|<small>DHT11 PCB, bottom</small>
File:Dht11 pcb bottom.jpg|<small>Device PCB, bottom</small>
</gallery>
</gallery>



Revision as of 20:07, 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 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