Hello Mike, Yes you misinterpret my posting. I do not whant 14 Volt on a I/O pin except for Vpp 13V. I want to be able to regulate the Voltages on I/O from 1 to 5.5 V. And I want to regulate the Vpp Voltage the same way. Testing OTP part at Max Vdd and Min Vdd for verification. Also be able to support designs that have 3.3V for the rest of the components etc. I do not want to add Vdd 5V on a design that only support component that only endure 3.3V. One solution that have crossed my mind is to use a programmable voltage regulator using resistors and then use Microchip Digital potentiometer fo= r this. Then source that voltages with transistors controlled by the PICmic= ro. I can also do it with OP and digital potentiometer to get better Voltage values but then I cant source that much current. Analog Mux is expensive so I have to stick with one design solution on I/= O pin ei I cant make a general programmer without cost rising. So, I keep i= t simple and start with the 5 pin needed for ICSP on most PICmicro. It looks like a programmable Voltage regulator is the way to go as then I can source about 1.5A if I want. Then I will use some resetable fuses so users can short circuit without t= hat the ICSP programmer take damage. Raychem has some nice fuses for this purpose. If someone has a better suggestion please advise. Regards Niklas -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.ED= U] F=F6r mike Skickat: den 8 maj 2002 05:31 Till: PICLIST@MITVMA.MIT.EDU =C4mne: [PIC]: Smoke On The Border. >RE: [PIC]: ICSP for PIC with smart Voltage component. >I'm thinking of building a small ICSP programmer for the PICmicro. >I would like to be able to set the I/O pins to voltage values between 1-= 14V >and I want them to source as much current as possible. >I also want them to change voltages during programming. >What I can do is use OPamps and Microchips digital potentiometers to do >that. >But there must be some nice component that can do that in a smarter way? >Does somebody have a suggestion? > >Regards >Niklas Settinng I/O pins to 14v, you'll burn out your PICs. The only pin, that can stand it, is MCLR in high voltage programming mode with no current consumption (16F8XX). If you're thinking of building a _small_ ICSP programmer, use the low voltage programming mode. In this mode you'll need a programmable power supply in a range 4.5v-5.5v (3v-6v) stepping 0.25v. Digging in ICSP, you'll run into a lot of issues, concerning mostly compatibility with existing software tools. Or are you feeling strong eno= ugh to build you own MPLAB-style stuff? Sorry, If I've misunderstood something. It is Sunrise already here. Regards. Mike. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics