I’m trying to find a schematic diagram to understand how we can apply power to the arduino for let’s say 1 minute when a push button is trigerred.
My project is to make a letter box letter detection.
There will be a mercury contactor ( the push button) to make the contact when it is shaked by a letter falling
Once the contact is made, I would like the arduino to be connected to 5v and boot on a wifi skech to send the information to an ip address. After 1 minute, I would like the 5v to be disconnecteed from circuitry and the arduino to power off.
It is probably a timer schematic but I need someone to point me into the right direction