I have just finished my first circuit board design and want to confirm a couple of things so I can avoid designing myself into a corner.
Regarding the Schottky diodes. My intent is to run with +5 and switch to battery when +5 is lost. Are the diodes wired correctly and what value diode should I use. I know that this is a very basic question but I could not find an example anywhere online.
When +5 is lost, pin D2 will go high and I will put the the MEGA16 to sleep. I plan to use the Watchdog timer to monitor pin D2 and when it is pulled low by +5, wake the MEGA16 up. I have never worked withe the watchdog before and only have a rudimentary understanding of it. So I want to confirm that what I want to do can be done. Am I on the right track?