-
I will. 40 pins.
1. Main power supply pins VSS and VCC
VSS grounding.
The VCC is a +5 volt power supply during normal operation.
2. Connect external crystal oscillator pins XTAL1 and XTAL2
The input of the inverting amplifier of the internal oscillation circuit of XTAL1 is a pin of the external crystal. When an external oscillator is employed, this pin is grounded.
The output of the inverting amplifier of the XTAL2's internal oscillation circuit. is the other end of the external crystal. When using an external oscillator, this pin is connected to an external oscillator source.
3. Control or multiplex with other power supply pins RST VPD, ALE, and VPP
RST VPD When the oscillator is running, two machine cycles of high (low to high jumps) appear on this pin, which will reset the microcontroller.
During a VCC power-down, this pin can be connected to Figure 2-9 8051 Pinout Diagram.
On the backup power supply, the VPD provides backup power to the internal to maintain the data in the internal RAM.
During normal operation, ALE provides the ALE function (which allows address latching) to latch the address with a low byte latch to an external latch, and the ALE pin periodically sends a positive pulse signal at a constant frequency (the oscillator frequency). Therefore, it can be used as an external output clock, or for timing purposes. Note, however, that whenever an external data memory is accessed, an ale pulse, will be skipped, ale
The terminal can drive (sink or output current) eight LSTTL circuits. For EPROM microcontrollers, this pin receives the programming pulse (function) during EPROM programming
The external program memory reads the signal output and is valid twice per machine cycle during the retrieval of instructions (or data) from the external program memory.
The same can drive eight LSTTL inputs.
VPP and VPP are selected for internal program memory and external program memory. When VPP is high, access the internal program memory when.
When VPP is low, external program memory is accessed.
For EPROM microcontrollers, a 21-volt EPROM programming power supply (VPP) is added to this pin during EPROM programming.
4. Input and output pins -
P0 ( - is an 8-bit open-drain bidirectional I-O port that is a time-sharing low-byte address and data bus for accessing external memory, and P0 can drive eight LSTTL loads by drawing current.
P1 port ( -
It is an 8-bit quasi-bidirectional I-O port with an internal lift resistor. It can drive (sink or output current) up to four LSTTL loads.
P2 port ( -
It is an 8-bit quasi-bidirectional I-O port with an internal boost resistor, and when accessing external memory, it outputs a high 8-bit address. The P2 port can drive (sink or output current) up to four LSTTL loads.
P3 port ( -
It is an 8-bit quasi-bidirectional I-O port with an internal lift resistor. It can drive (sink or output current) up to four LSTTL loads.
-
CAN bus, you go to the library to check, that LAN is very simple.
-
The reason why a single-chip microcomputer is called a single-chip microcomputer is because the single-chip chip integrates the CPU, data memory, program memory, and bus system into one chip.
To understand this problem, we must first understand the components and working principles of the computer, only to understand the various components of the computer and how the parts of the work are coordinated and coordinated, and then figure out the composition of the single-chip microcomputer, so that we can understand why the single-chip microcomputer is called a single-chip microcomputer.
The composition of the computer.
When we configure a computer, we have to buy things such as CPU, memory, hard disk, monitor, keyboard, mouse, power supply, etc. These parts are independent of each other, and only when they are combined can the functions of a computer be realized.
As we know, a computer is made up of five main parts: combinators, controllers, memory, input devices, and output devices.
It's as simple as letting the 8 LEDs controlled by the P1 port flash back and forth three times in sequence. >>>More
Ignoring the influence of temperature and other factors, the method of measuring voltage by series resistance can be directly adopted. >>>More
Just learn 51 first, the absolute entry-level, you can choose Guo Tianxiang's for the development board, it's been many years, the information is very complete, and then you can look at 32 or something.
Hello: I wrote the program:
#include >>>More
If you really want to learn, you don't need to buy a development board. Find a minimal system board, then learn something, buy components and build small circuits by yourself. Run the electronic market by yourself, build the circuit by yourself, in order to know the problem, in order to learn something, buy a development board, according to the circuit on the manual, and then put the program into it, and then the program basically understands, this is not called learning... >>>More