Quote Originally Posted by tekart View Post
Remember I only have the one A/D input to work with in my very simple circuit.
In that case you need a pic12f1822 or similar with an internal vref. The internal vref will work with the adc or comparator module.