《单片机原理与接口技术 (4).pdf》由会员分享,可在线阅读,更多相关《单片机原理与接口技术 (4).pdf(23页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、单片机原理与接口技术目录CONTENT000000001111111100000000ORG 0000HSTART:MOV P1,#00H ACALL DELAYMOV P1,#0FFH ACALL DELAYSJMP STARTDELAY:MOV R3,#0FFHDEL2:MOV R4,#0FFH DEL1:NOP DJNZ R4,DEL1 DJNZ R3,DEL2 RET END ALEWRRDP1.0P1.1P1.2P1.3P1.4P1.5P1.6P1.7+5VORG 0000HSTART:MOV R2,#8MOV A,#0FEHLOOP:MOV P2,ALCALL DELAYRL A
2、;DJNZ R2,LOOP ;8 LJMP STARTDELAY:MOV R5,#20 ;0.2sD1:MOV R6,#20D2:MOV R7,#248DJNZ R7,$DJNZ R6,D2DJNZ R5,D1RETENDA/D转换器AT89C51单片机LED显示冷冻室温度传感器键盘时钟电路复位电路电源放大器放大器放大器冷藏室温度传感器除霜传感器功率放大器锁存器压缩机加热丝95DS18B20STC89C52(c)(d)(a)(b)AVRATTiny 13ATTiny 13ATTiny 13AVRIntelP8051AHAtmelAT89S51“”P8051AH1AT89S51“”CPU+CPU
3、CPUMemoryHard DiskPeripheralHardware terfaceMother BoardCPURAMROMPeripheralHardware InterfaceBusCPURAMROMI/OLSI/AT89S51AT89S5151AT89S51DIPPLCCTQFPAT89S51AT89S51AtmelADC(a)(b)(c)(d)(Harvard)ROMRAMROMRAMRAMROM(SFR)ROMRAMI/O/CHMOST0 T1P0 P1 P2 P3TXDRXDINT0 INT1RAM+CPUI/OROM/52/2 16MHZ12MHZROM4KBROMCPU8
4、I/O48I/OP0P1P2P3RAM256RAM128128/16/CPU8RAM256RAM128128ROM4KBROM/16/I/O48I/OP0P1P2P352/216MHZ12MHZT0 T1P0 P1 P2 P3TXDRXDINT0 INT1RAM+CPUI/OROM/CB DB ABROM+CPURAMI/OData Bus88Control BusAddress BusCPUROMRAMI/ODMA/BusCPUROMRAMI/O1.51P0P0CPUP02.5116P0P08P088P23.51P3.7P3.67D6D5D4D3D2D1D0D51A41A31A21A11A01A9A8A7A6A5A4A3A2A1A0A0.3P1.3P2.3P3.3P4.3P5.3P6.3P7.3P0.0P1.0P2.0P3.0P4.0P5.0P6.0P7.0P0.2P1.2P2.2P3.2P4.2P5.2P6.2P7.2P0.1P1.1P2.1P3.1P4.1P5.1P6.1P7.1P AENESP ELAELASSV CCVTESER G器存锁V 5+)BC(线线 总总 制制 控控 O/I户户用用)BD(线线 总总 据据 数数)BA(线线 总总 址址 地地 89C51启迪智慧思维创造精彩人生