

STM32 Smart Energy Meter
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
3ESP-12F
SMD,24x16mm-40℃~+85℃ -96dBm 15dBm 2.4GHz 3.3V 375mA 55mA PCB UART WIFI4 SMD,24x16mm WiFi Modules ROHSDOITWiFi ModulesHLK-PM01
DIP,34x24mm0.1W 100mVp-p 15mm 20mm 34mm 3W 3kV 5V 700mA 73% 85VAC~265VAC AC-DC Short Circuit Protection、Over Current Protection、Fault self-recovery ±0.2% 插件,34x20mm AC-DC Power Modules ROHSHI-LINKAC-DC Power ModulesAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdSTM32 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
| Component | Description |
|---|---|
| STM32F103C8T6 | Main Controller |
| ESP-12F | Wi-Fi Communication Module |
| HLK-PM01 | AC to DC Power Module |
| AMS1117-3.3V | Voltage Regulator |
| ACS712 | Current Sensor Interface |
| ZMPT101B | Voltage Sensor Interface |
| Crystal Oscillator | System Clock Source |
| SWD Header | Programming and Debugging Interface |
PCB Design Workflow
- Schematic Design in KiCad
- Component Selection and Footprint Assignment
- PCB Layout Design
- Component Placement Optimization
- Signal Routing
- Ground Plane Creation
- Electrical Rules Check (ERC)
- Design Rules Check (DRC)
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 10k | Resistor_SMD:R_0805_2012Metric | R1, R2, R5, R6, R8 |
| 2 | 100n | Capacitor_SMD:C_0805_2012Metric | C4, C5 |
| 2 | 10K | Resistor_SMD:R_0805_2012Metric | R3, R4 |
| 2 | 10u | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 2 | 22p | Capacitor_SMD:C_0805_2012Metric | C3, C6 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric | R7 |
| 1 | AC Input Terminal | TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J4 |
| 1 | ACS712_MODULE | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J2 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Crystal | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | ESP-12F | RF_Module:ESP-12E | U3 |
| 1 | HLK-PM01 | Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxx | PS1 |
| 1 | LED | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | STM32F103C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | SWD Header | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J3 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_TL3342 | SW1 |
| 1 | ZMPT101B_MODULE | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J1 |
Similar boards
- 2 layers78.7 × 58.4 mm

- 2 layers0.6 × 27.9 mm

- 2 layers66.5 × 49 mm

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 mm

- 2 layers99.1 × 58.4 mm

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 mm

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 mm

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 - 2 layers79.1 × 71.8 mm

PROJECT6 30A Home Automation with ESP32
adarshnarwariya12/PCB_Design
A collection of PCB design projects developed using KiCad.
32 parts1
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.