Introduction: Cheap PIC Programmer

About: I make electronic stuff.Because I Can.

This programmer works only with PIC16F84 but it's great because it never causes errors and works with almost all computers,unlike some other homemade programmers.

Step 1: Step One : Materials

For this programmer you won't need many materials.In fact , you will find all you need in your local electronics shop ;)

So here's what materials you will need:
-IC Board
-RS232(Serial) FEMALE connector
-BC547B or 2N3904 (I couldn't find the BC so i used 2N3904,it works great)
-5.1 V diode
-100 uF 16V Electrolytic Capacitor
-18 PIN IC Socket
-10Kohm resistor
-15Kohm resistor

OPTIONAL[
-Flashing red LED / 2.1 V Standard Red LED
-3.3Kohm Resistor]

-PIC16F84A Microcontroller

Tools:
-Soldering Iron
-Scissors or any other cuting tool

OPTIONAL[
-Hot glue gun]



Step 2: Step Two : the Scheme

This is the scheme you will use for your programmer.
As you can see , i tagged two connection in the scheme as "Optional point" one and two .
Those are the points where you will connect the "Optional" circuit i will show you in step 3

Step 3: Step Three : the Optional Circuit

The optional circuit consists of the LED and 3.3 Kohm resistor marked as optional in step one.
One pin of the resistor goes in the Optional point one , the other pin goes in the anode(+) of the LED.
The cathone(-) pin of the LED will go in Optional point two.
If you don't understand , use the ellipse marked area of the scheme below.

Step 4: Step Four : Let's Build It !

Ok , you've got all you need.Now it's time to build it.
DON'T CUT THE IC BOARD YET!
First solder the RS232 female connector in a corner of your IC Board.If you don't know what are the connectors of the RS232 i uploaded an image.
After you soldered the RS232 , solder all elements according to the schematic,and then cut the board.
After you cut the board,secure all solderings with hot glue (optional).
You're done!

Step 5: Step Five : Programming?!

To program you can use Microcode Studio PICBASIC Pro.To find it search for PICBASIC on google.
After you programmed and you got a HEX code , plug the programmer in the PC , and start WinPic (get it here: http://freenet-homepage.de/dl4yhf/winpic/winpicpr.zip ) . Go to interface tab and configure it for your programmer.Then load a HEX in the buffer go to device,config , configure your device (PIC16F84), and click "program device".

Step 6: Step Six : If You Have Problems...

There are some problems that can appear,here is how to solve them:
Error Message:Warning!Could not initialize programmer!
Solution:Configure the interface again or check the circuit for soldering errors.
Error Message:Programming FAILED!(but the programmer initialized succesfully)
Cause:Soldering error/Too low voltage
Solution:Check the circuit for soldering errors / change the port

Step 7: That's All

Here is where the instructable ends.I hope i helped you with the programmer.
By the way , here is how mine looks like: