kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
3k stars 500 forks source link

ads1115 NTC input #1262

Open thromj opened 1 year ago

thromj commented 1 year ago

Hey Kyle, Hey other users, I tried to add NTC 10K Thermistors to my setup. To my knowledge there is no already implemented code to calculate the temperature from the ads1115 voltage measurment (voltage divider is added. The calculation of the Temperature ist relativly easy in Python but combining Python code and Mycodo is slightly over my skills.

The ideal solution would be a ads1115 input like the PH/EC version. maybe those configurable known factors(specified by the manufacturer selectable ads1115 channel R_ntc: resitance at X°C T_ntc: temperature of R_ntc resistance NTC coefficency B V_ntc: Voltage of the voltagedivider R_Ref: Reference resistance

I may have missed something.

I'm looking forward to learning how you might solve this problem. Greets Jonathan

Edit: Sorry just noticed that this post should be a pull request I guess.