Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 27th May 2009, 08:23 PM   #1
Default weak/strong pull-up.

Hey guys,

I oftenly hear the terms weak pull-up and strong pull-up resistors.
Could you please give me an example when a strong pull-up is needed, and when a weak pull-up is enough?

Thanks for any help.
alphacat is offline  
Old 27th May 2009, 08:42 PM   #2
Default

Think this post will help -

Jargon Buster [Archive] - Electronic Circuits Projects Diagrams Free
Wp100 is offline  
Old 29th May 2009, 12:15 PM   #3
Default

Weak pullups are often fine for digital inputs, such as a switch a user might push. A strong pull-up may be needed on something like an I2C bus. If there is a fair amount of capacitance on the line, the pullups may take a long time to pull the line back to a logic HIGH which would limit the maximum bus speed. By increasing the strength of the pullup, the bus is pulled up quicker, and the speed can be increased.

As a very fat thumbed rule of thumb, I start with a 10k pullup and work from there. In battery powered applications I'll try to go up to 100k or more if I can get away with it, and in bus communications I've gone to a couple hundred ohms. Cell phones use pullups in the mega-ohm range.
__________________
A rectangular bear is just a polar bear after a coordinate transform. -- I dunno who.
A recent study shows that research causes cancer in rats. -- I dunno who said that one either.
Noggin is offline  
Old 29th May 2009, 03:17 PM   #4
Default

Lets take the PIC18F1320 for example. in the datasheet on page 252 you will see all the info you need.

if using a 10k resistor on 5v thats a pull up of 0.0005mA aka 500uA

For the 1320:
PORTB weak pull-up current : 50-400uA

so if you need to make a week pull up for that you have to :

5v / 400uA = 5 / .0004 = 12500 = 12.5k Ohm resistor.

so a 12.5kohm resistor will give you the 400uA to make a Week Pullup.
AtomSoft is offline  
Old 29th May 2009, 05:19 PM   #5
Default

When you use an EEPROM or a temperature sensor on a 1-wire bus, you need a weak pull-up when the processor is talking to the sensor, but a strong pull-up when the 1-wire device is drawing power.
Diver300 is offline  
Reply

Tags
pullup, weak or strong

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Pull-up and pull-down configuration of pins. electricity86 Micro Controllers 10 7th July 2009 07:49 PM
Weak Pull-ups on 16F690 Angry Badger Micro Controllers 4 25th May 2009 03:23 AM
MCLR, Pull-up,Pull-down with ICD2 clone GRC Micro Controllers 2 2nd January 2007 12:52 AM
Weak Pull Up PIC16F628 clarification Dan East Micro Controllers 2 2nd August 2004 11:37 PM
weak pull ups or not? SnM Micro Controllers 1 13th February 2004 10:09 PM



All times are GMT. The time now is 05:47 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker