PDA

View Full Version : A/D voltage?



scottl
- 25th March 2006, 18:19
I have a PIC12F675 and a wireless transceiver running at 3.3V. I would like to use this circuit to monitor a sensor that outputs 0-5V.

Can I add a reference voltage of say 4.096V to the PIC12F675 VRef pin and have portA.0 monitor this without any problems?

Thanks for any help!

Scott

Bruce
- 25th March 2006, 20:12
Voltage input to any pin should never exceed Vcc. You would need a voltage
divider on the analog output of your sensor that limits the max output to
3.3V.

scottl
- 25th March 2006, 21:39
Bruce,

I guess I will use a voltage divider using two 1K resistors which will give me 2.5V at 5V from the sensor. I will lose a little accuracy but I will see how this works.

Thanks for the reply,
Scott