In this video I hook up a pair of sensors: TMP36 and MAX31865 to the ESP32. No affiliation with any of the vendors below.
The TMP36
[ Ссылка ]
[ Ссылка ]
The MAX31865 and PT100
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
The code and schematic
[ Ссылка ]
[ Ссылка ]
0:00 Intro
0:49 The TMP36
2:27 The MAX31865
4:57 The PT100 temperature probe
5:56 Schematic for both connected to ESP32
7:16 Walkthrough of components on breadboard
8:01 Running the code
8:47 Dunking the probe in hot water
9:19 Looking at the SPI interactions on the oscilloscope
10:10 Looking at a temp read SPI call on the oscilloscope
11:40 Some problems encountered with SPI
14:00 Code walkthrough for ESP-IDF SPI (apologies for low volume)
15:23 The temperature calcs for TMP36 and MAX31865
18:20 A question on reusing Arduino libraries in ESP-IDF
19:45 Wrapup
![](https://i.ytimg.com/vi/XcWFJHk5ktI/maxresdefault.jpg)