Temperature Measurement
STM32-Experiments Free Updated Sep 20, 2026

Temperature Measurement

Thermometer sensor

We're reusing the exact same voltage-divider-plus-ADC trick from the LDR experiment, just swapping the light sensor for a temperature sensor. A thermistor's resistance changes predictably with temperature, and by feeding that into a bit of math called the Beta parameter equation, we can turn a raw voltage reading into an actual temperature in degrees Celsius.

2. Scope

We'll build a thermistor voltage divider identical in structure to Experiment 14's LDR circuit, read it via ADC, and this time actually convert the reading into a calibrated physical unit rather than just a simple threshold comparison. This is a nice step up in complexity, going from a simple yes/no answer to an actual calculated value with real-world meaning.

3. Prerequisite

3.1 Hardware

  • STM32 Nucleo-F070RB development board

  • NTC Thermistor (10kΩ at 25°C typical, Beta value around 3950, check your specific component's datasheet)

  • Fixed resistor (10kΩ, matching the thermistor's nominal value)

  • Breadboard and jumper wires

  • Micro-USB cable

  • PC with PuTTY

3.2 Software

  • STM32CubeMX (standalone)

  • STM32CubeIDE

  • ST-LINK USB driver

  • PuTTY, or an equivalent serial terminal app

Community Q&A

0 questions

Ask questions and get answers from our community and staff moderators.

No questions yet — be the first to start the conversation!

Ask a Question

Please log in to ask a question or post a reply.

Login to Participate