Should ALL unused pins be set HIGH or LOW

  • Is his name anonymous ?
    :pleading_face:

I am not sure what you are saying, I read Gammon's note as that is the 'constant' drain on pins set up in different ways when the board was in SLEEP_MODE_PWR_DOWN. In my case the board is really powered off, I am using a RTC interrupt pin to trigger a MOSFET to apply power to the board so I assume there is ZERO drain.
HOWEVER, I am the OP and my question is if a pin is unused (no physical connection) do I need to set pinmode and do I do a digitalWrite either before pinMode or after.
I am going to mark the first post that said LOW OUTPUT as the solution.

@nickgammon has escaped anonymization so far. His last post was July 2022. Maybe someone should make sure he is aware of his impending doom.

  • Note, when the pin is LOW (0v) and when you accidentally touch your voltmeter’s test lead (while you sneeze) to 5v and this pin, you burn out the chip die. :wink:
    :scream:

This sounds interesting, because the whole circuit can sleep over the uA consumption of the RTC coin battery, right? Did you explain how you do it somewhere (post, YouTube, site)?

It's a common idea. Just make sure to use a real DS3231 or better, not the messed up ZS board.
The RTC uses 820nA in timekeeping mode on battery only.

Good idea. I've updated one of his topics here: 3-vote close - how's it going? - Arduino Meta Stack Exchange
with a message.

You clipped off the start where I named Nick Gammon as the subject then in the same paragraph I made reference, that is to the already named subject, be sure.
Yeah I know, I'm usually the one who links Saint Nick. Hey it is that month and all and he really earned his Karma. But he isn't as active in the last several years and I can understand when it's the same old problems over and over. And he made the tutorials. I joined in Sept or Oct 2011 and mentioned state machines knowing that EE's and many programmers learn that in their first years. They knew it well which is why Nick could have a whole tutorial up correct and quick and explained in ways it takes long experience to do.. he done.
Non-blocking serial; go ahead, check the original dates in 2011.

Nick was active on the board then.

Maybe we haven't lost him after all . . .