Series resistor when using weak pull-up


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31

    Post Series resistor when using weak pull-up

    Hi, I am designing a board that is connected to a momentary switch,
    normally i just use a pull-up resister and a series resistor and a capacitor,
    the series resistor and capacitor work as a low-pass filter to suppres noise.

    See the attached drawing.


    But now I want to use the weak pull-up, so I just removed R1 and programmed RA4 to have weak-pull-up but it don't work if I still use R2!

    Should I remove R2 or just use a smaller resistor.

    Sharky
    Attached Images Attached Images  
    Last edited by Sharky; - 18th October 2006 at 17:03.
    *Let's do it*

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi Sharky,

    Weak pull ups work on PORTB.

    Also, for some reason forum servers have some issues with attachements now.


    -----------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Question

    Quote Originally Posted by sayzer
    Hi Sharky,

    Weak pull ups work on PORTB.

    Also, for some reason forum servers have some issues with attachements now.


    -----------------------------
    Hmm, really on the 16F630 I use it work on PORTA.

    I am not having problems programming the weak pull ups.
    I just want to know if I should use a serie resistor and a decoupling capacitor
    as I do when I use an externally pull up resistor.
    Because if I use a 10K serie resistor as I use to do, it does not work!

    Yes, I can see that it is impossible to view my attachment, but I don't know why?

    Sharky
    *Let's do it*

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    For PIC16F630, PORTA weak pull-ups OK!

    No schematic, bad guess.

    Forum has some issue.

    Let see your schematic if you can upload it to http://picsplace.to and then put the link here.


    --------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5
    Join Date
    Mar 2005
    Location
    Denmark
    Posts
    31


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by sayzer
    For PIC16F630, PORTA weak pull-ups OK!

    No schematic, bad guess.

    Forum has some issue.

    Let see your schematic if you can upload it to http://picsplace.to and then put the link here.


    --------------------
    Here is the link:

    http://img4.picsplace.to/img.php?file=img4/26/weakP.JPG

    Sharky
    *Let's do it*

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    1. 10K is too high. <1K could do... usually not needed.

    2. the capacitor is usually useless as you can do the debounce in software in most case.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Pull Up enabled and PWM question
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th September 2009, 08:21
  2. Weak pull Up 12F629
    By Lionheart in forum General
    Replies: 1
    Last Post: - 9th December 2008, 21:07
  3. switch on 1 weak pullup on portb?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th December 2008, 18:32
  4. 12F683 internal pull up
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th July 2008, 02:35
  5. 16f684 Porta.2 Instability
    By JDM160 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th November 2006, 02:38

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts