The circuit diagram shown below is for one NTC Temperature Sensor.
^ 3.3 V
|
|
+++
| | R_1/2: 22 kOhm
+++
|
ESP32 | +---------------+
Pin -----+----| Sensor |
34/35 +--| Connector 1/2 |
| +---------------+
|
---
GND
- ESP32
- NTC
Using the Model of a NTC resistor and the Voltage divider.
$$
R_{\mathrm{NTC}} = R_\mathrm{N} \exp({B (\frac{1}{T}-\frac{1}{T_\mathrm{N}})} )
$$
$$
R_\mathrm{N} \in \mathbb{R}^+ \ Resistance \ at \ temperatur \ T_\mathrm{N} \ in \ Ohm \
T_\mathrm{N} \in \mathbb{R} \ in \ Kelvin
$$
The temperature itself can be calculate after changing the equation on the top