PIC Programmer
A pic programmer will be built which is an adaptation of a JDM programmer (see link link to JDM ). This programmer runs from power on a serial port of a computer. (this is not typical, normally a serial port is not used to power devises but in this case the power consumption is so small that it works) We have found this programmer to be quite reliable. The software to run the programmer, ic-prog is free (see link). For this project you will need to :



note; There are two views, the view on the top is actually looking from the bottom of the transistor. E stand for emitter, B for base and C for collector.

CB version 4 separates a main board, which contains the circuitry to interface the serial port to the microcontroller for programming, and the socket board(s) to plug the microcontroller into. The advantage to this approach is that students can use the programmer for more advanced projects in the future. If students want to use larger chips in the future (with different pin counts and spacing) it is relatively easy and inexpensive to build and substitute another socket board. The second advantage, for future projects, is the ability of the main board to be used directly for "in circuit serial programming" (see microchip website for details).
To build the main board, use the schematic diagram and BOM below;

Main Board Schematic
Item |
Qty |
Desc |
Part #, Supplier |
Cost |
Photo, Notes |
R1 |
1 |
10K, 1/4 W resistor |
10KQBK-ND, DIGIKEY |
||
R2 |
1 |
1.5K, 1/4 W resistor |
1.5KQBK-ND, DIGIKEY |
||
D1, D2, D3, D4 |
4 |
1N4148 diode |
1N4148MSCT-ND, DIGIKEY |
||
D5 |
1 |
8.2 V 1/2 W Zener |
1N5237BMSCT-ND, DIGIKEY |
||
D6 |
1 |
5.1 V 1/2 W Zener |
1N751ATRCT-ND, or 1N5231B0035MSCT-ND, DIGIKEY |
||
C1 |
1 |
100 uF, 25 V |
565-1705-ND, DIGIKEY |
||
C2 |
1 |
22 uF, 16 V |
P967-ND, DIGIKEY |
||
Q1, Q2 |
2 |
2N3904 |
|||
S1 |
1 |
5 pin fem header |
S-4340-ND, DIGIKEY |
||
wire |
at lease 5 conductor |
||||
9 pin dsub, female |
DB9S, HOOD09, ABRA |
||||
ty wrap |
|||||
copper board |
CCB12x18, ABRA |
The socket board has has the feature that the RB4/PGM pin can be "pulled to ground" needed for certain more recent pic microcontrollers (see ic-prog website supported devises http://www.ic-prog.com/index1.htm ). I'm not so sure how necessary this is so we will build in the jumper for now. (In the furure perhaps the RB4/PGM pin can always be pulled to ground. To build the socket board use the following sketches and the BOM provided below. (Only the 18 pin has been tested and verified at this point, schematic diagrams to follow in future.)

6 Pin Socket Board

8 pin socket board

18 Pin Socket Board

28 Pin Socket Board

40 Pin Socket Board
Item |
Qty |
Desc |
Part #, Supplier |
Cost |
Photo, Notes |
S2 |
1 |
5 pin 90deg header |
part of WM6036-nd, Digikey |
||
S3 |
1 |
18 pin DIP |
AE9844-ND, DIGIKEY |
||
S4 |
1 |
3 pin header |
WM6436-ND, DIGIKEY |
||
S5 |
1 |
jumper |
S9000-ND, DIGIKEY |
||
copper board |
CCB12x18, ABRA |
Socket Board Bill of Material
The ic-prog program is excellent freely distributed software which can be used to program Pic microcontrollers using the JDM programmer that you just built. Download at ic-prog website , download ic-prog .
The software is designed to be used in windows 98. If you are going to use it on XP, you must do the following;


