Technical Brief
While 2.54mm is king, you should know when to switch: gnmidi 2.54
| Pitch | Name | Best For | Why not 2.54? | | :--- | :--- | :--- | :--- | | 1.27mm | JST-SH, Dupont (Micro) | Cell phones, drones, tight PCBs | Too small to hand-solder; easy to bridge. | | 2.0mm | JST-PH, Molex Picoblade | RC batteries, compact sensors | The "no-man's land." Not breadboard friendly. | | 3.96mm | Molex KK, JST-VH | High power (5A+), PSUs, Amplifiers | Too big for microcontroller pins; wastes space. | | 5.08mm | Screw terminals | AC mains power, large relays | Overkill for signal. | Technical Brief While 2
Stick to GNMIDI 2.54 for general prototyping. Use the others only when power or space demands it. | | 3
| MIDI Pin (DIN) | Signal | 2.54 mm Header Pin | |----------------|----------------|--------------------| | 1 | No connection (optional shield) | – or NC | | 2 | Shield / GND | GND | | 3 | Not used (some legacy gear) | NC | | 4 | Current source (+) | Signal+ (e.g., pin 4) | | 5 | Current sink (-) | Signal- (e.g., pin 5) |
In practice, only pins 4, 5, and 2 (GND) are required for standard MIDI communication. A 2.54 mm 3-pin or 5-pin header works perfectly.