Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The maximum voltage on any pin is Vdd. Why can't you use a voltage divider?
Mike.
Or, why can't you use the PIC at 5 V?
Just a non-inverting configuration with unity gain.Hi Nigel, thanks for the help. I searched you site, but can't find reference to the buffer op-amp.
I think this must be the tutorial Nigel mean.
No, you can't use a Vref higher than Vdd (or at least not more than 0.7V higher, the datasheet gives the exact details).
But why would you want to anyway?, either use the 3.3V (which I presume is accurate enough?), or a 2.5V precision reference IC. Assuming you want to read 0-5V, a simple resistive attenuator on the input is all you require - but bear in mind the minimum source impedance requirements.
You can simply use an attenuator to drop 0-5V to 0-2.5V, with no loss of accuracy - but it's all dependent on impedances - which is why my tutorial uses opamps as buffers.