FIGURE 1
This auto-power-off circuit in conjunction with the code in Listing 1 shuts down the 5V supply when the system is idle.

back