Wiring:
Instructions
git clone https://github.com/RIOT-OS/RIOT.git
cd RIOT/examples
git clone https://github.com/knoppixmeister/RIOT-os-STM32F103C8-DS18-temp-app.git ds18-temp-app
cd ds18-temp-app
make -j4 BOARD=bluepill-stm32f103c8
make BOARD=bluepill-stm32f103c8 flash
Enjoy!
Based on code from: https://github.com/RIOT-OS/RIOT/blob/master/tests/drivers/ds18/main.c
Images:
Usefull links:
https://www.youtube.com/watch?v=TCArLiTjwNE
https://how2electronics.com/interfacing-ds18b20-temperature-sensor-with-stm32/