GithubHelp home page GithubHelp logo

executer-uno / pzem-004t-v3.0-x4-esp8266 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pkarun/blynk-pzem-004t-v3.0-multiple-device

3.0 0.0 0.0 964 KB

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

C++ 68.08% C 1.60% JavaScript 4.88% CSS 3.66% HTML 8.69% Objective-C 13.09%

pzem-004t-v3.0-x4-esp8266's Introduction

PZEM-004T-v3.0-x4-ESP8266

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

Schematics and some photos: https://easyeda.com/executer/pzem004t_esp8266_gsheets

TODO: Rewrite readme

Requirements

1) PZEM-004T v3.0
2) NodeMCU

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-004T v3.0 to NodeMCU

PZEM Device 1:

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

PZEM Device 2:

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

For wiring image: https://didactronica.com/wp-content/uploads/2019/03/ASDADSASD.png

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.

Note:

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.

Screenshot

project screenshot 1

Scan QR Code on Blynk App

Blynk Project QR code

pzem-004t-v3.0-x4-esp8266's People

Contributors

executer-uno avatar pkarun avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.