using DC DC regulator LM2576 LM2575
Hi,
besides using 7805,
you can try another type of voltage regulation method DC-DC.
You can use LM2576, LM2575 to achieve the same 5 V output regulation.
It is more efficient as it does not dissipate much heat.
some references...