# ds18b20 **Repository Path**: cwjwudi/ds18b20 ## Basic Information - **Project Name**: ds18b20 - **Description**: 很有趣的DS18B20 STM32 HAL库实现 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-05-30 - **Last Updated**: 2022-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ds18b20 library * http://www.github.com/NimaLTD * https://www.instagram.com/github.nimaltd/ * https://www.youtube.com/channel/UCUhY7qY1klJm1d2kulr9ckw
I convert TM Library to Hal . www.stm32f4-discovery.net
I hope use it and enjoy.
I use Stm32f103vc and Keil Compiler and Stm32CubeMX wizard.
Please Do This ...

1) Enable FreeRTOS
2) Config a Gpio and a timer on CubeMX . 1us per tick example 72 MHz cpu >>> Prescaler=(72-1) counter period=0xFFFF
3) Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
4) Config your ds18b20Config.h file.
5) call Ds18b20_Init(osPriorityNormal) on your app.
6) You can see result on debug . watch : ds18b20.