Hello everyone, I have a question about programming in arduino. I don't know how to use ln(x) in arduino , I need the next function will be working.Help me please
You need to look carefully at your equations and the limitations of the maths .
You have some very long numbers there, which are maybe quite meaningless in terms of their effect on any output .
Do some sensitivity checks - reduce the number of places in the numbers , remove some parts of the equation and see the effect in the output over a range of temperatures .
There maybe a better way to get your readings - simple curve fit over a limited range , look up table etc .
Look at the tolerances of the sensor too - that might not be as good as the maths