Hi Folks!
Is there an object which turns the logarithm Values from my analog Potentiometer to Linear?
Regards, Mario
Hi Folks!
Is there an object which turns the logarithm Values from my analog Potentiometer to Linear?
Regards, Mario
the math/log object theoretically should convert the value - don’t expect linearity or accuracy though.
A “log” pot is usually just an approximation using two separate areas of linear taper. And if you read a log pot using an ADC then convert the values to linear, precision will suffer.
You can see that even with a mathematically ideal Log response (blue curve), half of the pot’s travel would be within the bottom 20% of the total resistance area - which means more noise and less precision.
Of course depending on your use case, this might be acceptable!
Yes, I thought of this.
Thank you very much for Explanation