On Fri, 12 Aug 2005 15:14:33 -0600 you wrote:
>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.
>>>
Here's the recommendation from the mega128 datasheet:
"If some pins are unused, it is recommended to ensure that these pins have a defined level. Even
though most of the digital inputs are disabled in the deep sleep modes as
described above, floating inputs should be avoided to reduce current consumption in all
other modes where the digital inputs are enabled (Reset, Active mode and Idle mode).
The simplest method to ensure a defined level of an unused pin, is to enable the internal
pull-up. In this case, the pull-up will be disabled during reset. If low power consumption
during reset is important, it is recommended to use an external pull-up or pull-down.
Connecting unused pins directly to VCC or GND is not recommended, since this may
cause excessive currents if the pin is accidentally configured as an output."
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net