+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Newbie level 4
    Points: 1,326, Level: 8
    smercho's Avatar
    Join Date
    Nov 2005
    Location
    Bombay,India
    Posts
    5
    Helped
    0 / 0
    Points
    1,326
    Level
    8

    external and internal pullup

    plzz someone elaborate on the difference between external pull up and internal pull up for a microcontroller port pin .. :?

    •   Alt26th January 2006, 07:11

      advertising

        
       

  2. #2
    Advanced Member level 1
    Points: 4,274, Level: 15
    bobsanjose's Avatar
    Join Date
    Jan 2006
    Location
    Silicon Valley
    Posts
    416
    Helped
    54 / 54
    Points
    4,274
    Level
    15

    external and internal pullup

    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



    •   Alt26th January 2006, 07:53

      advertising

        
       

  3. #3
    Member level 3
    Points: 1,724, Level: 9

    Join Date
    Jan 2006
    Posts
    65
    Helped
    7 / 7
    Points
    1,724
    Level
    9

    external and internal pullup

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



    •   Alt26th January 2006, 08:48

      advertising

        
       

  4. #4
    Newbie level 4
    Points: 1,326, Level: 8
    smercho's Avatar
    Join Date
    Nov 2005
    Location
    Bombay,India
    Posts
    5
    Helped
    0 / 0
    Points
    1,326
    Level
    8

    Re: external and internal pullup

    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



  5. #5
    Member level 3
    Points: 1,724, Level: 9

    Join Date
    Jan 2006
    Posts
    65
    Helped
    7 / 7
    Points
    1,724
    Level
    9

    external and internal pullup

    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


    1 members found this post helpful.

  6. #6
    Full Member level 1
    Points: 362, Level: 4

    Join Date
    Sep 2005
    Posts
    118
    Helped
    10 / 10
    Points
    362
    Level
    4

    Re: external and internal pullup

    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



+ Post New Thread
Please login