Smart 3 Phase Energy Meter for ESP32-C6
An ESP32 display project for ESP32-C6 involving OLED display.
Parts and sourceBefore you start
Check the exact OLED display configuration against the upstream wiring or parts list.
Upstream README
Smart-3-Phase-Enrgy-Meter
An ESPHome-based energy meter powered by PZEM-004T V4 and Seed Studio Xiao ESP32-C6/ESP32-C3
Componenets
- Seed Studio Xiao C6 OR Xiao C3
- PZEM-004T V4
- SSD1306 0.96 OLED Display
- Hi-Link 5V 5W PSU (HLK 5M05)
- 1N5819 Schottky barrier diode
- 4 Pin JST XH Male Connector - 2.54mm pitch
- 4 Pin JST Female to Female Connector - 2.54mm Pitch
- 2 Pin Screw Terminal Block - 5mm Pitch
- Transparent Junction Box(180X130X100)
Schematics
[!NOTE] If ESPHome is unable to read from all three PZEM modules simultaneously, it is because multiple devices prevent the signal from dropping close enough to GND. To fix this, it is recommended to place a 1N5819 Schottky diode on the TX line of each PZEM . Which I have included in the schematics as well as in the PCB
PCB
![]() |
![]() |
Installtion
- Download the configuration of your board (c3 or c6), which can be found HERE, and simply go to your ESPHome instance and "import from file" as shown in the picture
[!NOTE] The address can also be changed in ESPHome, but this is recommended
| Phase | Address |
|---|---|
| P1 | 0x01 |
| P2 | 0x02 |
| P3 | 0x03 |

