temp_sensor.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ESP32-S2 Temperature Sensor
  2. ===========================
  3. Overview
  4. --------
  5. .. only:: esp32
  6. .. note::
  7. ESP32 does not have a built-in temperature sensor.
  8. .. only:: esp32s2
  9. The ESP32-S2 has a built-in temperature sensor. The temperature sensor module contains an 8-bit Sigma-Delta ADC and a temperature offset DAC.
  10. The conversion relationship is the first columns of the table below. Among them, offset = 0 is the main measurement option, and other values are extended measurement options.
  11. +--------+------------------------+------------------------+
  12. | offset | measure range(Celsius) | measure error(Celsius) |
  13. +========+========================+========================+
  14. | -2 | 50 ~ 125 | < 3 |
  15. +--------+------------------------+------------------------+
  16. | -1 | 20 ~ 100 | < 2 |
  17. +--------+------------------------+------------------------+
  18. | 0 | -10 ~ 80 | < 1 |
  19. +--------+------------------------+------------------------+
  20. | 1 | -30 ~ 50 | < 2 |
  21. +--------+------------------------+------------------------+
  22. | 2 | -40 ~ 20 | < 3 |
  23. +--------+------------------------+------------------------+
  24. Application Example
  25. -------------------
  26. Temperature sensor reading example: :example:`peripherals/temp_sensor`.
  27. API Reference - Normal Temp Sensor
  28. ----------------------------------
  29. .. include-build-file:: inc/temp_sensor.inc