Hi everybody, i hope that you reached this page because you ware searching something about micro controllers or more specifically something about the very much used pic16F84.

This page is about building a pic programmer step by step, this is a jdm programmer which will be connected to the serial port of the computer, requires no power supply and works on may types of pics.

I documented all the process very well (with pictures) and i'll also describe it in detail.

Everything starts by searching a good schematics and analyze it to see if everything is looking good, i suggest to use the pic data sheet to see if everything looks good, i used the schematics bellow :

I would post the source site but i really can't remember the source, anyway the internet is full with this picture.

Next step is to create the PCB boards, i used the free version of eagle for this, works really nice, and creates really good boards, you just have to work a little bit with the parameters, and make sure that you don't forget any leads, or else the programmer will not work, and you wasted your time.

I used the PCB's bellow, you can use those one because they work :) ). But remember to mirror one of them when you print it.

I mirrored the one with the red lines... and all the components ware on that side, was a little hard to solder the socket where the pic micro controller will seat.

Now comes the tricky part, my plan was to print those on some plastic sheet and then transfer it to the pcb with the soldering iron, i had some thing like on the picture bellow :

this should be a very good way to create really nice pcb's for any circuit very easy. But disaster stroke... the drawing was not transferring, i tried for about 3 hours (no picture from that time, because i was to busy to trow things) but no success, so i continued with the marker.... i was not going to give away, because there was a 16f84 waiting for me.

Mean while the pizza arrived :D

a good deserved pizza

a good deserved pizza

After i eated the pizza which was almost the greatest moments of the day i finished drawing the pcb, on both sides :

pic16f84 programmer pcb ready to be coroded

pic16f84 programmer pcb ready to be coroded

But, before all the lines are drawn the holes must be drilled, this is very important because the board has 2 sides and the holes need to be in the right place, and if you use a hand held drilling machine your holes wont be exactly perpendicular and they will not come out exactly where you want them.

After this was ready was time to insert into the ... i don't know how its called in English (ferric chloride i think) to make the finished pcb. The solution was new, and i also put it on the heating unit, and moved all the time to work faster, it was ready in adout 10 -15 minutes.

corroding the programmers pcb

corroding the programmers pcb

And here's the finished pcb, after i wached it with alchool to disolve the permanent marker :

the finished pcb

the finished pcb

Also i just remembered that i forgot to say about the holes, the holes have to be made before you draw the pcb, because if you make them after maybe the holes will not fit on both sides. I used a hand held drilling macine with 1.3mm drill (1mm will be ideal).

Now i started soldering the pices, be very carefull on which side you solder the socket because if it's soldered on the wrong side.... well that's bad and the microcontroller won't fit, think twice before starting. I soldered the socket first, and checked if the pins are soldered with the measuring device (a very cheam one 1$ actually :) ). Also be carefull when you solder the diodes and the transistors not to mess up with the pins.

Here's the pcb with all the components soldered

the programmer with all the pices

the programmer with all the pices

Now i just puted a zif socket on the soldered socket and added a cable and a serial connector. This pcb also has support for in circuit serial programming (the pins on the left which are not yet added) so with this programmer you can progreamm pics directly in circuit (if you also add the support to the other circuit). As a cable I used the cable from an old mouse, because has exactly 5 wires and is very flexible and long, great for this use.

Here is the final version:

finished pic programmer

finished pic programmer

Now everythig i had to do is plug it in and test it. I used the ponyprog2000 software.

And IT WORKS !!!!!!!!! it's a great success ! i hope you will have the same success! have fun!

Related posts:

  1. programming the pic16f84
  2. Stepper motor controller
  3. Stepper motor inteligent driver and controller
  4. Asm programming vs C programming