Hmm ik heb zelf wat snel gelezen geloof ik, ik zag in de 2e post staan dat er gemeten moet worden. Dat leek me nogal overbodig.
Ik denk dat je t als volgt moet oplossen.
Pak de afgeknipte vrouw (

) maak die open en bekijk daarin welke pin welke kleur heeft.
Dit werkt overgens alleen als je een verlengkabel hebt, met een printerkabel gaat dat niet (andere stekker).
Anders zul je de andere kant voorzichtig moeten openmaken en daar de kleuren bekijken.
Er is namelijk geen standaard kleurcodering zover ik weet.
Hieronder alles over de seriele poort pinouts.
Zowel de GROTE als de KLEINE.
Overigens moet je dus NIET de printerpoort gebruiken !!!
Maar de seriele poort.
De aansluiting waar de printerpoort op zit is dus de VERKEERDe !!!
code:
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
| Creating the hardware:
This howto discribes how to create the hardware for use with Com Control.
What you need:
1 Female Serial connector
1 A cable attached to it
4 Switches
Using a 9 pin connector:
Identify what cables are connected to what pins, you'll need pins: 1,4,6,8 and 9.
(A scheme is included below).
Cut away the rest of the wires, you won't be needing those.
Now each switch should be connected to the wire attached to pin 4,
the other leg of your switch should be connected to either pin 1,6,8 or 9.
After you connected all 4 buttons you'll end up with the following buttons:
Button 1 : Pin 4 and 8
Button 2 : Pin 4 and 6
Button 3 : Pin 4 and 9
Button 4 : Pin 4 and 1
Now connect the connector to your serial port and you're all done !!!
9 pin Serial Port Scheme
Female:
5 4 3 2 1
_____________
\ o o o o o /
\ o o o o /
---------
9 8 7 6
Male:
1 2 3 4 5
_____________
\ . . . . . /
\ . . . . /
---------
6 7 8 9
Using a 25 pin connector:
Identify what cables are connected to what pins, you'll need pins: 5,6,8,20 and 22.
(A scheme is included below).
Cut away the rest of the wires, you won't be needing those.
Now each switch should be connected to the wire attached to pin 20,
the other leg of your switch should be connected to either pin 5,6,8 or 22.
After you connected all 4 buttons you'll end up with the following buttons:
Button 1 : Pin 20 and 5
Button 2 : Pin 20 and 6
Button 3 : Pin 20 and 22
Button 4 : Pin 20 and 8
Now connect the connector to your serial port and you're all done !!!
25 pin Serial Port Scheme
Female:
13 <------- 1
_____________________________
\ o o o o o o o o o o o o o /
\ o o o o o o o o o o o o /
-------------------------
25 <----- 14
Male:
1 -------> 13
_____________________________
\ . . . . . . . . . . . . . /
\ . . . . . . . . . . . . /
-------------------------
14 -----> 25 |
Houd er ook rekening mee dat de pinnen vanuit de achterkant van een connector er precies andersom erop zitten. (tov de tekening dus) en let ook op of je een MALE of FEMALE connector in je klauwen hebt.
Suc6