安信可 ds18b20示例


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

Hardware Setup and Wiring

Ai-WB2 Series SoC Module Pinout

DS18B20 Pinout

IO4

DATA

3V3

VCC

GND

GND

Build and Flash

make -j

make flash

Run

../../../../_images/demo2.jpg

Logic Analyzer Output

../../../../_images/logic_analyzer2.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.