How can i convert the analog input(voltage) from thermistor(sensor) to temperature(celsius)?
조회 수: 39 (최근 30일)
이전 댓글 표시
what syntax will help me convert the voltage to temperature?
댓글 수: 0
답변 (1개)
Kavya Vuriti
2019년 11월 11일
Hi,
I think you can try using Simulink thermistor block to build a circuit to convert analog input voltage to temperature. Other approach could be calculating resistance of thermistor using analog input voltage and a potential divider circuit. If the nominal resistance at a reference temperature (Ro) and characteristic temperature constant (B) are known, temperature can be calculated using log function in MATLAB.
1/T = log(R/Ro) + 1/To , where To is the reference temperature.
For more information on Simulink thermistor block, refer : https://www.mathworks.com/help/physmod/sps/ref/thermistor.html
Hope this helps.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!