Summary:
When I first learned AVR, I wanted to start with a practical device, so I learned the MCU and got a piece of work. The power supply is a device that every experiment can't do without, so I started from the power supply.
LM317 is a linear regulator circuit with excellent indicators. The voltage regulation rate and load regulation rate of the regulated power supply made by it are very high, and its protection functions are perfect. Use M8 to control it to get a regulated power supply with a voltage from 0 to 20V and a maximum current of 1.5A.
Working state of the power supply


Circuit diagram of the power supply

See the compression package for PCB design information of the power supply.
Suizhou simi intelligent technology development co., LTD , https://www.msmvape.com