Blynk ESP8266 (NodeMCU) Program for PZEM 016 Power Meter.
1) PZEM-0162) NodeMCU
3) MAX485 Module RS-485 TTL to RS485 MAX485CSA Converter Module
4) USB to RS485 485 Converter Adapter (optional)
5) Blynk App
Open settings.h and change Bynk Auth code, Wifi settings, server settings and few other parameters as per your project requirement.
GND to GND
5v to Vin
A to A
B to B
VCC to 3V
GND to GND
DI to D6/GPIO12
DE to D1/GPIO5
RE to D2/GPIO4
RO to D5/GPIO14
-
Download and install the Blynk Mobile App for iOS or Android.
-
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.
-
Email yourself the Auth code.
-
Download this repo and copy the files in to your sketches directory. Open the sketch in Arduino IDE.
-
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.