i have bin intrested in electronics for a long time but i din't really get into it for some time but recently i stated using arduino and started coming ups with some circuits.
after some experimenting i started to design some curcuits on paper while in the train to my home town (what else you gotta do ?) so i came up with a power input / button design using relays
the curcuit works as follows there is a 2 switch relay between 1 push button while the relay is not powered there will be power to the button this power will not go in to the 7805 voltage regulator if you don't push it ( So it does not drain the battery / power supply) when it is pushed down it will supply power to they 7805 regulator in turn powering the arduino the arduino will close the relay switching the power making it stay on. the relay also connects the button to a pin on the arduino and it will supply power to the button it self. making the button act as a input.
i din't see any problems with they initial design but now i am worried that the relay might switch 1 of the 2 switches to late making the arduino recieve a to high voltage. Do you guys have any tips about this? or am i just worried about nothing? Do you guys have any sugestions ?
By the way if you like the design its free to use of course ;)
By the way there should be a diode on the PWR_BUTTON_PWR ( just so you know )