I am running an ATmega328p at 8MHz and a 3V cr3032. I'd really like to use one of my tactile switches to power it on and off and also still be able to use it for functions in my programming. I wanted to verify if this circuit will allow me to do that, or if it could be simplified. I ran into the issue of still using the switch during the program and remedied that with the two diodes. If that could be simplified it would be nice because I am working with limited board space. I have a couple of fv=550mV diodes. The resistor values are general placeholders.
Thanks for any information.
edit: I'm beginning to think that only the right diode is necessary. Is that the case?
Thanks for any information.
edit: I'm beginning to think that only the right diode is necessary. Is that the case?
Attachments
-
5.7 KB Views: 53
Last edited: