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).
〈51 microcontroller pin diagram and pin functions〉
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
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- How to read electrical control circuit diagrams (Classic best-selling books on electronics and electrical engineering) (Zheng Fengyi)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- MicroPython Hands-on (04) - Basic Examples of Learning MicroPython from Scratch
- What is 802.11ah or HaLow?
- Recruiting senior RF engineers
- [Summary] STM32F107 board data and μC/OS routine software
- [Silicon Labs development kit review] + FreeRTOS + wonderful basic peripherals
- Tesla Robot Optimus Prime Conference Uncut 4K HD Episode 4
- Ultra-low power Bluetooth controlled, cost-effective, dimmable smart lighting solution
- Open source popsicle macro key macropopsicle
- Homemade oscilloscope current probe developed successfully: measuring STM32 FOC motor board
- Altium to KiCad Tool