hello all
i just finished a picstep board
the board is running fine,
i connected it outside the pc so i attached a 7805 regulator. no caps or anything ,
now the 7805 is getting very hot with just 24volt input, i intend to use it up to 40volts so i guess it will even get hotter.

is there anything i can do to cool down this situation (heat sink would help as i already attached one).

maybe a current limiting resistor ? any value suggestion ?

thanks