Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Pull-up Resistor in PORT 0

Status
Not open for further replies.

vinothksr08

Member level 3
Joined
Jun 18, 2013
Messages
66
Helped
7
Reputation
14
Reaction score
7
Trophy points
8
Location
Tamilnadu, India
Activity points
367
Hai..

Why we have to connect pull-up resistor in PORT0.? why not in other PORTS??
Can't we make same architecture to PORT0 like other PORTS??

please clarify these doubts..

thanks in advance..
 

Beacuse they are either open collector or open drain ports. So pullups are needed. The other ports are not open collector or open drain type.
 

OpencollectorV3.png

You can see an open collector o/p used in IC. In same way we have open drain o/p in 8051 port0. The output essentially acts as either an open circuit (no connection to anything) or a connected to ground. we use external pullup resistor to provide high volt (1) rather than providing open circuit output.



Because the pull up resistor is external and need not be connected to the chip supply voltage, a lower or higher voltage can be used instead. Open collector circuits are therefore sometimes used to interface different families of devices that have different operating logic voltage levels or to control external circuitry that requires a higher voltage

_______________________________________________________________________
this useful post copied from this link
https://www.engineersgarage.com/forums/8051/pull-resistor
 
Completely agree with #MAAM#

Pull-ups are used so that components with a different driving voltage can be connected to the microcontroller. And as we don't need many of such components together, only one port is made so. If yo need more, you need to use any driver.
 

Ask the designer of 8051.

hai jayanth,

i know to ask with 8051 designer, you don't want to say. if you don't know means simply stay out **?

:lol:

sorry if i hurted...

- - - Updated - - -

Completely agree with #MAAM#

Pull-ups are used so that components with a different driving voltage can be connected to the microcontroller. And as we don't need many of such components together, only one port is made so. If yo need more, you need to use any driver.
can you say any example??? different driving voltage mean, we can get more then 5V from PORT0 ? is it???
 

You got it wrong. We cannot get more than 5V from Port 0. Actually it is not the output voltage of Port 0 that we get at its pin (the reason being Open Drain/Collector configuration). The output of Port 0 will just connect the Pull-up resistor supply to the output.

Follow this link to get your doubts clarified. Read the introduction and the applications part carefully.
Wikipedia - Open Collector

I guess, this should clarify your doubts. If any doubts get back.
 
  • Like
Reactions: #MAAM#

    V

    Points: 2
    Helpful Answer Positive Rating

    #MAAM#

    Points: 2
    Helpful Answer Positive Rating
You got it wrong. We cannot get more than 5V from Port 0. Actually it is not the output voltage of Port 0 that we get at its pin (the reason being Open Drain/Collector configuration). The output of Port 0 will just connect the Pull-up resistor supply to the output.

Follow this link to get your doubts clarified. Read the introduction and the applications part carefully.
Wikipedia - Open Collector

I guess, this should clarify your doubts. If any doubts get back.

thank you rakesh...

I Got you...
My doubts are clarified....
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top