To ensure the output performance of the regulator, R should be less than 240 ohms. The regulated voltage value can be adjusted by changing the RP resistance. D5, D6 are used to protect the LM317.
Output voltage calculation formula: Uo = (1 + RP / R) * 1.25Performance parameter
Input voltage: AC≤17V DC≤25V
Output voltage: DC1.25 V—12 V continuously adjustable
Output current: 1A