🌡️ STM32 Internal Temperature Sensor (Full Guide and Library)

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • 📝 Full Article with CubeIDE Project: refcircuit.com/articles/21-ge...
    ➡️ Project with Library: github.com/Egoruch/Internal-T...
    ➡️ Learn code: github.com/Egoruch/Temperatur...
    ⌚ Timestamps:
    00:00 - Starting
    00:06 - Create Project CubeIDE
    00:33 - Configure MCU
    05:03 - Code: start ADC
    05:57 - Debug: get ADC value
    07:29 - Code: NVIC ADC
    08:59 - Debug: ADC with interrupt
    10:05 - MCU Datasheet
    10:29 - Code: define Vref constants
    11:20 - Debug: get MCU VCC
    11:41 - MCU Reference Manual
    11:20 - Code: define sensor constants
    13:20 - Debug: sensor's voltage
    14:23 - Debug: sensor's temperature
    15:04 - Internal Temperature Library
    16:05 - Config STM32CubeMonitor
    18:20 - Display temperature in CubeMonitor
    18:49 - Hot air gun MCU stress test
    20:00 - Sources for download
    ✒️
  • Věda a technologie

Komentáře • 9

  • @7alfatech860
    @7alfatech860 Před rokem +1

    Very nicely presented and full of good explanations. Thank you 👍

  • @raguaviva
    @raguaviva Před rokem

    Keep it up man! you rock!

  • @julkdmg5555
    @julkdmg5555 Před 2 měsíci +1

    bug in minute 4:28, where did you get the 840 from?

  • @wegi9621
    @wegi9621 Před 5 měsíci

    Very nice!

  • @CandyHam
    @CandyHam Před 4 měsíci

    Wow this was incredibly dense. So much work to get a temperature readout "the right way".... and we still didn't even use the factory calibration registers 😜😜

  • @imlassuom
    @imlassuom Před 9 měsíci +1

    This is not a full guide especially for a beginner ..choose that and enable this !!

  • @MsSuperasdfghjkl
    @MsSuperasdfghjkl Před 11 měsíci +1

    Before starting Adc conversions, it should have been calibrated. It's better to call calibration function before the first conversion.

    • @wegi9621
      @wegi9621 Před 5 měsíci

      F4? It doesn't have calibrate as could remember.

  • @MrDenhard
    @MrDenhard Před 5 měsíci

    Привет, а где почитать какие настройки нужно выбирать? Например для таймера?