-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thermistor 100 kOhm and temperature range 150-250 degrees #24
Comments
Hi, I made modifications, added functions and improvements such as button debounce, I also explain how to modify the NTC reading table, code available at: |
Hey, did you end up getting 150-250 on the W1209? |
Hi, I haven't tested these special NTCs yet, the common NTCs usually have a reference table up to 125°C. I didn't find any datasheet of these special NTC to see their table. But we can infer some data from the NTC formula, which must be the same as a common NTC. I only found ads for some NTC with this temperature range:
Using an NTC calculator in conjunction with a resistive divider calculator, we can obtain the voltage value that the analog input of the microcontroller should read. The problem is that at high temperatures, NTC offers a smaller resistance differential for each degree of temperature increase. For example using a 20k resistor for R1:
As the STM8 ADC is 10 bits, we have a reading of 0.004882813V for each bit. 245°C: 0.155V / 0.004882813V = 31.743996749 --> ADC = 31 Therefore, using the ADC of the STM8 (W1209), it may work with some oscillation for temperature readings as high as 250°C, and there is no longer enough resolution to get the reading of every degree. Perhaps it would be more interesting to use a microcontroller with a 12-bit ADC (STM32). |
How can I configure these parameters in the firmware?
Thanks.
The text was updated successfully, but these errors were encountered: