Changes for page Sensor Module
Last modified by Heimir Thordarson on 2026/07/05 12:56
From version 35.5
edited by Heimir Thordarson
on 2026/01/22 14:15
on 2026/01/22 14:15
Change comment:
There is no comment for this version
To version 36.1
edited by Heimir Thordarson
on 2026/01/26 17:03
on 2026/01/26 17:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -66,7 +66,7 @@ 66 66 [[image:circuit with marks.png||height="218" width="520"]] 67 67 68 68 (% class="wikigeneratedid" %) 69 -As shown in the figure above, the thermistor is put into a voltage divider circuit with a 4k7 ohm resistor to convert the resistance changes of the thermistor to a measurable voltage. To find the temperature of the thermistor based on the voltage measure by the analog-to-digital converter ( adc), the resistance of the thermistor needs to be calculated based on the voltage from a voltage divider.69 +As shown in the figure above, the thermistor is put into a voltage divider circuit with a 4k7 ohm resistor to convert the resistance changes of the thermistor to a measurable voltage. To find the temperature of the thermistor based on the voltage measure by the analog-to-digital converter (ADC), the resistance of the thermistor needs to be calculated based on the voltage from a voltage divider. 70 70 71 71 (% style="font-size: 1.5em;" %) 72 72 ((( ... ... @@ -79,8 +79,20 @@ 79 79 80 80 Where: 81 81 82 -* {{mathjax}}\(R_f\){{/mathjax}} = the upper resistor in the voltage divider which stays fixed, which in this case is 4.7k {{mathjax}}\(\Omega\){{/mathjax}} 83 -* {{mathjax}}\(V_{out}\){{/mathjax}} = 82 +* {{mathjax}}\(R_f\){{/mathjax}} = The upper resistor in the voltage divider which stays fixed, which in this case is 4.7k {{mathjax}}\(\Omega\){{/mathjax}} 83 +* {{mathjax}}\(V_{out}\){{/mathjax}} = The voltage over the thermistor, and the voltage that the microcontroller will measure. 84 +* {{mathjax}}\(V_{in}\){{/mathjax}} = The supply voltage of the voltage divider, which in this case is a constant 3.3 {{mathjax}}\(V\){{/mathjax}} 85 +* {{mathjax}}\(R_T\){{/mathjax}} = Resistance of the thermistor 84 84 87 +Knowing this 88 + 89 +(% style="font-size: 1.5em;" %) 90 +((( 91 +{{mathjax}} 92 +$$ 93 +T = \frac{1}{\frac{1}{T_0} + \frac{1}{\beta} \ln\left(\frac{R_T}{R_0}\right)} 94 +$$ 95 +{{/mathjax}} 96 +))) 85 85 (% class="wikigeneratedid" %) 86 86