Pull down button on Port B


+ Reply to Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,177


    Did you find this post helpful? Yes | No

    Default Re: Pull down button on Port B

    Ther only way high current may damage the input pin is by inducing that current from an external source. I do not know how is your settup exctly, but if you do have long wires or nearby high voltage cables, or even relays, motors etc, there could be a small chance of hurting that input.

    You may:

    1. put an external lower value pull-up resistor, say 470 ohm
    2. put a capacitor in parallel with the switch but close to the pic input and gnd
    3. add that 100 ohm resistor

    In any case, if ESD is of concern, i'd not trust the 100 ohm resistor alone. Would use all 3 above.

    Even better on the pic side of that 100 ohm at its pin, adding a ferrite ring would increase the resistance for fast spikes maybe up to 1K.

    I had no problems up to this moment with just internal pull-up only, and with cable to the button less than 8cm. No false trigger or even port mulfunction.

    Ioannis

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,722


    Did you find this post helpful? Yes | No

    Default Re: Pull down button on Port B

    I had no problems up to this moment with just internal pull-up only, and with cable to the button less than 8cm. No false trigger or even port mulfunction.
    keep in mind AN552 refers to ancient technology that has no esd protection of any kind [like esd diodes], with contemporary chips i would expect no trouble either.
    Warning I'm not a teacher

Similar Threads

  1. Enabling weak internal pull up resistors on port B
    By dbodenheimer in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 8th October 2010, 15:55
  2. Weak pull Up 12F629
    By Lionheart in forum General
    Replies: 1
    Last Post: - 9th December 2008, 21:07
  3. 12F683 internal pull up
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th July 2008, 02:35
  4. Using weak pull-up
    By Sharky in forum General
    Replies: 6
    Last Post: - 11th September 2007, 06:44
  5. 18F4585 adc-in Pull-up ????
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th April 2006, 15:00

Members who have read this thread : 9

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