Skip to content

Blynk PZEM-016 with NodeMCU. This code works with only one PZEM 016 device with nodemcu (esp8266).

Notifications You must be signed in to change notification settings

pkarun/Blynk-PZEM-016-with-NodeMCU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blynk PZEM-016 with NodeMCU (Single Device)

Blynk ESP8266 (NodeMCU) Program for PZEM 016 Power Meter.

Requirements

1) PZEM-016
2) NodeMCU
3) MAX485 Module RS-485 TTL to RS485 MAX485CSA Converter Module
4) USB to RS485 485 Converter Adapter (optional)
5) Blynk App

Installation

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

Hardware Connection

PZEM-016 to NodeMCU

GND to GND
5v to Vin

PZEM-016 to RS-485 TTL Converter to RS485

A to A
B to B

RS-485 TTL to RS485 Converter to NodeMCU

VCC to 3V
GND to GND
DI to D6/GPIO12
DE to D1/GPIO5
RE to D2/GPIO4
RO to D5/GPIO14

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.

Screenshots

PZEM-016

MAX485 Module RS-485 TTL to RS485 MAX485CSA Converter Module

USB to RS485 485 Converter Adapter

Scan QR Code on Blynk App

Blynk Project QR code

About

Blynk PZEM-016 with NodeMCU. This code works with only one PZEM 016 device with nodemcu (esp8266).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published