Searching \ for ' Wich is better?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=wich+better
Search entire site for: 'Wich is better?'.

No exact or substring matches. trying for part
PICList Thread
'[PICLIST] Wich is better?'
2000\08\07@153815 by ?=

flavicon
face
   Hi Everyone,

   Do you know wich is better, configured unesed pins as outputs and left
them with no conecction, or configure them as inputs with a fix voltage (5
or 0)... better in all senses, consuption, noise, etc...

   Thanks in advance,

   Gonzalo

P.S. sorry for my bad English :)

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2000\08\07@184300 by Tony Nixon

flavicon
picon face
Gonzalo Jiménez Yamasaki wrote:
>
>     Hi Everyone,
>
>     Do you know wich is better, configured unesed pins as outputs and left
> them with no conecction, or configure them as inputs with a fix voltage (5
> or 0)... better in all senses, consuption, noise, etc...
>
>     Thanks in advance,
>
>     Gonzalo
>
> P.S. sorry for my bad English :)
>
It is not wise to leave unused pins set as unconnected (floating)
inputs.
It is easy and cheap to leave them as unconnected outputs, possibly with
a connection pad to each of them for later use if need be.
You can leave them as inputs but probably better to use pullups rather
than tie directly to a supply rail in case the TRIS state changes to an
output and causes a short. Plus, by removing the pullups you have
connection pads for future pin use.

-- Best regards

Tony

ICmicro's
http://www.picnpoke.com
spam_OUTsalesTakeThisOuTspampicnpoke.com

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

2000\08\08@064920 by briang

flavicon
face
In-Reply-To: <002401c000a6$9be4ad00$0100a8c0@gonzalo>

.....gonzalo.jimenezKILLspamspam@spam@CONTROLMATIC.COM wrote:
> Do you know wich is better, configured unesed pins as outputs and left
> them with no conecction, or configure them as inputs with a fix
> voltage (5 or 0)... better in all senses, consuption, noise, etc...

I always leave them unconnected and set them as outputs.

I figure that if I tie them to 0V or +5V and the program crashes and
sets them as output it could cause damage. Of course you could tie them
via a resistor.

Also sometimes an unused output can be useful for debugging - it would
be no use to you if it were wired to 0V or 5V.

Anyway I don't think it makes much difference either way.

Brian Gregory.
briangspamKILLspamcix.co.uk

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...