Try instead of the battery as the back up suply to conect it
to the 3v3 output of the board then disconnect the 5v to see if it
still runs. I don't understand a lot about the programing but
your schematic looks fine.
Try instead of the battery as the back up suply to conect it
to the 3v3 output of the board then disconnect the 5v to see if it
still runs. I don't understand a lot about the programing but
your schematic looks fine.