# CT2030-ISC-NL

DIY version of the (fucking expensive) TC2030-IDC-NL connector

The basic structure is shown in the diagram below.
Which exact ribbon cable and which exact IDC connector is used depends on what the cable should connect to.

![image](res/diagram.svg)

The components given here are such that the cable can be connected to an
[AZ-Delivery ST Link V2 Mini](https://www.az-delivery.de/en/products/st-link-v2-mini-simulator-download-programmer-stm8-6-stm32).

|     Part      |    Component    |
|---------------|-----------------|
| IDC connector | [61201023021](https://www.we-online.com/de/components/products/BHD_2_54_FEMALE_IDC_CONNECTOR_WITH_STRAIN_RELIEF_6120XX23021) |
| Ribbon cable  | [63911015521](https://www.we-online.com/en/components/products/CAB_1_27_RIBBON_FLAT_CAB_6391XX15521_5) |
| CT2030        | [Custom 3d print](https://www.thingiverse.com/thing:5819952) |
|  Steel pins   | [10764999](https://www.bauhaus.info/sockelleistenstifte/stabilit-goldleisten-stifte/p/10764999) |
|   Pogo pins   | [P50-J1](https://www.amazon.de/-/en/gp/product/B07SG8HMH6/ref=ox_sc_act_image_1?smid=A28EUSYNSD1OHK&psc=1) |


## Pinouts

### CT2030

| Pin Number | Signal |
|:----------:|:------:|
|     1      |  3V3   |
|     2      | SWDIO  |
|     3      |  RST   |
|     4      | SWDCLK |
|     5      |  GND   |
|     6      |   NC   |


### IDC Connector

| Pin Number | Signal |
|:----------:|:------:|
|     1      |  RST   |
|     2      | SWCLK  |
|     3      |  SWIM  |
|     4      | SWDIO  |
|     5      |   GND  |
|     6      |   NC   |
|     7      |   3V3  |
|     8      |   NC   |
|     9      |   NC   |
|     10     |   NC   |

