Hello again, folks.
I'm at a very unserious stage of exploration related to making a PIC programmer out of another MCU (PIC or otherwise). The signaling protocol part of it makes enough sense to me that I can deal with it later. The part I'm concentrating on at the moment is getting a suitable Vpp.
The PIC's Vpp line, in general, needs to be held at 12.5~13.5V to enter and remain in programming mode. For flash devices, it's used as a reference and not loaded (the ICSP guide rates current draw on Vpp pin at 200uA max for 16F8x).
The supply voltage would be 5V with no higher-voltage tap available, such as from a USB port. Let's also assume that for some reason I can't (or don't want to) source any flashy DC-DC converter ICs. But that's okay, because there are free pins on my MCU that can be used to operate a charge pump. I've seen people do it before...so can I get it to work?
Here's a design I derived from a different but similar circuit (monospace text):
. . 1uF + 1N5817 (Schottky) . P ------||------+----| +5V . V . 1uF + - 1N5817 . /P -----||------+ . V NTE143A . 22uF + - 1N5817 13.0V Zener . GND|----||------+--------+--/\\/\\---| +13V out
P and /P are pins on the MCU whose values alternate at a given frequency. I've tried several frequencies, and it seems as if higher frequencies provide higher, more stable voltages. Somewhat stable results start on the order of 1kHz. The thing seems to mostly work, though the output voltage tends to slide down significantly after the multimeter has been on it for a couple of seconds (I wonder how much current it draws...).
So, at this point, I'm wondering...
- Is there anything inherently unsafe about the above circuit?
- Is it more likely that my multimeter is drawing less than 0.2mA or more than 0.2mA?
- If the answer to #2 is "more", is there any better means of taking a reading?
- Are there any improvements you might suggest?
Thanks PSM, a guy who still knows little about the analog side of things