Uploaded December 2022 | Updated November 2026, 1 day ago
For the First Time in the History of Electronics, A Magpie
======================================
Altium Designer + License (Free): altium.com/yt/myvanitar
OctoPart: octopart.com
======================================
For the First Time in the History of Electronics, A Magpie
======================================
Altium Designer + License (Free): altium.com/yt/myvanitar
OctoPart: octopart.com
======================================
![85V-240VAC to 5VDC-2A Switching Power Supply [Schematic & PCB]
85V-240VAC to 5VDC-2A Switching Power Supply (SMPS, VIPER22A)
Altium Develop (Legal License): https://www.altium.com/yt/MyVanitar
Article:
Schematic & PCB: https://365.altium.com/files/5E02104B-7D68-4C35-836F-AC9FC0618A65
Other Videos: http://bit.ly/2N9OlPa
@AtiumOfficial
#altiumstories
In this video, I’ll show you my 85V–240VAC to 5VDC 2A Flyback Switching Power Supply, designed and built around the Viper22A controller IC.
The circuit provides a stable 5V / 2A DC output from a wide AC input range (85V to 240VAC), making it suitable for universal power applications.
I’ll walk you through the schematic, transformer winding details, PCB design rules, and layout techniques used to minimize noise and ensure EMC compliance. The power supply was fully tested across the entire input voltage range and under full 2A load conditions. The RCD snubber network was also tested at 240VAC input and maximum current to ensure reliability and protection of the switching MOSFET.
You’ll also learn several PCB design tips for high-voltage and high-efficiency Flyback converters, including grounding, creepage clearance, component placement, and EMI reduction techniques.
Main Features:
Input: 85V–240VAC
Output: 5VDC / 2A (10W)
Controller: Viper22A
Topology: Flyback Converter
Built-in RCD snubber and a synchronous rectifier (DK5V45R20)
Tested for full-load performance and stability
If you’re interested in SMPS design, Flyback converters, or AC-DC power supply design, this video will give you a complete overview — from schematic to tested PCB.
#FlybackConverter #SwitchingPowerSupply #Viper22A #SMPSDesign #ElectronicsProjects #PCBDesign #ACDCPowerSupply #PowerElectronics 85V-240VAC to 5VDC-2A Switching Power Supply [Schematic & PCB]](https://i.ytimg.com/vi/0IXFvKBjk-U/mqdefault.jpg)

![97% Efficient DC to DC Buck Converter Circuit [3A Adjustable]
Buck Converter Circuit [DC to DC, Adjustable, 97% Efficient, 3A]
A tiny DC to DC buck converter (Step down) board is useful for many applications, especially if it could deliver currents up to 3A (2A continuously without heatsink). In this article, we will learn to build a small, efficient, and cheap converter circuit using MP2315.
Article Source: https://www.pcbway.com/blog/technology/DC_to_DC_Buck_Converter_Adjustable 97 Efficient 3A.html
Support me on Patreon: https://www.patreon.com/myvanitar
Check other videos: http://bit.ly/2N9OlPa
The main component is the MP2315 step-down buck converter. According to the MP2315 [1] datasheet: “The MP2315 is a high frequency synchronous rectified step-down switch-mode converter with built-in internal power MOSFETs. It offers a very compact solution to achieve 3A continuous output current over a wide input supply range with excellent load and line regulation. The MP2315 has synchronous mode operation for higher efficiency over output current load range. Current mode operation provides a fast transient response and eases loop stabilization. Full protection features include OCP and thermal shut down.” Low RDS(on) allows this chip to handle high currents.
C1 and C2 are used to reduce input voltage noises. R2, R4, and R5 build a feedback path to the chip. R2 is a 200K multiturn potentiometer to adjust the output voltage. L1 and C4 are the essential buck converter elements. L2, C5, and C7 make an additional output LC filter that I added to reduce the noise and ripple. The cut-off frequency of this filter is around 1KHz. R6 limits the current flow to the EN pin. The R1 value has been set according to the datasheet. R3 and C3 are related to the bootstrap circuit and determined according to the datasheet.
Figure 2 shows the efficiency vs output current plot. The highest efficiency for almost all input voltages has been achieved at around 1A.
#DC_to_DC_Buck_Converter
#DC_to_DC_Step_Down 97% Efficient DC to DC Buck Converter Circuit [3A Adjustable]](https://i.ytimg.com/vi/0W-ZehhNaoA/mqdefault.jpg)

![30V-4A Adjustable Power Supply Circuit [CV, CC]
30V-4A Adjustable/Variable Power Supply Circuit/Schematic and PCB [CV, CC]
In this video, I explained a low noise/ripple adjustable/variable linear power supply circuit/schematic/PCB. It is based on the LM339 regulator and IRLZ44 N-Channel Mosfet. This power supply circuit/schematic/PCB offers constant current and constant voltage features. the input voltage could be anything between 3V to 35V and the output voltage could be between 1.28V to 30V. This power supply has been build on a two layers PCB board and all component packages are through-hole. The PCBs have been fabricated by the PCBWay company. The output noise of the power supply has been examined using the Siglent SDS2102X plus (SDS2000X Plus Series) oscilloscope. This oscilloscope offers a handy function named Power Analysis that can be used to examine the output noise/ripple. The output voltage is highly regulated as we expect from a linear power supply. All laboratory supplies are linear. A linear power supply offers better line regulation and load regulation and lower noise, although they are not efficient, in comparison with switching power supplies.
Altium Designer: https://www.altium.com/yt/myvanitar
Article: https://www.pcbway.com/blog/technology/30V_4A_Adjustable_Power_Supply CC_CV_.html
Check other videos: http://bit.ly/2N9OlPa
Tools:
Siglent SDM3045X:https://www.siglenteu.com/digital-multimeters/sdm3045x-digital-multimeter/
Siglent SDS2102X Plus: https://www.siglenteu.com/digital-oscilloscopes/sds2000xp
Inspired by:
GreatScott!
Build your own Variable Lab Bench Power Supply
URL: https://www.youtube.com/watch?v=wI-KYRdmx-E
Inspired by:
EEVblog
EEVblog #221 - Lab Power Supply Design - Part 1
URL: https://www.youtube.com/watch?v=CIGjActDeoM
Inspired by:
Electronoobs
DIY variable bench power supply (less than 10$)
URL: https://www.youtube.com/watch?v=WeYK2gY4z-A 30V-4A Adjustable Power Supply Circuit [CV, CC]](https://i.ytimg.com/vi/0hd9YqLyfBg/mqdefault.jpg)
![🔶 High Precision Digital AC Energy Meter Circuit [Voltage, Current, Power, KWh]
A Digital AC Energy Meter Circuit [AC Voltage, AC RMS Current, AC Active Power, AC Energy, AC Power Factor, AC Apparent Power, KWh] using Arduino Nano and HLW8032
Altium Designer + License (Free): https://www.altium.com/yt/myvanitar
OctoPart: https://octopart.com
Article: https://www.pcbway.com/blog/technology/High_Precision_Digital_AC_Energy_Meter_Circuit_Voltage_Current_Power_KWh_3a6bf090.html
Disclaimer: Some parts of this circuit carry 220V Mains voltage. Be careful with your experiments. If you are a beginner, ask some experienced users to guide you.
Dealing with the 220V-AC mains voltage and measuring the AC loads true power, voltage, and current parameters are always considered a big challenge for electronic designers, both in circuit design and calculations. The situation gets more complex when we deal with the inductive loads because inductive loads alter the sine-wave shape of the AC signal (resistive loads don’t).
In this article/video, I introduced a circuit that can measure the AC voltage, RMS current, active power, apparent power, power factor, and energy consumption (KWh) of the loads. I used an Arduino-Nano board as a processor to make this more educational-friendly and attractive even for beginners. The device independently measures the aforementioned parameters and displays the results on a 4*20 LCD. The measurement error rate is around 0.5% or even lower.
To design the schematic and PCB, I used Altium designer 22 and installed the missing component libraries using Altium’s manufacturer part search tool. Besides, the Octopart website allowed me to quickly gather information about the components and build a BOM for the project. To get high-quality fabricated boards, I sent the Gerber files to PCBWay and used the Siglent SDM3045X benchtop multimeter for calibrating the device.
Its a cool device to be used in everyday electronics, so let’s get started :-) 🔶 High Precision Digital AC Energy Meter Circuit [Voltage, Current, Power, KWh]](https://i.ytimg.com/vi/1I6Bz7_DOGs/mqdefault.jpg)




