(From the Editor)
Another good reference is:
http://www.blackdown.org/~qtech/hw.html by Joakim O''gren.
Parts of the this FAQ were taken directly from the comp.sys.ibm.pc.hardware.* FAQ (in HTML!) and much of the credit is due to its authors.
The official resting place of the above FAQ is:
Site: rtfm.mit.edu
Directory: /pub/usenet/news.answers/pc-hardware-faq
Or:
Site: ftp.uu.net
Directory: /archive/usenet/news.answers/pc-hardware-faq
Or:
URL: http://www.cis.ohio-state.edu/hypertext/faq/usenet/pc-hardware-faq/top.html
In any case, credit is given where it is due and known.
Contributors: Mark Lord
SNES controller _________ 1 | U | 20 2 | | 19 3 | | 18 4 | | 17 5 | | 16 6 | | 15 7 | | 14 8 | | 13 9 | | 12 10 |_________| 11 1 : Pad: Down 2 : Pad: Left 3 : Pad: Right 4 : Select 5 : Start 6 : Output 1 7 : Output 2 8 : Output 3 9 : Output 4 10: Gnd (pin 5 on connector) 11: nc 12: nc 13: Y 14: B 15: A 16: X 17: R 18: L 19: Pad: Up 20: nc
Original VGA (31.5 KHz - 640x480)
SVGA (35-37 KHz - 800x600) 15 pin sub D:
6 1 Red (Analog) 6 Red Return 11 (ID0) GND (Color) 11. . . 1 2 Green (Analog) 7 Green Return 12 (ID1) NC (Color) . . . 3 Blue (Analog) 8 Blue Retuen 13 Horzontal Sync . . . 4 Reserved 9 No Connect 14 Vertical Sync . . . 5 Ground 10 Ground 15 No Connect . . . 15 10 5Note: Monitor ID Lines ID1,ID0=NC,G for color; G,NC for Mono. ID0 only may be used.
Mono VGA is similar using only the Green Video and Return.
VESA Standard Feature Connector pin assignment pin assignment === ========== === ========== 1 PB 2 PG 3 PR 4 PI 5 SB 6 SG 7 SR 8 SI 9 Dot Clock 10 Blank 11 HSync 12 VSync 13 GND 14 GND 15 GND 16 GND 17 Ext Video Sel 18 Ext Sync Sel 19 Ext DotClock Sel20 N/C 21 GND 22 GND 23 GND 24 GND 25 N/C 26 N/C
Note that many of the pins shown above as "no connects" (actually, these were sometimes used as monitor ID bits by many manufacturers) are now defined under the VESA Display Data Channel standard. This standard provides two protocols for display ID and control, including support for the full ACCESS.bus interface. The current definition of the "VGA" pinout per the DDC standard is:
6 1 Red (Analog) 6 Red Return 11 Monitor ID0 (opt.) 11. . . 1 2 Green (Analog) 7 Green Return 12 Data (SDA) . . . 3 Blue (Analog) 8 Blue Return 13 Horzontal Sync . . . 4 Reserved 9 +5 VDC (frm host)* 14 Vertical Sync . . . 5 Return 10 Sync return 15 Data clock (SCL)* . . . 15 10 5Those signals marked with an asterisk would be supplied by the host only if the host supports the DDC2 protocol (I2C or ACCESS.bus).
VGA DB15-S Female DB9 Female 15-pin 9-pin assignment 1 1 Red 2 2 Green 3 3 Blue 4 - Monitor ID bit 2 5 - N/C 6 6 GND (red return) 7 7 GND (green return) 8 8 GND (blue return) 9 - N/C 10 - GND 11 - Monitor ID bit 0 12 - Minitor ID bit 1 13 4 Horizontal Sync 14 5 Vertical Sync 15 - N/C Monitor ID bit 0: reserved Monitor ID bit 1: GND = mono, OPEN = color Monochrome monitors use the green signal
For analog VGA/SVGA measured based on my VGA to 9 pin adapter. This is pretty standard as the NEC Multisync II and others use the same pinout:
Pin 1: Red Video Pin 2: Green Video Pin 3: Blue Video Pin 4: H Sync Pin 5: V Sync Pin 6: Red Return Pin 7: Green Return Pin 8: Blue Return Pin 9: Ground
NOTE: IBM PGC assigns pin 4 to Composite Sync and pin 5 is a no-connect.
(From Sam Goldwasser)
BTW, don't use an EGA 9 pin extension cable to connect it to VGA. While this will work, the wires are not shielded or the wrong wires and you will get ghosting and ringing at vertical edges. I constructed mine using proper 75 ohm coax for the RGB and H and V sync as well (though it is not needed for the sync).
(From Brian Smither)
According to the CPD-1303 user guide:
Pin: 1 2 3 4 5 6 7 8 9 Analog GND GND RED GRN BLU GND --- H/HV V * DIG/NORM GND GND RED GRN BLU GND --- H/HV V /D1 GND GND RED GRN BLU INT --- H/HV V /D2/CGA GND GND RED GRN BLU INT --- H/HV V /D2/MDA GND GND --- --- --- INT GRN H/HV V /D2/EGA GND r R G B g b H/HV V r-g-b is secondary colors for 64 color EGA
* Sync on green automatic if H or HV is not assigned to pin #8.
SYNC: any polarity.
Vertical size depends on vertical frequency and can be adjusted manually.
(From Brian Smither)
A 9-pin (monitor) to 15-pin (video card) cable can be built as follows:
9-pin F 15-pin M ------- -------- 1,2,6 --------- 5 3 --------- 1 4 --------- 2 5 --------- 3 8 --------- 13 9 --------- 14
This adapter will NOT permit you to run a standard VGA monitor from a MGA/CGA/EGA video card as the signal levels and scan rates are not compatible. It only applies to the CPD1303 and similar monitors.
1 GND 6 Secondary Green Video/Intensity 2 Secondary RED Video 7 Secondary Blue Video 3 Primary RED Video 8 H Sync TTL Positive 4 Primary GREEN Video 9 V Sync TTL Negative 5 Primary BLUE Video
(From Sam Goldwasser)
BTW, don't use an EGA 9 pin extension cable to connect it to VGA. While this will work, the wires are not shielded or the wrong wires and you will get ghosting and ringing at vertical edges. I constructed mine using proper 75 ohm coax for the RGB and H and V sync as well (though it is not needed for the sync).
(15.75 KHz - 320x200 or 640x200) DB-9 pin:
1 GND 6 Intensity 2 Unused 7 Unused 3 RED Video 8 H Sync TTL Positive 4 GREEN Video 9 V Sync TTL Positive 5 BLUE Video
1 GND 6 Intensity 2 Unused 7 Video 3 Unused 8 H Sync TTL Positive 4 Unused 9 V Sync TTL Negative 5 Unused(From John Bunting)
Pin-outs of that 9 pin monochrome adapter:
pin 1 ground pin 2 ground pin 3 N/C pin 4 N/C pin 5 N/C pin 6 Intensity pin 7 video pin 8 horiz sync pin 9 vert sync
1 Red Ground 8 Blue Video 2 Red Video 9 Sense 2 3 Composite Sync 11 Ground 4 Sense 0 12 Vertical Sync 5 Green Video 13 Blue Ground 6 Green Ground 14 Ground 7 Sense 1 15 Horizontal Sync 8 Reserved (+12)
(From Sam Goldwasser)
Mac II - analog (35 KHz H, 66.67 Hz V - 640x480) 15 pin. Mac II and Quadra - analog (49.7 KHz H, 74.55 Hz V - 832x624) 15 pin.
1 Red Ground 8 Blue Video 2 Red Video 9 Sense 2 3 Composite Sync 11 Ground 4 Sense 0 12 Vertical Sync 5 Green Video 13 Blue Ground 6 Green Ground 14 Ground 7 Sense 1 15 Horizontal Sync 8 Reserved (+12)
(From: comp.sys.sun.hardware pseudo-FAQ: (2gvhutINNnvd@hatteras.cs.unc.edu)).
Analog: 13W3 connector: +----------------- * gnd | +------------- * vertical sync | | +--------- sense 2 | | | +----- sense common (gnd) | | | | +- composite sync | | | | | | | | | | grey red | | | | | green blue | 1o 2o 3o 4o 5o | | (O) (O) (O) 6o 7o 8o 9o 10o | | | | | | | | | +--- composite common (gnd) | | | +------- sense 0 | | +----------- sense 1 | +--------------- * gnd +------------------- * horizontal sync
* May be NC. My spies tell me Sun considers these obsolete.
'green' is used by greyscale monitors for video input.
Sense table - 1=nc, 0=strap to gnd
Sense Type ===== ======== 0 TBD (?)) 1 Reserved 2 1280x1024, 76Hz 3 1152x900, 66Hz 4 1152x900, 76Hz, 19" 5 Reserved 6 1152x900, 76Hz, 16 or 17" 7 Nothing (no monitor connected)
The pins have the following functions:
__________________________________________ \ | \ 20 18 16 14 12 10 8 6 4 2 | (case=21) | 19 17 15 13 11 9 7 5 3 | |_______________________________________|Note: This is as viewed from WIRING side.
Personally, I think SCART connectors are dreadful things. I mean, who really wants a 20 pin monster when only about 3 or 4 are ever used in any application. But it seems they are being forced upon us!
I think most VCRs just use the composite video (in+out) and the two sound channels (in+out sterio). By the way, quite a common fault with VCRs is that the scart socket gets disconnected from the PCB inside the machine. I have fixed 2 VCRs with this problem. It is not surprising really, because the leverage on the huge plug must be quite large if you pull it out carelessly etc.
The quicher SCART dies, the better, IMHO.
(From horus@pmn.it)
Here is the SCART or EURO-AV or PeriteleVision Connector:
_____________________ Pin TV SCART 20_| o o o o o o o o o o | 2 ---- -------------------- 21 o o o o o o o o o o o | 1 1 R Audio Out `-----------------------' 2 R Audio In 3 L Audio Out SCART (RGB & CVBS) 4 Audio GND 5 Blue GND Video Output Level : 1 V p-p +/-2 dB 6 L Audio In Video Output Impedance : 75 ohm 7 Blue Out Video Frequency Range : 25Hz. - 4.8MHz 8 AV Status Out (+/-1.5 dB) 9 Green GND Video De-emphasis(PAL) : to CCIR 405.1 10 Not Connected (625 lines) 11 Green Out 12 Not Connected 13 Red GND 14 Not Connected 15 Red Out/SVHS Chroma Out 16 RGB Status Out 17 Video GND 18 Ground 19 Video Out 20 Video In 21 Ground (Casing)
This is a list of the pinouts to the more common PC hardware interfaces. It is by no means complete. While I have taken care not to make any mistakes, I urge you to take caution when using these tables. Also, please keep in mind that these are only tables, they are not a guide to hardware hacking and do not attempt to explain drive capabilities, signal timings, handling care, or other interface issues. As always, make sure you know what you're doing before you start hooking wires to your PC.
5pin DIN Male DB15-S Male --+-- ---------------------- / ^ \ \ 1 2 3 4 5 / | 1 3 | \ 6 7 8 9 10 / \ 425 / \ 11 12 13 14 15 / ----- ---------------- DB9 (DE-9) Male DB15 (DA-15) Male ------------- -------------------------- \ 1 2 3 4 5 / \ 1 2 3 4 5 6 7 8 / \ 6 7 8 9 / \ 9 10 11 12 13 14 15 / --------- ---------------------- DB25 Male IDC-50 Male ------------------------------ ------------------- \ 1 2 3 4 5 7 8 ... 13 / | 1 3 5 7 ... 49 | \ 14 15 16 17 18 .......25 / | 2 4 6 8 ... 50 | -------------------------- ------------------- (Power Connector) Male __________ / | 4 3 2 1 | --> Called "CEE-type (male)" ------------ 30 pin SIMM 72 pin SIMM ------------------------------- --------------------------------------- | | | | ) | ) _ | --|||||||||||||||||||||||||--- --|||||||||||||||/ \|||||||||||||||--- 1 30 1 36 37 72 EISA/ISA/VLB ----------------------------------------------- | (component side) | | | | VLB __ ISA-16bit __ ISA-8bit __| ||||||||| ||||||||||| ||||||||||||||||||| A1(front)/B1(back) | | | | | | | | | | | | | | <-EISA C1/D1 E1(front)/F1(back) G1/H1 PCI Universal Card 32/64 bit ---------------------------------------------------------------- | PCI Component Side (side B) | | | | | | optional | | ____ mandatory 32-bit pins 64-bit pins _____| |___| |||||||--|||||||||||||||||--|||||||--|||||||||||||| ^ ^ ^ ^ ^ ^ ^ ^ b01 b11 b14 b49 b52 b62 b63 b94 PCI 5V Card 32/64 bit | optional | | ____ mandatory 32-bit pins 64-bit pins _____| |___| ||||||||||||||||||||||||||--|||||||--|||||||||||||| PCI 3.3V Card 32/64 bit | optional | | ____ mandatory 32-bit pins 64-bit pins _____| |___| |||||||--||||||||||||||||||||||||||--||||||||||||||
Go to [Table 'O Contents]