Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWh @MyVanitar
Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWh  @MyVanitar
Uploaded September 2023 | Updated November 2026, 2 days ago
Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWh
======================================
Altium Designer + Legal License (Free): altium.com/yt/myvanitar
======================================
Altium 365: altium.com/altium-365
======================================
OctoPart: octopart.com
======================================
Article: pcbway.com/blog/technology/Digital_AC_Energy_Measurement_Circuit_V2_RMS_Voltage_RMS_Current_Real_Power_P_a1bf4da8.html
======================================
Gerber/PCB Order: pcbway.com/project/shareproject/Gerber_AC_Energy_Meter_Rev_2_0_09cdc370.html
======================================
Other Videos: bit.ly/2N9OlPa
======================================
Disclaimer: Some parts of this circuit carry dangerous Mains voltage. If you are a beginner, seek guidance from experienced users.
Dealing with the 110V/220V AC mains voltage and measuring the AC load parameters are regarded as a challenge for electronic designers in circuit design and calculations. The situation becomes more complex when dealing with inductive loads because they cause a phase shift between voltage and current and alter the sine-wave shape of the AC signal (resistive loads do not). The power factor of resistive loads is theoretically equal to 1.
In this article/video, I introduce a circuit that can measure AC RMS voltage, RMS current, active power, power factor, and energy consumption (KWh) of the loads. I used a low-cost STM32 Microcontroller and provided four push buttons for initial calibration. The device can independently measure the parameters and display the results on a bright 1.3-inch OLED display. The measurement error rate is around 0.5% or lower.
For the schematic and PCB design, I use Altium Designer 23. I shared the PCB project with my colleague for feedback and edits through Altium 365's secure cloud space. The Octopart component search engine proves invaluable for obtaining component information and generating the Bill-of-Materials (BOM). To ensure the production of high-quality fabricated boards, I forwarded the Gerber files to PCBWay. I used the Siglent SDM3045X benchtop multimeter to calibrate the circuit. That’s a quick and easy process.
It's a cool device for everyday electronics, so let’s get started! :-)
Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWhDIY Ultrasonic Range Finder with RP2040-Zero & LVGL GUIDynamic Temperature and Relay Control & Monitoring over WiFi using ESP01, HTML, CSS, and AJAX85-260VAC to Dual +/-15VDC-0.5A Switching Power SupplyStereo Digital FM Transmitter CircuitHow to Design the Component Libraries in Altium Designer [Beginners Tutorial]USB-C 2S Li-Ion Charger Circuit | CN3302 Boost Converter (5V to 8.4V CC/CV)Isolated USB to UART Converter Circuit (Easy and Cheap)DIY AC Mains EMI Filter CircuitAltium Develop Installation Tutorial for BeginnersCH32V MCU + DHT22 + OLED + LiPo: Portable Temperature & Humidity Monitor Circuit3.8V to 55V, 2MHz, 2A DC to DC Step Down Converter using MP4560
MyVanitar |

Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWh

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER