Introduction to the pins and functions of 80C51 microcontroller

Publisher:CuriousObserverLatest update time:2024-03-13 Source: elecfansKeywords:80C51 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

First, let’s connect the pin diagram of the microcontroller. If so, the specific functions are introduced below.

The 40 pins of the microcontroller can be roughly divided into 4 categories: power, clock, control and I/O pins.


⒈ Power supply: ⑴ VCC - chip power supply, connected to +5V;

⑵ VSS - ground terminal;

⒉ Clock: XTAL1, XTAL2 - the inverting input and output terminals of the crystal oscillator circuit.

⒊ Control lines: There are 4 control lines in total.

⑴ ALE/PROG: Address latch enable/on-chip EPROM programming pulse

① ALE function: used to latch the lower 8-bit address sent from port P0

② PROG function: For chips with EPROM inside the chip, during EPROM programming, this pin inputs programming pulses.

⑵ PSEN: External ROM read strobe signal.

⑶ RST/VPD: reset/standby power supply.

① RST (Reset) function: reset signal input terminal.

② VPD function: connect to backup power supply when Vcc loses power.

⑷ EA/Vpp: Internal and external ROM selection/on-chip EPROM programming power supply.

① EA function: internal and external ROM selection terminal.

② Vpp function: For chips with EPROM inside the chip, during EPROM programming, the programming power Vpp is applied.

⒋ I/O line

80C51 has a total of four 8-bit parallel I/O ports: P0, P1, P2, and P3 ports, with a total of 32 pins. Port P3 also has a second function, used for special signal input and output and control signals (belonging to the control bus).

Introduction to the pins and functions of 80C51 microcontroller

〈51 microcontroller pin diagram and pin functions〉


Keywords:80C51 Reference address:Introduction to the pins and functions of 80C51 microcontroller

Previous article:An article explaining the instruction system of 80C51 microcontroller in detail
Next article:An article explaining the interrupt system of 80C51 microcontroller in detail

Recommended ReadingLatest update time:2024-11-16 11:28

80C51 serial communication
1. Serial port structure 2. Serial port control register The difference is that the timer interrupt control register is TMOD and the serial port is SCON.   fosc is the crystal frequency, generally used mode 1----- SM0SM1 = 01; start bit + 8 bits of data + stop bit = 10 bits of data We usually set SM2 to 0; RE
[Microcontroller]
80C51 serial communication
80C51 MCU Program (3)
80C51 MCU program - light up the digital tube (one digit 0-9 is displayed in a cycle) #include reg52.h         //Include reg52.h header file #define uint unsigned int      //Macro definition of uint data type is unsigned int type  #define uchar unsigned char      //Macro definition of uchar data type is unsigned ch
[Microcontroller]
80C51 MCU instruction system (II) addressing mode
4.2.1 Common symbols used in the instruction system: Rn: register in the current register workspace, where n=0--7; direct: internal data memory address, can specify an internal RAM unit (0-- 127) or a dedicated register (128-- 255); @Ri: Indirect addressing through R1 or R0, specify a unit in the data memory RAM (
[Microcontroller]
80C51 MCU instruction system (II) addressing mode
Introduction to 80C51 Microcontroller
The 80C51 microcontroller belongs to the MCS-51 series of microcontrollers, developed by Intel. Its structure is an extension of the 8048 and improves on its shortcomings. Instructions such as multiplication (MUL), division (DIV), subtraction (SUBB), comparison (CMP), 16-bit data pointers, Boolean algebra opera
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号