Awesome Open Source
Awesome Open Source


Blynk ESP8266 (NodeMCU) Program to connect multiple PZEM 004T v3.0 Power Meter.


1) PZEM-004T v3.0
2) NodeMCU
3) Blynk App


Open settings.h and change Bynk Auth code, Wifi settings, server settings and few other parameters as per your project requirement.

Hardware Connection

PZEM-004T v3.0 to NodeMCU

PZEM Device 1:

5v to vin
RX to D6 (TX Pin)
TX to D5 (RX Pin)

PZEM Device 2:

5v to vin
RX to D6 (TX Pin)
TX to D5 (RX Pin)

For wiring image:

Software Setup

  1. Download and install the Blynk Mobile App for iOS or Android.

  2. Scan the QR code at the bottom of this page to clone the screenshot below, or create a new project yourself and manually arrange and setup the widgets.

  3. Email yourself the Auth code.

  4. Download this repo and copy the files in to your sketches directory. Open the sketch in Arduino IDE.

  5. Go to the settings.h tab. This is where all the customisable settings are. You should be able to change almost everything from there before compiling.


For multiple PZEM 004T v3.0 device, first we need to assign address to each device or else this program won't work. Make sure you assign address to each PZEM device one by one by connection only one PZEM device to network/Nodemcu and upload our program and uncomment below line in the program.

changeAddress(0x01, 0x02);

This task need to be done once only. Once address assignment is done, comment it again and upload the program to NodeMCU and connect all the new address assigned PZEM devices to network(nodemcu) and now you will start receving data from multipe pzem devices.


project screenshot 1

Scan QR Code on Blynk App

Blynk Project QR code

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C Plus Plus (238,708
Arduino (30,704
Pin (9,803
Esp8266 (4,923
Meter (2,762
Rx (2,605
Nodemcu (1,596
Modbus (1,009
Esp8266 Arduino (486
Blynk (374
Energy Monitor (112
Energy Consumption (103
Master Slave (102
Pzem 004t (23
Pzem004t30 (5