Hi, Flotul,

consider you have NO chance to get what you want with the internal ADC's of your Pic.

that said ... if you want a "quasi-linear " behaviour, try this inexpensive chip : https://fr.aliexpress.com/item/10050...Cquery_from%3A

But, of course, you'll have to be extra careful with all its environment ...

Alain