I have an application that requires regulated 27VDC at 50mA or less. I used a walwart tranformer that delivers 35 volts peak and a 78L05 regulator with a voltage divider from ground to the regulator output to obtain 27 volts. The ground terminal of the regulator draws a couple milliamps, so the divider doesn't work out to the expected values. Using a 1.5K (1 watt) resistor from the ground terminal to the supply ground, and a 430 ohm resistor from the regulator ground to the output yields about 28 volts (close enough). The output is stable and stays constant with load and no load, so it seems to work ok.
Is this an accepted way of doing things, or should I worry about other problems? I have several 78L05 regulators I would like to put to use, rather than buying something else.
-Bill