Recipes
Gardening
Linux
Weather
Dictionary
Halloween
Friends
Notes
Photos
Non-public Pages
Help with wiki syntax
Real Time Weather
This is an old revision of the document!
This mapping is the same for male and female connectors.
| DB9 Pin | Color |
|---|---|
| 1 | |
| 2 | Yellow |
| 3 | Green |
| 4 | Blue |
| 5 | Red |
| 6 | Black |
| 7 | Brown |
| 8 | Gray |
| 9 |
There are two standards for IDC-to-DB9, one is the standard straight-through method, mapping pin n on the IDC to pin n on the DB-9. The other is “Intel” format, which does a completely daft mapping. This is explained here.
You can detect this by measuring the voltage between pin 5 and pins 2 and 3, one of which should be positive and one negative. In the Intel configuration, pin 5 isn't ground, and the voltage on pins 2 and 3 will have the same sign.
| DB9 Pin | Color |
|---|---|
| 1 | |
| 2 | Green |
| 3 | Red |
| 4 | Brown |
| 5 | |
| 6 | Yellow |
| 7 | Blue |
| 8 | Black |
| 9 | Gray |