i designed this circuit , and the problem i am having with this is the regulator gets heated too much, i tried to configure out any reason but failed...
I am attaching the schematic (sorry if its messy) so that you may point out any reason for that,
i should mention that the regulator is 7805 and it gets heated in 10 secs to an extend that i cant keep the finger over it for more than 3 secs...