Limiting LED Nightlight in circuit R2 how much value?
R2 protection resistor, if the use of 0.5W resistor, resistance to 300 ohm, using other power resistors by P=I^2R, I=0.02A, you can calculate
If the resistance is not found, the circuit is reliable and without protectionIf the voltage is unstable there, a protective resistor is required.
Capacitance C is 0.68uF, the main function is current limitingR1 is 1M-200k