Program a PIC12C508/9 with DT001

The 8 pin PIC12C508/509 Micro can be hooked up to the DT001 board in a number of ways. 

  1. Re-arrange the 18 pin ZIF socket position to suit the 8 pin configuration. This isn't that difficult.
  2. Make up a Simmstick from a DT202 with a ZIF socket and place it in slot 1 of the DT001 board. This requires that the switch be in the load position, or jumpered out to allow connection to slot 1.
  3. Make up an adapter board from a piece of veroboard that has a matching header to the J1 header on the DT001 board. A ZIF socket can then be fitted to the veroboard.
Signal 18 Pin ZIF 8 pin Micro J1 Header SimmBus Slot 1.
VDD (5V Pulse) 14 1 1 7
VPP (13V Pulse) 4 4 3 8
RB7 13 7 5 22
RB6 12 6 7 21
GND 5 8 9 9

 

Option 1: Re-arrange the 18 pin ZIF socket position to suit the 8 pin configuration.

Place a 508 chip with pin 1 in the 18 pin ZIF socket position pin 1.
You will see that pin 1 to 4 come out at the same numbers, but pin 15 of the ZIF is now pin 5 of the 508, pin 16 is 6, 17 is 7, and 18 becomes 8.

VPP: You will see that pin 4, the VPP is already connected to pin 4. This is the 13V programming pulse and suits us nicely, as this is the only one that stands a very good chance of damaging the chip if connected incorrectly.
VDD: On the solder side of the board run an insulated jumer and Connect pin 14 of the ZIF socket to pin pin 1 of the ZIF socket.
RB7: Connect pin 13 to pin 17. (pin 7 of the 508).
RB6: Connect pin 12 to pin 16. (pin 6 of the 508).
GND: Connect pin 5 to pin 18. (pin 8 of the 508).
 

Option 2: Make up a Simmstick from a DT202 with a ZIF socket and place it in slot 1 of the DT001 board.

Solder a ZIF socket to the DT202. I suggest a DT202 as the 2 Inch board will be enough to raise the ZIF socket above any on board components, so make sure the socket is as far as possible away from the SimmStick connector. If you use an Aries socket, the socket need not be soldered to the board at all. See Hints.html.

You can use an 18, 28, or 40 pin socket. It doesn't matter. The pin numbers mentioned below ../../images/zif.gifare references to an 8 pin 508 type chip. You can top or bottom justify the chip in the socket. It doesn't matter.

VPP: Connect pin 8 of the bus to pin 4 of the micro. This is the 13V programming pulse and suits us nicely, as this is the only one that stands a very good chance of damaging the chip if connected incorrectly.
VDD: Connect pin 7 of the SimmBus to pin pin 1 of the micro ZIF socket.
RB7: Connect pin 22 of the bus to pin 7 of the 508.
RB6: Connect pin 21 of the bus to pin 6 of the 508.
GND: Connect pin 9 of the bus to pin 8 of the 508.

Install the board into slot 1 of the DT001 board. The switch must be in the load position, or jumpered so that it appears to be in the load position.

Option 3: Make up an adapter board from a piece of veroboard that has a matching header to the J1 header on the DT001 board.

Solder a ZIF socket to a piece of vero board or a DT202. I suggest a DT202 as the 2 Inch board will allow you to put configuaration headers on the board for other PIC micros if you wish. If you use an Aries socket, the socket need not be soldered to the board at all. See Hints.html.

You can use an 18, 28, or 40 pin socket. It doesn't matter. The pin numbers mentioned below are references to an 8 pin 508 type chip. You can top or boittom justify the chip in the socket. It doesn't matter.

Make up a 10 wire flat ribbon cable a few inches long that has 10 pin IDC headers crimped to each end of the cable. You can see this sort of cable on the Serial ports etc., on your computer cables. The connectors can be easily crimped with a small hand vice. I have a friend (Big Mick) do them with a hammer.

Solder a matching 10 pin header on the veroboard or DT202. See zif.gif.
Let's call this header J2 for the purpose of identification.

VPP: Connect pin 3 of J2 to pin 4 of the micro. This is the 13V programming pulse.
VDD: Connect pin 1 of J2 pin pin 1 of the micro ZIF socket.
RB7: Connect pin 5 of J2 to pin 7 of the 508.
RB6: Connect pin 7 of J2 to pin 6 of the 508.
GND: Connect pin 9 of J2 to pin 8 of the 508.

You will find that when you install your few inches of 10 wire flat ribbon cable, the DT202 prototyping board or veroboard will be sitting above the 30 pin Simm Socket positions and may need supporting or electrical insulation for the DT001 board.

If you haven't installed Simm Sockets, then some rubber feet on the DT202 board will do nicely.