Remember to use an isolated power supply (like a transformer as shown in the circuit) to get the unregulated DC.
Also remember that as this is a linear power supply to drop the voltage heat is dissipated in the regulator. For that reason for current levels over 100mA you MUST heatsink the regulator.
The LM317 has a minimum output voltage of 1.25V, not 0V.
If its load current is less than 10mA, by using 330 ohms instead of 120 ohms then its output voltage might rise.
The LM317 has a minimum output voltage of 1.25V, not 0V.
If its load current is less than 10mA, by using 330 ohms instead of 120 ohms then its output voltage might rise.
To get zero volts out you can turn the power supply off, but if you need to vary the voltage in that range of 0-1.25V then another circuit will need to be built.
The problem is it is difficult for a regulator to go below its reference voltage. But it is possible if you have an op-amp as a linear regulator (with appropriate pass transistor) and adjustable reference.