Skip to the content
2 layers163 × 59.5 mmSTM32 Smart Energy Meter, the printed circuit board in 3D

ustom 2-layer PCB design for an STM32-based Smart Energy Meter with voltage/current monitoring and Wi-Fi communication, developed using KiCad."

Size
163 × 59.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
64
Pads
127
Tracks, vias
239, 17
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
20 Jun 2026
Updated
20 Jun 2026

Overview

STM32 Smart Energy Meter is an open-source printed circuit board by venkatesh3549, from the venkatesh3549/STM32-Based-Smart-Energy-Meter-PCB-Design repository on GitHub. It is a 2-layer board of 163 × 59.5 mm with 25 parts on 64 nets, routed with 239 tracks and 17 vias.

It is built around the ESP-12F, HLK-PM01 and AMS1117-3.3. Its parts include 8 resistors, 6 capacitors, 4 connectors, 3 ICs and 1 diode. It belongs with the radio and wireless boards and the ESP8266 and STM32 boards of this library.

Main components

3

README

README.md

STM32 Smart Energy Meter PCB Design

Overview

This project presents the design of a Smart Energy Meter PCB using the STM32F103C8T6 microcontroller and ESP-12F (ESP8266) Wi-Fi module. The system is designed to measure voltage and current through external sensing modules and provides a platform for real-time energy monitoring and future IoT integration.

The PCB was designed using KiCad, including schematic capture, component selection, footprint assignment, PCB layout, routing, ERC verification, DRC verification, and Gerber file generation.


Features

  • STM32F103C8T6 Microcontroller
  • ESP-12F (ESP8266) Wi-Fi Module
  • ACS712 Current Sensor Interface
  • ZMPT101B Voltage Sensor Interface
  • HLK-PM01 AC-DC Power Supply Module
  • AMS1117-3.3V Voltage Regulator
  • Crystal Oscillator Circuit
  • SWD Programming Interface
  • 2-Layer PCB Design
  • Ground Plane Implementation
  • ERC and DRC Verified Design

Hardware Components

ComponentDescription
STM32F103C8T6Main Controller
ESP-12FWi-Fi Communication Module
HLK-PM01AC to DC Power Module
AMS1117-3.3VVoltage Regulator
ACS712Current Sensor Interface
ZMPT101BVoltage Sensor Interface
Crystal OscillatorSystem Clock Source
SWD HeaderProgramming and Debugging Interface

PCB Design Workflow

  1. Schematic Design in KiCad
  2. Component Selection and Footprint Assignment
  3. PCB Layout Design
  4. Component Placement Optimization
  5. Signal Routing
  6. Ground Plane Creation
  7. Electrical Rules Check (ERC)
  8. Design Rules Check (DRC)
  9. Gerber File Generation

Software Used

  • KiCad 9.0

Skills Demonstrated

  • PCB Design
  • Schematic Capture
  • Component Placement
  • PCB Routing
  • Power Supply Design
  • Microcontroller Hardware Design
  • Wi-Fi Module Integration
  • Sensor Interface Design
  • ERC and DRC Validation

Future Improvements

  • Real-time Energy Monitoring Dashboard
  • Blynk IoT Integration
  • ThingSpeak Cloud Connectivity
  • LCD Display Interface
  • Energy Consumption Data Logging
  • Mobile Application Monitoring

Author

Venkatesh Malleddi

B.Tech – Electronics and Communication Engineering

Parts

25
QtyValueFootprintReferences
510kResistor_SMD:R_0805_2012MetricR1, R2, R5, R6, R8
2100nCapacitor_SMD:C_0805_2012MetricC4, C5
210KResistor_SMD:R_0805_2012MetricR3, R4
210uCapacitor_SMD:C_0805_2012MetricC1, C2
222pCapacitor_SMD:C_0805_2012MetricC3, C6
1330Resistor_SMD:R_0805_2012MetricR7
1AC Input TerminalTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ4
1ACS712_MODULEConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ2
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1ESP-12FRF_Module:ESP-12EU3
1HLK-PM01Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxxPS1
1LEDLED_SMD:LED_0805_2012MetricD1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1SWD HeaderConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1SW_PushButton_Switch_SMD:SW_SPST_TL3342SW1
1ZMPT101B_MODULEConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ1

Similar boards

  • 2 layers78.7 × 58.4 mm40Hz, the printed circuit board in 3D

    40Hz

    oponyx/40HzGen

    Advanced ESP based 40Hz Gamma brain stimulator

    34 parts4MIT
  • 2 layers0.6 × 27.9 mmFAN Light, the printed circuit board in 3D

    FAN Light

    poljant/FanLightKiCAD

    PCB FanLight

    25 partsMIT
  • 2 layers66.5 × 49 mmRele esp12f, the printed circuit board in 3D

    Rele esp12f

    techmiguel/smartRele

    Single-channel Wi-Fi relay module based on the ESP-12F (ESP8266) for 110–120 VAC and loads up to 10 A. Open hardware in KiCad 10, ready for full assembly at JLCPCB.

    34 partsCERN-OHL-W-2.0
  • 2 layers77 × 77 mmTww, the printed circuit board in 3D

    Tww

    stan23/tww-control

    Steuerung für Trinkwarmwasser

    58 parts
  • 2 layers99.1 × 58.4 mmHEAT, the printed circuit board in 3D

    HEAT

    milar111/HEAT

    An open-source STM32 SMD assembly station for precision soldering. Uses a custom Smart Pulse & Coast algorithm to drive 400W mains heaters via SSR. Features OLED UI, NTC feedback, and safety cooling.

    57 parts9
  • 2 layers217 × 116 mmBoard nhiet, the printed circuit board in 3D

    Board nhiet

    NguyenThanhHuy-debug/PCB-Liquid-Dispensing-Cabinet

    PCB-Liquid-Dispensing-Cabinet — a software project built with modern tooling.

    191 parts4
  • 2 layers88.3 × 68.8 mmHome automation, the printed circuit board in 3D

    Home automation

    Noraiz963/Home-Automation-by-using-esp32_WROOM32D-pcb-

    An ESP32-based home automation controller designed in KiCad combines an isolated AC-DC power supply, dual relay outputs, physical switch input, and UART programming header into a single board for controlling AC loads…

    36 parts2

Questions

How big is the STM32 Smart Energy Meter PCB?

It measures 163 × 59.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the STM32 Smart Energy Meter use?

25 parts, built around the ESP-12F, HLK-PM01 and AMS1117-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the STM32 Smart Energy Meter KiCad files?

From the venkatesh3549/STM32-Based-Smart-Energy-Meter-PCB-Design repository on GitHub, at the commit this page was made from: the board is STM32 Smart Energy Meter.kicad_pcb and its schematic STM32 Smart Energy Meter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the STM32 Smart Energy Meter design in my own project?

Its repository states no licence, so its author keeps all rights: ask venkatesh3549 before reusing the design.