Demo for reading DS1820 temperature sensor with STM32F103C8T6 board.
Reading DS1820 temperature sensor with STM32F103C8T6 board
Import the program into your online compiler.
Schematic
Wiring
STM32F103C8T6 | DS1820 | |||
---|---|---|---|---|
GND | <=> | GND | ||
PA_9 | <=> | DQ | ||
3.3V | <=> | VDD |