Gå ubegrenset med Magzter GOLD

Gå ubegrenset med Magzter GOLD

Få ubegrenset tilgang til over 9000 magasiner, aviser og premiumhistorier for bare

$149.99
 
$74.99/År
The Perfect Holiday Gift Gift Now

A 3-Phase Energy Meter with Multicore Support Using an ESP32 MCU with Voltage and Current Sensors

Circuit Cellar

|

May 2025

To continuously monitor energy consumption in his home, and store and communicate the data wirelessly, Gamal built a 3-phase energy meter, using a single ESP32 MCU with dual-core architecture, and voltage and current sensors. In his novel design, one core senses voltage and current and calculates consumed energy, while the other, long-forgotten core handles the user's web requests, logs measurements on an SD card, and displays current, voltage, and cumulative power consumption.

- Gamal Labib

A 3-Phase Energy Meter with Multicore Support Using an ESP32 MCU with Voltage and Current Sensors

FIGURE 1 The exterior structure of the project. Top: three 7-segment 8-digit modules, each of which is allocated to a specific mains supply phase. Mid-right: an MCU reset red button, a yellow push button to display button. Mid-bottom: five LED indicators (from right)-Blink, Wi-Fi connectivity, 5V power supply, Activity, and External MCU power source (for example, Laptop's USB port). Bottom right: DC 5V jack, MCU power source selector switch, Continuous Display switch.

Understanding the energy consumption pattern of home appliances and gadgets is important for owners to optimize and to minimize their electricity bills. Keeping track of the official energy meter to identify our daily consumption may prove impractical, especially if the meter is installed outside the premises. I needed an inexpensive solution to adjust my electricity consumption and to estimate future bills.

image

FIGURE 2 The ZMPT101B voltage sensor module (left) and SCT-013 60A/1V current sensor transformer (right).

I came across many energy meter projects based on microcontrollers (MCUs) and sensor modules, but they mostly focused on single-phase mains power supplies. Since I have 3-phase mains, I would then require three homemade meters and offline analysis of their readings to manage my consumption. In this project, I consolidate the mains supply monitoring for my home into a single MCU-based meter for which I can embed all analysis code once, and control it within my home Internet of Things.

FLERE HISTORIER FRA Circuit Cellar

Circuit Cellar

Circuit Cellar

The Future of Sensors in Safety Systems Sensing the Stop

How Magnetic Sensors Are Enabling the Next Generation of Braking Systems

time to read

5 mins

December 2025

Circuit Cellar

Circuit Cellar

Alif Semiconductor Elevates Generative AI at the Edge with New Support for ExecuTorch Runtime in Its Ensemble MCUs

Alif Semiconductor, the leading global supplier of secure, connected, power efficient Artificial Intelligence and Machine Learning (AI/ML) microcontrollers (MCUs) and fusion processors, announced that developers can now use the ExecuTorch Runtime, a quantization extension of the popular PyTorch ML framework, for AI applications built to run on its Ensemble E4/E6/E8 series of MCUs and fusion processors.

time to read

1 min

December 2025

Circuit Cellar

Circuit Cellar

Encrypted MQTT Protocol for Critical Sectors

Mechanisms, Challenges, and Best Practices

time to read

3 mins

December 2025

Circuit Cellar

Circuit Cellar

Datasheet: Small Size, Big Power

Smaller Microcontrollers Bring New Possibilities

time to read

9 mins

December 2025

Circuit Cellar

Circuit Cellar

Analog Devices Launches ADI Power Studio and New Web-Based Tools

Analog Devices, Inc. (ADI), a global semiconductor leader, announced the launch of ADI Power Studio, a comprehensive family of products that offers advanced modeling, component recommendations, and efficiency analysis with simulation.

time to read

1 mins

December 2025

Circuit Cellar

Circuit Cellar

Compact IBR300 2.5" SBC Powered by NXP i.MX 93 from IBASE

IBASE Technology, Inc., a leading provider of rugged embedded computing platforms, announced the release of the IBR300, a 2.5\" RISC-based single board computer (SBC) powered by the NXP i.MX 93 processor with dualcore ARM Cortex-A55 (up to 1.7GHz) and a Cortex-M33 MCU.

time to read

1 min

December 2025

Circuit Cellar

Circuit Cellar

Sensors in the Spotlight

The Next Decade of Embedded Sensor Systems

time to read

12 mins

December 2025

Circuit Cellar

Circuit Cellar

Bob's Wrap Up

In Bob's last article with Circuit Cellar, he attempts to wrap up a career of more than 50 years as an embedded systems engineer and 14 years with Circuit Cellar. He looks at each of his 58 articles by category and provides some recommendations for his fellow engineers.

time to read

7 mins

December 2025

Circuit Cellar

Circuit Cellar

Designing Embedded Software Architectures That Last

I've reviewed hundreds of firmware projects over the years, and one thing always stands out: the most successful projects have a clear, deliberate architecture.

time to read

10 mins

December 2025

Circuit Cellar

Circuit Cellar

Broadcom Introduces Industry's First Wi-Fi 8 Silicon Ecosystem Powering the AI Era

Broadcom, Inc. unveiled the first Wi-Fi 8 silicon solutions for broadband wireless, targeting residential gateways, enterprise access points, and smart mobile clients.

time to read

1 mins

December 2025

Listen

Translate

Share

-
+

Change font size

Holiday offer front
Holiday offer back