安信可 DHT11示例


Ai-WB2 Series SoC Module Reads DHT11 Sensor via GPIO Example

Hardware Setup and Wiring

Ai-WB2 Series SoC Module Pinout

DHT11 Pinout

IO4

DATA

3V3

VCC

GND

GND

Build and Flash

make -j

make flash

Run

../../../../_images/demo1.jpg

Logic Analyzer Output

../../../../_images/logic_analyzer1.jpg

Troubleshooting

For any technical queries, please open an [issue](https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2/issues) on GitHub. We will get back to you soon.