1. Start by connecting a 220 KΩ resistor (this will be the R1 value in the calculations in the code below) to the 3.3V pin on your microcontroller (this will be the V1 value).
2. Connect the other end of the 220 KΩ resistor to one end of your thermistor which will be R2.
3. Connect the other end of the thermistor to the GND pin on the microcontroller by having both pins connected to the (-) rail on your breadboard (this is V3 in the diagram above).
4. To measure the voltage at the connection between the 220 KΩ resistor and the thermistor (V2), use a jumper to connect where the two resistors meet to the A2 pin on your microcontroller. This pin will be used as the “ADC” pin, which stands for “Analog to Digital Converter”, and converts voltage to a digital number.