Quote Originally Posted by beto
Hi All!
I want connect a resistive fuel sender (gasoline tank level), to my PIc using
the POT comand, but, the total max resistance is only
255 Ohms and min 0 Omhs, (This doesn't work) What I can do..?
Can I, use an Built in A-to-D Converter to read Ohms?
I confused... Thanks
The POT command is expecting much higher resistance 20-50Kohm which is why it isn't working.

You should be able to read it via the A/D. The A/D is just reading the voltage so you can calculate the results to see what you should get. Think of calculating it like a limiting resistor for a LED and you'll get it.

I think you will find you will need to average your readings and use far fewer steps than 0-255 or the result is going to be pretty jittery ie not stable.

W