system guide1: simple eight-way Marquee case 8: 74LS14 reverser experiment  15: infrared remote control experiment 23: hardware counter  with NE555 oscillator 
Each interface module definition2: 8-way controller lantern  9: 74LS138 3-8 decoder experiment  16: Chinese characters display case 24: real-time clock experiment with DS1302
Quick Start3: 8-way DIP switch state display with 8 indicators 10: 74LS164 serial in parallel out control  17: 8155 experiment . 25: PS2 keyboard experiment
USB interface installation4: Digital Tube display with static scanning 11: 74LS165 parallel in serial out control  18: 24C02 store the number of booting  26: SD card SPI mode experiment
ISP downloading part5: LED number display with dynamic scanning. 12: D/A conversion  with DAC0832 19: step motor experiment 27: 485 communication experiment
simulating operation guide6: key button detecting (number show) 13: A/D conversion  with ADC0804 20: 93c46 demonstration program  28: 12864 LCD display “A”
single chip system Experiments 7: Matrix keypad recognition technology 14: alarm with small speaker case  22: digital temperature display  with 18B20 Chapter VII frequently asked questions and answers

Introduction of XL2000 experimental system    

user manual download:quickstart download:XL2000 Experimental part of the schematic XLISP Applications software download:

ebay store     Shipped by UPS/ to USA/worldwide, (about 3-5 days)

      MCS-51 single-chip pin description

8051引脚图   51 Series single-chips like 8031, 8051 and 89c51/89s51 are all adopting dual in-line package(DIP) with 40Pins. The following are specifications of the 40pins chart. Power and ground occupy two pins, external quartz oscillator clock occupy another two pins, total of 32(4*8bit) I/O ports occupy 32pins, the interrupt port multiplexed with P3 port. Next, let us explain the functions of each pin one by one:

                                                PIN20:  ground.

PIN40: +5 V power supply.

PIN19: XTAL1 clock, on-chip oscillation circuit input.  PIN18: XTAL2 clock, on-chip oscillation circuit output.   8051 can work in two clock mode, one is the on-chip clock oscillation mode, in this case, PIN18 and PIN19 need to be connected to an external quartz crystal (2-12MHz) and oscillation capacitor. The oscillation capacitor value takes 10p-30p. Another mode is the external clock, XTAL1 connected to ground, external clock signal connected to XTAL2.

 

8051时钟电路Input and output (I / O) pins:

PIN39-PIN32: mapped to P0.0-P0.7 I/O port.
PIN1-PIN8: mapped to P1.0-P1.7 I/O port.
PIN21-PIN28: mapped to P2.0-P2.7 I/O port.        

PIN10-PIN17: mapped to P3.0-P3.7 I/O port.

8051时钟电路 

 

PIN9: RESET/Vpd reset signal. When power on 8051, clock circuit starts to work and a high TTL of 24 clock cycles signal occurs on RESET pin. By this way, the system is reset and initialized.                                        The 8051 can be reset automatically and can also be manually, see below. In addition, RESET/Vpd is a multiplexed pin, during the Vcc power-down period, this pin can be connected to a back-up power and make the RAM data inside the chip not lost. 

 

PIN30: ALE/PROG, when the CPU accesses external program, ALE (address latch) used to latch the output of low-bytes of the address. When CPU accesses internal memory, ALE will emit a pulse signal of 1/6 clock cycle. This signal can be used to identify whether the CPU works or not, and can also be used as an external clock output. When writing EPROM, RROG pin will be used as input programming pulse.                                   

 PIN29: when accessing external program memory, this pin generates negative pulse selection signal. PC's 16-bit data address will appear at the P0 and P2 port. External program memory will put instruction at port P0. It is read by the CPU and executated.

 PIN31: EA/Vpp, internal and external memory selection pin. 8051 and 8751 single-chip has built-in 4KB code memory. When EA is high and instruction address is less than 4KB, CPU loads instruction from internal memory, if instruction address is greater than 4KB, CPU loads instruction from external code memory. However, when EA is low, CPU always loads instruction from external memory regardless of address value.

 Icon explanation:

beginning of each chapter

Source program of experiment

Line connect of the experiment

SHEN ZHEN XUELIN ELECTRONIC TECHNOLOGY CO.,LTD.

ADD:A302,XingJingYuan ,NanKeng,BanTian,SHENZHEN,GUANGDONG P.R.CHINA
Postalcode: 518129  TEL:86-755-89603537    FAX:86-755-89956892
E-Mail:51C51@163.COM