giannivh / smooththermistor Goto Github PK
View Code? Open in Web Editor NEWFlexible thermistor reading library
License: MIT License
Flexible thermistor reading library
License: MIT License
DEFAULT and EXTERNAL are e.g. not declared for rp2040 (Raspberry Pi Pico)
Therefore this will lead into a warning or error when trying to compile.
Suggested solution: check if defined before using. (ESP32 is currently excplicitly checked)
Nice easy Thermistor using the B value, I would like to suggest wrapping analogReference() with
<#ifndef ESP32>
so it is compatible.
Hello,
Thanks for your library, that very helped me and cleaned my code.
But I have a problem with this line in my code (because i have to change the default value) :
SmoothThermistor smoothThermistor(NTCPIN,ADC_SIZE_10_BIT,10000,10000,4080,25,10);
The Arduino IDE return :
'ADC_SIZE_10_BIT' was not declared in this scope
Sorry for my poor english but if you have an idea for a solution, can you help me?
Anthony.
Hi guys, great lib! It would be also great to have a possibility to read Kelvin values with .temperature() function, without the need to subtract 273.15 under the hood and add it back in the users' code. Not much gained in terms of efficiency, but still kinda useful if the user really needs every last bit of performance
Hi,
First of all, thanks for the library.
I had a quick look at the code and noticed that you are using a B parameter equation, not a Steinhart–Hart equation as advertized. See https://en.wikipedia.org/wiki/Thermistor#B_or_.CE.B2_parameter_equation
Just thought I would let you know.
Dear Sir or Madam,
I would like to use your library but I am confused about how to overwrite
the default value
The goal is to use the following sensor SF-110 (see page 10). There is an internal resistance of 24.9K. The termistor value can variate depending of the temperature.
I have some difficulties to understand how to overwrite the default value
What is nominal restistance?
What is the serie resistance?
What is the beta coeeficient?
And what's the temprature of the nominal reistance?
The SF-100 support told me, I can connect the Analog wire to my Arduino Zero board as there is a 24.9K included into the sensor.
Is the 24.9K can be considered as the serie restistance?
Depending of the variation of the atmosphere, the Thermistance can variate and the analog output will return a value.
I can know the RT as the following with ADC_SIZE_12_BIT
Vanalog = 3.3/4096 * analogWHITE
Rt = ((3.3/Vanalog)-1) * 24900
I suppose the nominal resistance is Rt? I am confused with that, because this should be recall before each measurements
Then I am confused if that library can be used with SF-100 sensor, and how?
May I ask your recommendation and any other suggestion to get my goal?
Many thanks and have a nice week-end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.