Computer science is a discipline that spans theory and practice. It requires thinking both in abstract terms and in concrete terms. Computer Science is practiced by mathematicians, scientists and engineers. Mathematics, the origins of Computer Science, provides reason and logic.
Diode Resistance Formula. The resistance of diodes is equal to the below formula: Diode resistance is equal to the thermal voltage, VT, divided by the current, Id, passing through the diode. The thermal voltage of the diode is approximately 25mV at 300K, which is a temperature that is very close to room temperature. The precise formula to calculate thermal voltage is: VT= kT/q.
Analog to Digital Converter (ADC) reading = (Voltage at Pin / 5V) * 1023. Therefore, a zero voltage reading at an analog input pin is converted to the number 0, and a 5V reading at an analog input pin is converted to the number 1023. We use this number in the program to calculate the temperature. Connect the thermistor and resistor to your Arduino like this: The value of the resistor should be equal to the magnitude of resistance of your thermistor. In this case, the resistance of the thermistor is 100K Ohms, so the resistance of the resistor is also 100K Ohms.