I'm currently looking for some advice about making my circuit as low power consumption as much as possible.
I need to use three DIP switches in order to set the address of my ATmega328P board in a LoRa custom network.
I've seen that one of the most used solution is to wire up the external pull-up resistors to VCC, as reported below:
...but, this approach is extremely inefficient for my purposes (my hardware, during deep-sleep needs to reach 1-5 µA of current draw).
So, my intention is to remove the external pull-up resistors and use the internal pull-up resistors of the digital input of the ATmega328P.
This approach will allow me to enable the internal pull-up resistors only when I need to read the switches status (during boot for a very limited time).
So, theoretically, this will be very efficient and low power.
This will be the resulting schematic (taken from here):
This is my idea to solve this issue. Anyway, I've not tested yet. I would be glad if someone will share their thoughts about that.