STMicroelectronics MiniSTM32 User Manual – DS18B20 Temperature Sensor

This section introduces the basic knowledge of STM32 ADC, including the features of STM32 ADC, the conversion modes of STM32 ADC and the channel groups of STM32 ADC


STMicroelectronics MiniSTM32 User Manual – DS18B20 Temperature Sensor - cover page
Brand
STM32温度传感器
Category
Other Electronics
Document type
User Manual
Language
Chinese
Pages
9
File format
PDF
File size
351 KB
Published
06 February, 2012
Updated
30 September, 2023
MD5 checksum
4778172C04423C847F4F101ABF09785B

About this manual

The guide introduces the DS18B20 digital temperature sensor, its one‑wire interface, operating voltage, temperature range (‑55 °C to +125 °C) and accuracy. It shows how to wire the sensor to the STM32F103RBT6 MCU using the PA0 pin.

The software section provides source code for initializing the sensor, checking its presence, reading bits, bytes and temperature values, and displays the temperature on an LCD. Instructions for compiling, flashing the code, and testing the display are also included. This manual is written in Chinese.

What's inside

  • DS18B20 简介
  • 硬件设计
  • 软件设计
  • DS18B20 信号时序
  • 下载与测试

Specifications

Temperature range-55 °C to +125 °C
Operating voltage3 V – 5.5 V
Resolution9–12 bits
ROM serial number64‑bit unique ID
Temperature return range-550 to 1250 (×0.1 °C)

Frequently asked questions

What voltage does the DS18B20 operate at?

The DS18B20 works in the 3 V to 5.5 V voltage range.

What format does the temperature value use in the code?

DS18B20_Get_Temp returns a signed short where the value is ten times the temperature (‑550 to 1250).

Download PDF (351 KB)

More STM32温度传感器 Manuals


View all STM32温度传感器 manuals →