Click here to load reader

硬件接口开发系列之

  • View
    112

  • Download
    6

Embed Size (px)

DESCRIPTION

硬件接口开发系列之 ---. 并行端口编程. 并行端口编程学习要点:. Ⅰ. 什么是接口 Ⅱ. 为什么需要并行端口 Ⅲ. 模数转换和数模转换 Ⅳ. 并行打印机适配器介绍 Ⅴ. 并行适配器的编程使用 Ⅵ. 增强型端口和扩展型端口的学习使用 Ⅶ. 并行端口的数据位的扩展 Ⅷ. 运用实例一 ( 完整的数据采集系统 ) Ⅸ. 并行端口编程在其他方面上的运用. Ⅰ. 什么是接口. - PowerPoint PPT Presentation

Text of 硬件接口开发系列之

  • ---

  • .. ...... ().

  • .,,PCCDLAN

  • .1.

    2.

  • 1.

  • TTL74XXXTTL7474LS,74ALS,74S74FCMOS4000400074HC,74HCT74C

  • 2. PCRS-232,,SCSI,USBRS-232;;SCSIUSB ,,;,,,

  • . DAC)ADC)

  • 1.DAC)DACDACR-2RDACPWM)DACDAC

  • 2. DAC)(1) DAC 08008(2) AD 588 (3) AD 7548 812(4) MAX 521 8

  • 3.ADC)FLASH ADCSampling ADC)Integrating ADC)

  • 4. ADC)(1) ADC 0804 (2) MAX 158 88(3) MAX 186 128(4) MAX 111MAX14

  • .1. 2. DATA3. CONTROL4. STATUS5. 6.

  • 1. CentronicsCentronicsPC 8DATA4CONTROL5STATUS)

  • PcD7:D0)IOR* IOW*A9-A0IRQ5/IRQ71223184525D4OE*IRQ

  • DB-25CentronicriI/O11ControlC0*nSTROBE2-92-9DataD1-D8DATA1-DATA8SPP1010StatusS6nACK1111StatusS7*BUSY1212StatusS5PE1313StatusS4SELECT1414ControlC1*AUTO FEED1532StatusS3nERROR1631ControlC2nINIT1736ControlC3*nSELECT-IN18-2519.21.23.25.27.29.30.34GROUND

  • 2. DATADATACPU8D0-D7252-9D0-D7DATADATA16x78hx7Chx23IBM PC/ATDATA

  • DATAPC74LS37474LS24423456789C=0.0022uF07

  • 3. CONTROLcontrolcontrolD254IRQENSTATUSnACKCONTROL74LS240IRQEN74LS126CONTROL

  • CONTROL1oc1oc11oc1oc11161417+5vR=4KcR=27C=0.0022ufC0*C1*c2C3*IRQ EN(bit c4)74ls128

    74ls24074ls174PcD0D4D3D0D4

  • 4. STATUSSTATUS,STATUSDATA160x3790x3BDSTATUSS3-S7CONTROLSTATUSS6IRQ5IRQ7)PCSTATUS

  • STATUS(IBM PC/AT111015121374LS240DBUSYnACKPESELECTnERRORS7S6S5S4S374LS126D7D3CONTROL(IRQ EN)IRQ5IRQ7PC

  • 5. DATA0.5us0.5us0.5us7us5usnSTROBEBUSYnACK

  • ,DATA,nSTROBE,BUSYnACKPCDATANstrobeDATAPCNstrobeBUSYackBUSYBUSY

  • 6. 5484417TTLPC25DPCPC2536Centronics

  • .1. PC2. 3. 4. 5. DIP6.

  • 1. PCPCPCBIOS(MS-DOS)PCDATASTATUS DATA,CONTROLDATA

  • 2. STATUSCONTROL(8,54)DATAC outportb(port_address,data); :Data_variable=inportb(port_address);

  • 3. RS-23225DPCBDATAcontrolcontrolLED,DATASTATUSDATADATASTATUS

  • 4. 5

  • MOSFETMOSFETMOSFETTTLTTLMOSFET ULN2003ATTLMOSFET7ULN2003ATTL

  • ULN2003123TTLULN2003ANCCommonNO123+Vcc(
  • 5. DIPDIP,,DIP165,SER,LOAD,CLK165QH,LOAD24CLK,S7*243DIP

  • DIP44)HCT165WS_DIP-8CLKLOAD(D0)SH/LDINHCLKHGFEDCBAQHQH18916HCT165WS_DIP-8CLKSH/LDINHCLKHGFEDCBAQHQH18916HCT165WS_DIP-8CLKLOAD(D0)SH/LDINHCLKHGFEDCBAQHQH18916S3S1S2SERSERSER(S7*)797979U1U3U2

  • 6. DATASTATUS105I/O(200-300Kbps)DATADATA(EPP)(ECP)

  • .1. IEEE 1248 19942. 3. EPP4. EPP BIOS5. EPPI/O6. EPP7. 8.

  • 1. IEEE 1248 19941991IEEE 12481994-IEEE 1248PC20-50IEEE 1248IEEE 12485

  • Centronicsstatusdata EPPECP

  • 2. EPPIEEE 1248(Intel,Xircom,Zenith Data SystemsIEEE EPPEPPCCP17143EPP

  • 3. EPPEPPEPPSPP DATA1SPPSTATUS2SPPCONTROL3EPP ADDRESS4-7EPP DATA4DATA57I/O1632(32I/O),

  • 4. EPP BIOSI/OEPPEPP BIOSBIOS|I/OEPPEPPEPP BIOSBIOSI/O,Install Check,Set Mode,Interrupt Control,EPP Reset,Address Read,Address Write

  • 6. EPPPCEPPEPPEPPEPP5EPPEPPEPP ADDRESSEPP DATAEPPSPPEPP(ECR,0x402h)

  • ECREPPSMCFDC37C665/66ECRECR567FDPC87332ECRECR567SMCFDEPPEPP1EPP 2EPPEPP 3EPP ADDRESSDATAEPP

  • 7. ECP)HPMicrosoftpc/ECPEPPECPRLERLE

  • 8. IEEE 1248EPPECPIEEE 1248Texas InstrumentNational Semiconductor

  • .

    1. 2. EPP3. EPP8255-PPIO

  • 1. DATACONTROL44DATA4CONTROL44/1615

  • 48DATA74HCT273*40-78-1516-2324-31C0*C1*C2C3*

  • 2. EPPEPPEPPI/OI/ODATA

  • EPPI/O*3EPP8I/O8I/O8I/O8

  • 3. EPP8255-PPIO82558255I/O8255-PPIO8255EPP

  • EPP8255165

  • 8255PCBIOS

  • . ()

    8I/OADC8Maxim8ADC,ADC8884ADC

  • ADC*1*0S4-S7C0-C23/8CS*RD*MAX15807IN0IN7

  • 8(121)

  • J1 DB-25D0-D7DATAC0*,C1*,C2,C3*CONTROLS4,S5,S6S7STATUS 74HCT138Y0-Y7SEL_0-SEL_7SEL_074HCT74(U4-A)174HCT74DSEL_1374HCT244ADC8STATUSU5U68I/OU7AU7B8I/O

  • .

    EPROM

Search related