hi everyone
i made a 5v power supply using a 7805 regulator that i salvaged from an old tv. i have an input voltage of 12v and when i connected it to a dc motor which draws 0.8a the regulator got over 110 Celsius (or 230f for americans) and i have a heatsink on the regulator. i know that linear voltage regulators are very inefficient but should they get that hot?

there is a 10uf cap on the input and a 10uf cap and a 0.1uf ceramic cap on the output.
i made a 5v power supply using a 7805 regulator that i salvaged from an old tv. i have an input voltage of 12v and when i connected it to a dc motor which draws 0.8a the regulator got over 110 Celsius (or 230f for americans) and i have a heatsink on the regulator. i know that linear voltage regulators are very inefficient but should they get that hot?

there is a 10uf cap on the input and a 10uf cap and a 0.1uf ceramic cap on the output.