下面为ECP的管脚说明,按图上所示18脚为LANC的地信号,17脚为写信号,15脚为
读信号,但如果NPN管的C极接18脚的话,则NPN管无法工作,正确的做法应为NPN管的E极接18脚,NPN管的C极接15脚。
另外我认为在NPN管的B极和ECP的15脚之间应该串接一个1K的电阻来限流,以便让NPN管更容易的工作在开关态。
我用的NPN管是2N5551,主要特性参数:0.6A/180V/β=80-250,线为同轴电缆。
ECP Parallel ECP = Extended Capabilities Port
(At the PC)
25 PIN D-SUB FEMALE at the PC. Pin Name Dir Description
1 nStrobe Strobe
2 data0 Address, Data or RLE Data Bit 0
3 data1 Address, Data or RLE Data Bit 1
4 data2 Address, Data or RLE Data Bit 2
5 data3 Address, Data or RLE Data Bit 3
6 data4 Address, Data or RLE Data Bit 4
7 data5 Address, Data or RLE Data Bit 5
8 data6 Address, Data or RLE Data Bit 6
9 data7 Address, Data or RLE Data Bit 7
10 /nAck Acknowledge
11 Busy Busy
12 PError Paper End
13 Select Select
14 /nAutoFd Autofeed
15 /nFault Error
16 /nInit Initialize
17 /nSelectIn Select In
18 GND Signal Ground
19 GND Signal Ground
20 GND Signal Ground
21 GND Signal Ground
22 GND Signal Ground
23 GND Signal Ground
24 GND Signal Ground
25 GND Signal Ground Information from The Hardware Book