Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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 .. :?
 

bobsanjose

Advanced Member level 1
Joined
Jan 13, 2006
Messages
416
Helped
54
Reputation
108
Reaction score
21
Trophy points
1,298
Location
Silicon Valley
Activity points
5,228
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
 

thuvu

Member level 3
Joined
Jan 3, 2006
Messages
65
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,288
Activity points
1,819
Plus you can choose by programm when to activate internall pull ups
 

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
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
 

thuvu

Member level 3
Joined
Jan 3, 2006
Messages
65
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,288
Activity points
1,819
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

sunish

Advanced Member level 4
Joined
Sep 4, 2005
Messages
117
Helped
10
Reputation
20
Reaction score
2
Trophy points
1,298
Activity points
2,359
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top