summaryrefslogtreecommitdiff
path: root/IcdToMolex.mdwn
blob: 43d1985ef52f3d938553d6f0a136a4be884434fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## <a name="Microchip MPLAB ICD2 to CAN Node"></a> Microchip MPLAB ICD2 to CAN Node Cable

There's no way we're going to use a huge RJ-11 (or whatever it is) jack on the CAN nodes. So we chose a small 1.25mm Molex/GC Waldom SMT connector (Manf. 53398-0590, Digikey WM1767-ND). The PCB connector is great, but the cable connector is impossible to make since the little metal contacts are impossibly small. For future board revisions, we'll probably move to a standard SMT 2mm header connector so we can just use a press on connector. In the mean time, we'll make itsy-bitsy connections with these things.

Connection from the ICD2 to the PIC:

1. No Connect (NC)
2. RB6 (PGC)
3. RB7 (PGD)
4. Ground
5. Vdd
6. MCLR\* (Vpp)

Here are some pictures for reference:

<center>
  <p>[[icd2_connector.jpg]]<br><em>Connector on the MPLAB ICD2</em><br>
    <br>
  </p>
  <p>[[cable.jpg]]<br><em>ICD2 to CAN Node Cable</em><br>
    <br>
  </p>
  <p>[[6wire_RJ11.jpg]]<br><em>6wire RJ11 (or whatever) connector</em><br>
    <br>
  </p>
  <p>[[cable_molex_connector.jpg]]<br><em>Molex Cable Connector</em><br>
    <br>
  </p>
  <p>[[pcb_molex_connector.jpg]]<br><em>Molex PCB Connector</em><br>
    <br>
  </p>
  <p>
  </p>
</center>

Construction notes:

- We used about 2' of cable - might want to do shorter (seems long compared to MPLAB ICD2 "native" cable).
- Clip the long tines on the metal connects to the same height as the shorter tines.
- Use very, very little solder.
- Tape the wire to the long metal bar holding the contacts to keep it positioned properly (or hold it with your thumb).
- Use short pieces of 1/16" shrink tubing for each connect near the connector.
- Use a long piece of 1/4" (?) shrink tubing around the cord, wires, and all the way to the connector.
- Don't bother with hot glue or silicon - it just lifts off the connector and ends up doing no good.