This is an example of a very simple 40 pins PIC programmer, it only needs 3 resistors:
Step 1: Schematic
This programmer operates at 5V DC. Therefore, an external voltage source must be connected to the 2-pin connector.
Step 2: Design
Then we started making the PCB, first we printed the layout on an acetate sheet. Then we used the UV exposure method to transfer the circuit to the board and for last, we corroded the PCB with iron perchlorate.
Then we soldered all the components in place:
1 - DB9 connector;
3 - 4,7k Resistors;
1 - 2 terminal connector;
1 - 40 pin socket;
Step 3: How to Use
These are the steps to use the programmer:
1. Connect it through a serial cable to a computer;
2. Plug in the desired PIC on the board, for example, the PIC18F4550;
3. Using an IDE, like MPLAB or MikroC for instance, write, compile the code and generate the .HEX file;
4. Through a programmer software like PICPgm, send the .HEX file to the PIC.
And there you go, the PIC is ready to use and you got a new programmer for 40 pins PIC micro-controllers.