Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] What to do with pins not used?

2005-08-12 by erikc

Dennis Clark wrote:
> jdelgadillo66 wrote:
> 
>>Im using Atmega8 in my projects, and I have a question about,  what to 
>>do with pins not used? in the case of AREF I read that I must conect to 
>>Vcc by a resistor, but in the other pins dont know what to do.
>>
>>
>>Thanks in advance.
>>
> 
>    This simplest thing to do is to set them as outputs.  You should not 
> leave inputs floating, that can cause all kinds of problems.
> 
> DLC

Go ahead and put a resistor to ground or Vcc anyway.  I normally tie the 
free end of the resistors to Vcc unless the databook says otherwise. 
100K ~ 1 meg should do nicely, and will not load down the pins if you 
decide to use them later.

-- 
erikc
--
"The kind of man who wants the government to adopt and enforce his
ideas is always the kind of man whose ideas are idiotic."
    -- H. L. Mencken

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.