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: 2009/11/24 13:09,
38.107.191.104:LOG IN
|
| ©2009 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! <A HREF="http://www.piclist.com/techref/microchip/a2drcnodrain.htm"> PIC Microcontroller A2D Input Methods </A> |
| Did you find what you needed? |
LCD Front Panel Set: $8.99!
- 2x16 LCD HD44780 controller - 4 push buttons - 3 LEDs - 2x12 header |
|
Peter Todd has released source and sample projects for his artwork, including his 3d wireframe cube renderer for the PIC 18f6520 This includes examples of hardware developed with free software tools such as gEDA/gschem/PCB, SDCC, gputils and picp all on Linux. http://petertodd.ca/art/source-code/ |
.