please dont rip this site

PIC Microcontroller A2D Input Methods

Avoiding constant current draw in RC A2C converters that use a voltage divider to measure higher than the uP's Vdd.

Oliver Broad [obroad at TELINCO.CO.UK] says:

OK Usual disclaimer, this is an untested circuit but...

Take an N-type logic level FET. Connect the gate to PIC VDD and the source to the measuring pin. Put the capacitor between the pin and ground, the resistor between the drain and the voltage. Drive the input pin high and the FET turns off. No drain at all. Drive the pin low then float it and measure the charge time. Obviously the pin will not rise above the Vdd-FET Vth but this should not be a problem.

PICList Thread '[PIC]: Unknown Voltage on PIC pin.'


file: /Techref/microchip/a2drcnodrain.htm, 1KB, , updated: 2008/6/30 09:41, local time: 2024/7/21 13:21,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> PIC Microcontroller A2D Input Methods </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!