PIC 16f877a


Closed Thread
Results 1 to 9 of 9

Thread: PIC 16f877a

Hybrid View

  1. #1
    Join Date
    May 2011
    Posts
    17


    Did you find this post helpful? Yes | No

    Default Re: PIC 16f877a

    Hmm

    so I should put all my pins (register E,C ect.) that I am not using to OUTPUT

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PIC 16f877a

    Quote Originally Posted by CipiCips View Post
    Hmm

    so I should put all my pins (register E,C ect.) that I am not using to OUTPUT
    Setting them to low outputs gives them a low impedance potential. As inputs with a high impedance potential they are subject to "Stray capacitance" electric fields which typically have relatively high voltage and very low current available. If you need them as inputs, you would either enable weak pullups, tie them to either ground or VDD with resistors depending on your need, again lowering their input impedance to several hundred to a few thousand ohms, exception: If you WANT to use them as capacitor plates, maybe a touch sensor.
    You might find some value here:
    http://www.electronic-engineering.ch...box_keypad.pdf
    http://www.electronic-engineering.ch...g/box_dbg.html

    I like how they use a comparator to trigger an interrupt to check the keyboard register.
    Last edited by Archangel; - 21st May 2011 at 20:04. Reason: add links
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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