INTRODUCTION TO MICROPEOCESSOR
MICRO PROCESSOR AND MICRO CONTROLLER
| 
 Question 
 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
 
 | 
 Which out of the four ports of 8051 needs a pull-up resistor for using it is as an input or an output port? 
| 
 | 
  PORT 0 
 
 | 
| 
 | 
  PORT 1 
 
 | 
| 
 | 
  PORT 2 
 
 | 
| 
 | 
  PORT 3 
 
 | 
 Explanation: 
Detailed explanation-1: -Pins 1 to 8 are the PORT 1 Pins of 8051. PORT 1 Pins consists of 8-bit bidirectional Input / Output Port with internal pull-up resistors.
Detailed explanation-2: -Port 0 (Pin No 32 – Pin No 39) It can be used for input or output. Unlike P1, P2, and P3 ports, we normally connect P0 to 10K-ohm pull-up resistors to use it as an input or output port being an open drain. It is also designated as AD0-AD7, allowing it to be used as both address and data.
Detailed explanation-3: -Port 0 occupies a total of 8 pins (pins 32-39). It can be used for input or output. To use the pins of port 0 as both input and output ports, each pin must be connected externally to a lOK-ohm pull-up resistor.
 There is 1 question to complete.