I am trying to make an emergency button with an Arduino Nano. It should work with and without input voltage, so I made this circuit:
If there is a 5 V input voltage the Nano should be supplied directly from the input voltage. In the meantime the battery can charge. If the electricity has gone the Nano should be supplied by a Li-ion battery. Not for a long time; 30 minutes is enough for me. So I have added a diode.
If I look at the schemaric of the Nano it looks like 5 V is directly connected to the ATmega328p chip.
In the docs of Atmege328p it says the operating voltage 2.7-5.5 V. I can achieve 5 V frim the input voltage and 3.6 V from the Li-ion battery.
So at this point everything looks fine but at Arduino Nano products page there is NOTE!
If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may become unstable.
and this
Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don't advise it.
In this case, I wasn't sure myself. Will it be a problem if I feed the Arduino Nano in this way? I have made a prototype and it worked for almost a hour with the "blink" example, and it looked like it was working fine. If I plug in 5 V or plug out input voltage, the system doesn't stop.