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.'
Questions:
file: /Techref/microchip/a2drcnodrain.htm, 1KB, , updated: 2008/6/30 08:41, local time: 2024/11/15 09:35,
3.139.239.135:LOG IN
|
©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? <A HREF="http://linistepper.com/techref/microchip/a2drcnodrain.htm"> PIC Microcontroller A2D Input Methods </A> |
Did you find what you needed? |