• AVR Freaks

Hot!PIC 12F629

Author
FadNas
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2020/06/26 15:34:26
  • Location: 0
  • Status: offline
2020/07/01 02:28:14 (permalink)
0

PIC 12F629

Hello, I have little confusion regarding the weak pull-ups in the 12F629. Is it a must enabling the weak pull-ups on the IO pins when configuring them as inputs? if it's not then please explain about the inconvenient of having input IOs without enabling pull-ups.
Thank you.
#1

4 Replies Related Threads

    upand_at_them
    Super Member
    • Total Posts : 578
    • Reward points : 0
    • Joined: 2005/05/16 07:02:38
    • Location: Pennsylvania
    • Status: offline
    Re: PIC 12F629 2020/07/01 08:36:06 (permalink)
    +2 (2)
    No, it's not a must, but you should then have an external pullup such as 10K ohms.  If you're connecting to a device that already has a pullup then you won't need one.
    #2
    ric
    Super Member
    • Total Posts : 27976
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC 12F629 2020/07/01 13:39:18 (permalink)
    +2 (2)
    A pullup (internal or external) is only required if a pin may at times not be driven by an external signal.
    i.e. if it is always driven by a logic gate, then no pullup is required.
    The aim is to NEVER allow an input pin to "float".
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #3
    RISC
    Super Member
    • Total Posts : 5775
    • Reward points : 0
    • Status: offline
    Re: PIC 12F629 2020/07/02 02:38:04 (permalink)
    +1 (1)
    Hi,
    Please pay attention that internal pull ups are meant to be used when the I/O pin is in input mode only (some PICs have open drain option for output mode. In this case pull-up should be disabled)
    Regards
     

    For support make sure to check first here : http://microchipdeveloper.com
    There are hundreds of PIC, AVR, SAM...which one do YOU use ?
    #4
    FadNas
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2020/06/26 15:34:26
    • Location: 0
    • Status: offline
    Re: PIC 12F629 2020/07/02 05:14:29 (permalink)
    0
    Thank you all for your intervention
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5