Because there is no pull-up resistor inside the P0 port, it is open-drain, no matter how big the driving capability is, it is equivalent to it has no power supply, and needs external circuit supply. In most cases, the P0 port is necessary to add Resistance. 1. The P0 port of the general 51 MCU is not connected to the pull-up resistor when it is used as address/data multiplexing. 2. When used as a general I/O port, since there is no pull-up resistor inside, connect the pull-up resistor! ! 3. When the p0 port is used to drive the PNP tube, the pull-up resistor is not needed because the low level is effective at this time; 4. When the P0 port is used to drive the NPN tube, the pull-up resistor is needed because At this time, only when P0 is 1, the latter end can be turned on. To put it simply, it must have a power supply to drive the LCD display. Otherwise, it will not light up, and there is no power supply at the P0 port. Therefore, an external power supply is required, and the resistor is connected to limit current. P2 and P3 ports do not need external power supply and resistors.
Pull-up Resistor Definition: Pull-up is to clamp an indeterminate signal through a resistor at a high level! The resistor acts as a current limiting device at the same time! Pull down the same reason! Pull-up is to inject current into the device, pull-down is output current; weak strength is only the resistance of the pull-up resistor is different, there is no strict distinction; for non-collector (or drain) open-circuit output type circuit (such as ordinary gate circuit) to boost current The ability of the voltage and the voltage is limited. The function of the pull-up resistor is mainly to output the current channel for the open-collector output type circuit.
Pull-up: When 1TTL drives CMOS, if the TTL output is at the lowest level lower than the CMOS minimum level, increase the output high level. 2 OC gate must be pulled to increase the level value by 3. The drive capability of the output (common to the MCU) 4 CMOS chip (especially the chip of the gate), for anti-static interference, the unused pins are not suspended, generally pull up, reduce the impedance, provide the discharge path 5, increase the output level Improve the noise margin of the chip input signal, enhance the anti-jamming 6. Improve the bus's anti-electromagnetic capability, and the empty leg is susceptible to electromagnetic interference. 7 Long-line transmission plus pull is the principle of impedance matching to suppress reflection interference: 1 from saving power and chip Current, capacity should be as large as possible, R is large, I is small 2 from ensuring the driving ability, the resistance should be small enough, R is small, I is big 3 pairs of high-speed circuits, plus pulling may be gentle on the edge (rise time is extended) Choose between 1K---10K (according to the actual situation)
What is the boot process for Linux? How to complete the system startup through grub boot? These pro
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
Layer 2 Tunneling Protocol (L2TP) is an industry standard Internet tunneling protocol that uses UDP
There is no new concept in this article. We just use command line tools to repeat what we have done
Linux mv command: moving files or directories
Linux vmware tools under VMware Workstation VM
How to start and shut down Linux system
Solve the disk space is full, making it impossible to read and write to the disk!
The most commonly used network commands in Linux and Unix systems
Quickly delete a large number of files under linux
How to configure vsftpd virtual account
Be a good housekeeper Linux system management skills
CF soldier training camp starts refining new recruits to the package
Win7 problem step recorder recording fault program
Pseudo IE icon deleted? Experts easily get
Task Manager can not open the solution
Win8 corresponds to UEFI fast boot method
Thunder can not download the magnetic link how to do Thunder can not download the solution
Win8 Documents and Settings shortcuts can not be deleted solution
Win9 technology preview version more information exposure
How to enable hard disk AHCI mode under WinXP
How to hide content that is not suitable for disclosure in Vista