Using the LMZ14202H power switching controller, can be designed a very simple switching power supply circuit that can provide a fixed output voltage covering a wide range of voltages .
Switching Power Supply Circuit diagram

This power switching power supply electronic project will provide a fixed output voltage between 5 and 30 volt from an input voltage between 8 and 42 volt at a maximum output current of 2 ampere . This circuit project power supply require few external electronic parts and can be configured very easy . In the table bellow you can see components value that are required for different output voltage
Switching Power Supply Circuit diagram
