What to do with unconnected pins?

Status
Not open for further replies.

gatheround

Well-known member
Hi All,
Just wondering.. once a project has been finalised, is there a best practice for what to do with the unconnected pins? Should they be left floating, or grounded, or something else?
 
Either input with pullup or output mode are best.

It doesn't matter if the output is high or low. The idea is merely to drive the pin, either as an output or with a pullup resistor, so it has a defined logic level and will not "float" to a voltage near the logic switching threshold.

On Teensy 3.0, the unused pins default to disconnected, so excessive power consumption from signals coupling to the unused pins is not the problem is can be with Teensy 2.0 and especially Teensy++ 2.0.

It's also ok to leave them as inputs and externally connect them to ground (as is done with unused inputs on chips that aren't programmable). But it's much easiest to leave them disconnected and program the code to configure them with pullups or as output mode.
 
Status
Not open for further replies.
Back
Top