Use an LM317 as 0 to 3V adjustable regulator
by Vladimir Rentyuk @ edn.com:
Most engineers know that they can use an inexpensive, three-terminal adjustable regulator, such as Fairchild Semiconductor’s LM317, as an adjustable regulator to only some necessary value of voltage, such as 36 or 3V. This value cannot be less than 1.25V without employing other approaches, however. The devices’ inner reference voltage is 1.25V, and their output voltage accordingly cannot be less than this value without potential bias (Reference 1). One way to solve this problem is to use a reference-voltage source based on two diodes (Reference 2).
Use an LM317 as 0 to 3V adjustable regulator – [Link]