loading

Step 3: Schematic

Here is the schematic for circuit.  The circuit uses power from the serial port to power the PIC microcontroller during programming.  Some USB to Serial converters do not work with this circuit because of the voltage needed on the PIC's mclr pin.  This circuit works best with on board ports or serial cards.  For the ICSP pins, they are connected to the microcontroller as follows:
1.  MCLR Pin
2.  VDD Pin(s)
3.  VSS Pin(s)
4.  PGC Clock Pin
5.  PGD Data Pin

Advertisement

<p>How can I make it work with usb2serial adapter? What If I put external +12V from other source?</p>
<p>Good question, I have been meaning to look at this for a while. Non-Usb serial ports are getting harder to come across. This might work, but I'm not sure how the constant 12v feeding the MCLR transistor will affect the rest of the circuit. Not sure either if the USB to serial adapter might do something weird to the circuit. I have done a little looking, but I am not clear if this will work or not. Sorry!</p>
I do not get a 13V output at MCLR pin, is this normal? JDM Programmer detected... PIC not detected help... <br>
You should get around 12VDC when you have it plugged in. Do you have anything else in circuit with the MCLR pin as part of your project? Are you using an onboard serial port, or a usb adapter for your PC's serial port? If you are using a usb to serial adapter, it will not supply the 12v that the circuit needs to work.
I do not get a 13V output at MCLR pin, is this normal? JDM Programmer detected... PIC not detected help... <br>
Sir can i use a normal 22uF electrolytic capacitor instead of a tantalum cap?
You might be able to get by with the normal cap, but I recommend the tantalum since it was spec'd out.
Sir can i program a 16f88 with this? Please reply soon!!!
Picpgm does support the 16F88, so it should work. I did not personally test the 88 though, sorry.
I found a solution if you get an error. When I run any other program than picpgm, it doesn't find the programmer. When I close everything, exept picpgm, it detects everything. Weird but true
i m getting error as &quot;verify errors occured&quot;.plz tell me why it is? <br>i ahve checked all the hardware. it found ok.plz reply its urgent
Sorry for the late reply. Is it autodetecting your programmer and pic? When you power it on, does it automatically recognize that you have a 18f4520 in the programmer?
when i use picpgm and put in my programmer, it says:<br>Checking connection of JDM Programmer ...<br>Error opening LPT driver!<br>No Programmer found! Check connection!<br>No PIC detected!<br><br>WHO CAN HELP ME? <br>thanks<br>
Check your settings, it looks like you have your printer port selected. In hardware, do you have autodetected selected?
plz reply for above query its urgent....i am using pic18f4520
is it supported for pic 18f248???<br><br>give me a schematic for 18f248 programmer
I have not tested a 248, but the PICPgm site says that it is compatible<br><br>1. MCLR Pin is pin 1 on the 248<br>2. VDD Pin(s) is pin 20 on the 248<br>3. VSS Pin(s) is pin 8 and 19 on the 248<br>4. PGC Clock Pin is pin 27 on the 248<br>5. PGD Data Pin is pin 28 on the 248<br><br>The schematic will me the same for the programmer, just connect it to the pic as described above.
this helped a lot
Glad to help!
did you rate<br>
check out my new instructable and plzzzz rate <br>http://www.instructables.com/id/LED-Wheel-Effect-Without-a-Microcontroller-/
do i just copy paste the code to the programming software
You have to open a .hex file with the software. You can generate the .hex file using Microchip's free IDE found on their website.
chip programmed yay
Great!
where can i get a Female DB9 Serial Connector
Digikey:<br>L77SDE09S-ND<br>RadioShack:<br>Model: 276-1538<br><br>The housing is usually sold separately. Or you can chop a serial cable in half and use it. Let me know if you have any other questions.

About This Instructable

31,412views

22favorites

License:

More by dirkandterra:Large Led Bar Display Minty JDM PIC Programmer 
Add instructable to: