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.

external and internal pullup

Status
Not open for further replies.

smercho

Newbie level 4
Joined
Nov 13, 2005
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bombay,India
Activity points
1,340
plzz someone elaborate on the difference between external pull up and internal pull up for a microcontroller port pin .. :?
 

oops,
the external pullup is a resistor you put on your board, the internal pullup is a resistor (or usually a transistor) that the semiconductor manufacturer has put inside the chip and connected to a pin.

One major difference, internal pullups have a lot of tolerance so you always need to do worst case calculations, which can be the max. or min. value of the resistor.

Bob
 

Plus you can choose by programm when to activate internall pull ups
 

thanx a lot for that
one more thing ..pullups r generally associated with the port pin values at the time of reset.
say I want to use a pin wihout internal pullup as an input pin ..do i need to connect a external pull up for that
 

In AVR uControllers for input pins (for ex PORTA) you write
DDRA=0x00;

no internal pullups : PORTA=0x00;
internal pullups PORTA=0xff;

In general you have to use pull ups. For example if you want to read a button that when you press it you have 0V and when you don't 5V you have to use pull ups. Else when you don't press the button the pin will flow and you don't get any good reasult
 

    smercho

    Points: 2
    Helpful Answer Positive Rating
hai
in 8051 based micro controllers only port 0 does not have the internal pull up
so if u r connecting it directly to any external circuits,u must connect a pullup resistor.to know the function of pullup resistors u can read any book delaing with 8051 family

sunish
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top