1、目 录1、最小系统 .22、7279 键盘与显示.33S52 外接 I/O 口.44、液晶显示 .55、外挂 RAM6264.66、交通灯、8 位按键开关、PS/2.77、I/O 口扩展.88、步进电机、直流电机 .99、ISD1720 语音存储与回放.1010、IED 点阵.1111、DS18B20 温度传感、红外接收、MAX232 通信 .1212、ADC 与 DAC.131、最小系统1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and Setti
2、ngsAdministrator口口89s52口口口口口口口口口.ddbDrawn By:EA/VP31X119 X218RESET9RD17 WR16INT012 INT113T014 T115P10/T1 P11/T2P123 P134P145 P156P167 P178P00 39P01 38P02 37P03 36P04 35P05 34P06 33P07 32P20 21P21 22P22 23P23 24P24 25P25 26P26 27P27 28PSEN 29ALE/P 30TXD 11RXD 10U4AT89S52C4730pFC4830pFY5110592P00P01P0
3、2P03P04P05P06P07P20P21P22P23P24P25P26P27123456789R3010KVCC1 23 45 67 89 1011 12JP5JTAGP17P15P16TMSabcdefgdpTMSC4610uFR2910kVCCSRETRSTP10P11P12P13P14P15P16P17T19013 T29013 T39013 T49013R171K R181K R201K R211KP13P12P11P10RXDTXDINT0P16123456789R3110KVCCALEC18104 C20104 C23104 C38104VCCY632768C5020pFC49
4、20pFVCCRDVCC21 X12X23 GND4VCC1 8RST 5SCLK 7I/O 6U8DS1302RDINTINT0T0T1WR12345678J9P012345678J10P112345678J11P212345678J12P3P00P01P02P03P04P05P06P07P10P11P12P13P14P15P16P17P20P21P22P23P24P25P26P27RXDTXDINT0INT1T0T1WRRDD15LED D18LED D19LED D20LEDVCC12345678 J72CON4C40104 C42104C17104C161041234LED2LED41
5、2345PAJ21kC44104 C45104+ CDS2100U7642191053 8abcdef gdpcomcomDS1SMG7642191053 8abcdef gdpcomcomDS4SMG7642191053 8abcdef gdpcomcomDS3SMG7642191053 8abcdef gdpcomcomDS2SMGnum1 num2 num3 num4num1 num2 num3 num4a a a abbbbc c c c dpdpdpdp d gd gd gd g eeee ffffnum1 num2 num3 num4(RESET)PC6 29PD0(RXD)30
6、PD1(TXD)31PD2(INT0)32 PD3(INT1)1PD4(XCK/T0)2 PD5(T1)9PD6(AIN0)10 PD7(AIN1)11PB0(ICP)12 PB1(OC1A)13PB2(SS/OC1B)14 PB3(MOSI/OC2)15PB4(MISO)16 PB5(SCK)17PB6(XIAL1/TOSC1)7 PB7(XIAL2/TOSC2)8AVCC 18AREF 20ADC7 22(ADC0)PC0 23(ADC1)PC1 24(ADC2)PC2 25(ADC3)PC3 26(ADC4/SDA)PC4 27(ADC5/SCL)PC5 28VCC4GND21VCC6G
7、ND3GND5ADC6 19U2ATMEGA8Y212MHzC1327pF C1427pFR2810K +5+51234JP3HEADER 4 R1068R81.5KR9 6812J4CON2+5+5D83V6 D93V6D1DIODEC15104R111K R121K R131K12J2CON2C19104C21104C5347uFD10LED D11LED D12LEDS10SW SPST+1-2-3J13POWER2VCCA01 A12A23 GND4VCC 8SDA 5WP 7SCL 6U7AT24C02P36P35VCCR325.1KR335.1K12J5CON2+5VCCVCCLE
8、11 OE1D02 D13D24 D35D46 D57D68 D79Q0 19Q1 18Q2 17Q3 16Q4 15Q5 14Q6 13Q7 12GND10VCC20 U374SL573VCCP00P01P02P03P04P05P06P0712345678J6CON8C51470uF1 23 4JP62COM2EAP14CLKRETMOSIMISOUGNDGND +5VCLKRETMOSIMISOR221KD21LEDOEVCC12OECON2S3SW-PBS2SW-PBS1SW-PBS4SW-PBS5SW-PBS9SW-PBS13SW-PBS6SW-PBS10SW-PBS14SW-PBS7
9、SW-PBS11SW-PBS15SW-PBS8SW-PBS12SW-PBS16SW-PBP23P22P21P20P27P26P25P24R1410KVCC2、7279 键盘与显示1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 14-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口口口口口口口口(口口)89s52口口口口口口口口口.ddbDrawn By:VCC1 VCC2Vss4CS6 CLK7DATA8 KEY9Sg 10Sf11Se 12Sd 13S
10、c14Sb 15Sa 16DP17DIG0 18DIG1 19DIG220DIG3 21DIG4 22DIG523DIG6 24DIG7 25RC27RESET28U3_1HD7279AabcdefgdpR3_2 200R3_3 200R3_4 200R3_5 200R3_6 200R3_7 200R3_8 200R3_9 200R3_1210KR3_1110KR3_11.5K C3_130PFDIG0DIG1DIG2DIG3DIG4DIG5DIG6DIG7VCC3C3_2104 C3_3100uFVCC3R3_10200D3_1LED1234J3_1CON4S3_2SW-PB76541514
11、13123210111098S3_1SW-PB2*8POWER+5VGNDPOWER+5VGND7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS1SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS4SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS3SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS2SMGa a a a bbbb c c c c dpdpdpdp d gd gd gd g eeee ffff7 6 4 2 1 9
12、10 53 8a b c d e f g dpcomcomDS5SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS8SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS7SMG7 6 4 2 1 9 10 53 8a b c d e f g dpcomcomDS6SMGa a a a bbbb c c c c dpdpdpdp d gd gd gd g eeee ffffCOM1COM2COM3COM4COM5COM6COM7COM8COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8C
13、SCLKDATAINT3S52 外接 I/O 口1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口89s52口口口口口口口口口.ddbDrawn By:1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40U1_1system-s5212345678J1_2CON8123456
14、78J1_3CON8P10P11P12P13P14P15P16P17P30P31P32P33P34P35P36P37TMSGNDPOWER+5V12345678J1_4CON8 12345678J1_5CON8POWER+5VGNDP00P01P02P03P04P05P06P07ALEP20P21P22P23P24P25P26P2712345678J1_1CON8P10P11P12P13P14P15P16P1712345678J1_6CON8P00P01P02P03P04P05P06P0712345678J1_8CON8P30P31P32P33P34P35P36P37 P20P21P22P23
15、P24P25P26P2712345678J1_7CON8P10P11P12P13P14P15P16P1712345678J1_9CON8P00P01P02P03P04P05P06P0712345678J1_10CON81234J1_11CON4GNDPOWER+5VTMSALEGNDPOWER+5VGNDPOWER+5VS52-System I/O口4、液晶显示1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrat
16、or口口89s52口口口口口口口口口.ddbDrawn By:R2_110kR2_420R2_31KVCC2 GND1VDD2VLCD3RS4R/W5E6DB07DB18DB29DB310DB411DB512DB613DB714CS115NC16/RES17NC18LED+19LED-20J2_1YM12864RVCC2C2_3104D0EERWRS12345678J2_2CON8123J2_3CON3C2_2104S2_1KEYPOWER+5VC2_147uFVCC2 R2_21KD2_1LEDPOWER+5VGNDD1D2D3D4D5D6D7D0D1D2D3D4D5D6D7EERWRS5、
17、外挂 RAM62641 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口89s52口口口口口口口口口.ddbDrawn By:A73A64A55A46A37A28A19A010 D0 11D1 12D2 13D3 15D4 16D5 17D6 18D7 19A825A924A1021A1123A122OE22WE27CS226CS120 VSS14VDD28U4_1626412345678J4_1CON8
18、 12345J4_3CON51234J4_4CON412345678J4_2CON8VCC4 C4_1104S4_1KEYPOWER+5VC4_247uFVCC4 R4_11KD4_1LEDPOWER+5VGND6、交通灯、8 位按键开关、 PS/21 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口89s52口口口口口口口口口.ddbDrawn By:D10_10LED D10_11LED D10_12
19、LEDD10_1LED D10_2LED D10_3LED D10_4LED D10_5LED D10_6LEDD10_7LED D10_8LED D10_9LED12345J10_14X 1K12345J10_34X 1K12345J10_24X 1K12345J10_44X 1KVCC10VCC10VCC10VCC10H11H12H13H11 H12 H13H21H22H23H21 H22 H23H31H32H33H31 H32 H33 H41 H42 H43H41H42H43交交交交交123J10_5CON3123J10_6CON3L11 L12 L13 L11 L12 L13L21 L
20、22 L23 L21 L22 L23L21L22L23L11L12L13S10_2S10_3S10_4S10_5S10_6S10_7S10_8S10_1VCC1012345678J10_10CON8S1S2S3S4S5S6S7S8S1S2S3S4S5S6S7S8123456789J10_91K*8H1H2H3H4H5H6H7H8H1H2H3H4H5H6H7H88交交交交交GNDPOWER+5VGNDVCC10123456 J10_11PSKEYBOARDT1INT1POWER+5V123W1RW1J10_7CON1123W2RW12J10_8CON212J10_12CON2INT1T1PS/2
21、口口口口POWER+5VPOWER+5VGNDD10_13LEDD10_14LEDD10_15LEDD10_16LEDD10_17LEDD10_18LEDD10_19LEDD10_20LEDS1S2S3S4S5S6S7S8123456789J10_134.7K*8L1L2L3L4L5L6L7L8L1L2L3L4L5L6L7L87、I/O 口扩展1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口89s52
22、口口口口口口口口口.ddbDrawn By:12345678J8_2CON812J8_1CON2A1 B2 Q0 3Q1 4Q2 5Q3 6Q4 10Q5 11Q6 12Q7 13CLK8MR9 GND7VCC14 U8_174LS164VCC8 C8_1104S8_1KEYPOWER+5VC8_247uFVCC8 R8_11KD8_1LEDPOWER+5VGND8、步进电机、直流电机1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and Setting
23、sAdministrator口口89s52口口口口口口口口口.ddbDrawn By:12J9_2Q9_1T9013VCC9R9_24.7K11223344 5 56 67 78 8U9_1DS75452N11223344 5 56 67 78 8U9_2DS75452N1234J9_3IN123456J9_4OUTVCC9 VCC9IN1IN2IN3IN4IN1IN2IN3IN4OUT1OUT2OUT3OUT4VCC9VCC9OUT1OUT2OUT3OUT4C9_3104POWER+5VC9_4470uFVCC9 R9_11KD9_1LEDPOWER+5VGND1J9_1CON1C9_110
24、4 C9_2104S9_1KEYD9_2IN4148D9_3IN4148D9_4IN4148D9_5IN4148VCC99、ISD1720 语音存储与回放1 2 3 4 5 6ABCD654321DCBATitleNumber RevisionSizeBDate: 13-Jul-2009 Sheet of File: C:Documents and SettingsAdministrator口口89s52口口口口口口口口口.ddbDrawn By:REC24 PLAY23ERASE25 FWD26VOL19RESET 3FT22SS7 SCLK6MOSI5 MISO4MIC+10 MIC-11
25、Analn9Rosc20 AGC18LED 2Vssd 28Vccd1Vcca 21Vssa 8Vccp 14Vssp1 16Vssp2 12SP+ 15SP- 13AUD/AUX 17INT/RDY 27U6_1ISD1720VccdVssdVccaVssaVccpVccp1Vccp2RECPLAYERASEFWDVOLFTMIC+MIC-AnalnR6_7100kJ6_5SPEAKERVCC6R6_680k C6_144.7ufS6_2SW-PB6_3SW-PBS6_4SW-PBS6_5SW-PBS6_6SW-PBS6_7SW-PBRECPLAYERASEFWDVOLFTS6_8SW-PB
26、C6_3104R6_21KD6_2LEDVCC6C6_4104C6_9104C6_81041234J6_2CON4C6_10104C6_124.7ufC6_164.7ufC6_154.7uf C6_174.7ufVccdVccaVssaVssdC6_5104C6_6104VccpC6_134.7ufVssp1R6_44.7kVssp2R6_34.7kR6_54.7k12J6_6speakerRECVCC6MIC+MIC-12J6_1huatongC6_1104C6_2104S6_1KEYPOWER+5VC6_1147uFVCC6 R6_11KD6_1LEDPOWER+5VGND123J6_3CON3123J6_4CON3VccdVccaVccpVssp1 Vssp2VssdVssaGNDGND