USB thermometer (STM32F103C8T6 and DS18B20)

Share your advanced PureBasic knowledge/code with the community.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

USB thermometer (STM32F103C8T6 and DS18B20)

Post by User_Russian »

This USB thermometer measures temperatures in the -55 to 125 °C range with a resolution of 0.1 °C.
It is made of a board known as a blue pill, with a 32-bit microcontroller STM32F103C8T6 (manufactured by STMicroelectronics) with a processor core, ARM Cortex-M3. This board can be bought at eBay, AliExpress and other stores.
Scheme compounds temperature sensor DS18B20 to STM32 board.

Image

Supports up to 28 sensors that need to be connected in parallel.
Screenshot program.

Image

In microcontroller chip there is a temperature sensor and this temperature is displayed in the top of table.
The source code for PC and STM32. http://pure-basic.narod.ru/forum_files/ ... ter_eng.7z