Five unused pins and one resistor


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    5

    Smile Five unused pins and one resistor

    Hi, everyone!

    I've made an electronic control for a washing machine, using a PIC16F876A.
    The PIC has five unused pins on portC, and I wouldn't like to leave them unconnected. Can I tie them all to GND using a single resistor or should I use one resistor for each pin?

    Thanks!
    Last edited by Cabomba; - 27th May 2007 at 17:11.

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


    Did you find this post helpful? Yes | No

    Default

    Long time debate here

    My own opinion, configure them as input and tie them directly to GND. If in your program you're sure you don't affect their TRIS and logic level, this shouldn't cause you any grief.

    Case you want to play safe, use one resistor by i/o and tie them to GND or Vcc.
    Steve

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

  3. #3
    Join Date
    Jan 2005
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    Just set them as an output ! and you will not need a resistor(S)

  4. #4
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Kman View Post
    Just set them as an output ! and you will not need a resistor(S)
    And...leave them unattached to B+ or ground.

  5. #5
    Join Date
    Nov 2006
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Thanks for the replies, guys.
    The pins are already set as outputs, so I think I'll leave them that way.

Members who have read this thread : 1

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