I've seen a circuit using a 7805 to generate a constant current depending on the value of a resistor(R1) connected from the output of the 7805 to the common lead. The common lead to ground then is supposed to supply a constant current depending on the value of R1 and NOT affected by the load...