PZEM-017 DC Energy Meter online monitoring with Blynk App using NodeMCU for Solar PV Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 มิ.ย. 2020
  • This project shows you how to DIY online monitoring for DC Energy or Power Meter use Blynk App, NodeMCU and PZEM-017 DC Energy Meter. The system just send data from the commercial Energy Meter to the Blynk Server which has a web interface for online monitoring through its app. It is very suitable for recording Solar PV System or household energy or power consumption. For more information, kindly go to my blog page.
    Solarduino blog page :
    solarduino.com/pzem-017-dc-en...
    We would need readers like you to support us in order to keep growing. You can support us in the following ways :
    1) Donate & fund raising
    2) Purchase components from our Aliexpress Affiliate links
    3) Like & Share videos & posts
    Aliexpress Affiliate Links :
    Aliexpress Mainpage - s.click.aliexpress.com/e/_d6XZp98
    1) Peacefair DC Energy Meter - s.click.aliexpress.com/e/pN9UUmMs
    2) NodeMCU micro-controller - s.click.aliexpress.com/e/_sMC6Vj
    3) NodeMCU base - s.click.aliexpress.com/e/_dUP917q
    4) Serial - RS485 converter - s.click.aliexpress.com/e/5yJDPXSC
    5) Ferrule Lugs & Crimper Sets -s.click.aliexpress.com/e/nX0FGyuC
    6) Terminal Plier Set - s.click.aliexpress.com/e/_d6ozNbf
    7) Relay Switch Module - s.click.aliexpress.com/e/_dYVDNKo
    8) Arduino Starter Kit - s.click.aliexpress.com/e/_d71x0Cg
    9) Dupont Wire - s.click.aliexpress.com/e/mjbUSWmk
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 63

  • @georgiypanaetov9497
    @georgiypanaetov9497 ปีที่แล้ว

    Good afternoon! How long have you been using this module? No problems with performance? I have already failed 3 units, all powered from an external power supply, one lasted about 7 months. I don't know what the reason might be.

  • @fredyalvarado5323
    @fredyalvarado5323 3 ปีที่แล้ว

    Hi Sir, I bought everything for this project. I would like to know if I still need the 12vdc external power supply to the Node MCU Micro controller Base. The schematic in the website does not showed a 12vdc needed, and your video showed the external power. thank you!

  • @hazardede_n
    @hazardede_n 2 หลายเดือนก่อน

    Can I use it to measure more than 100 amps?

  • @fendyly5737
    @fendyly5737 3 ปีที่แล้ว

    Dear Sir, just want to know... is this equipments can see the history of the previous day? Thanks

  • @haitran3724
    @haitran3724 3 ปีที่แล้ว +1

    thanks

  • @didiercolin496
    @didiercolin496 2 ปีที่แล้ว

    Hi, I ask if it is possible to see the staples em 1h 6h 1d 1w 1m?

  • @miftahq1
    @miftahq1 4 หลายเดือนก่อน

    Can for read bidirectional?

  • @angelobautista5
    @angelobautista5 2 ปีที่แล้ว

    FInally made the project to work. but only work few minutes and when I checked the serial monitor, it shows a message "pm open type 2.0". also not receving data from blynk.

  • @aldilukmansyahp.y3011
    @aldilukmansyahp.y3011 2 ปีที่แล้ว

    the code is different in your website theres softwareSerial but in your youtube im not see the SoftwareSerial,should i delete the #include in arduino code because after iam upload the code to nodemcu it show nothing in serial monitor?????

  • @johnsamuel8722
    @johnsamuel8722 ปีที่แล้ว

    Can we use this module with dc motor

  • @faicale
    @faicale 3 ปีที่แล้ว

    thank you for a video. this system can be used to measure and monitoring energy box distribution ?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว +1

      I'm sorry I don't quite get you. Do you mean measuring an electrical distribution box or using the meter as sensor for some sort of Energy Box Device for data acquisition? If use it for measuring electrical power, this system can measure any DC Energy source up to 300Vdc and current subject to shunt rating ranges 50-300A. If want to use it with an energy data acquisition box / device, you need to make sure the box / device is compatible or may support Modbus RTU communication protocol. You may need some settings to make sure they could communicate, kindly refer to the meter manual / datasheet for more info.

    • @faicale
      @faicale 3 ปีที่แล้ว

      @@solarduino1374 I meant to use it like Shelly EM "shop.shelly.cloud/shelly-em-50a-clamp-wifi-smart-home-automation-1#139 " Monitor the consumption with history WiFi-operated Energy Meter with contactor control on electrical distribution box 220 AC

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      NodeMCU board is a fully customized micro-controller and it can do exactly the Shelly EM is doing provided by adding codes and modules to it. However, the codes provided in this video is just for monitoring DC energy via Wi-Fi. It is one of the functions in Shelly EM unless you add more programming codes to it such as adding timer for time control and relay or contactor module for DC or 220V load control etc. Hope I answered your question.

  • @fajarsetyadi1504
    @fajarsetyadi1504 ปีที่แล้ว +1

    i am try for this time doesnt work when uploading program at nodemcu

  • @anhhiang1445
    @anhhiang1445 3 ปีที่แล้ว

    hi , i did follow you on blog, but i do not get anything on blink and serial, i wish you help me, thank you so much

  • @wardoyodoyok
    @wardoyodoyok ปีที่แล้ว

    hi...can you creat this monitoring with new blynk v.2 ( blynk iot ). thanks

  • @muhamadiqbalnurwahid1633
    @muhamadiqbalnurwahid1633 3 ปีที่แล้ว

    hello
    why my code always error: no matching function for call to 'SoftwareSerial::SoftwareSerial()'
    thanks

  • @likit4275
    @likit4275 2 ปีที่แล้ว

    Hi Press the V4 button and the Energy value does not reset.

  • @Key-DIY
    @Key-DIY 3 ปีที่แล้ว +1

    Thank you for a great detail instruction with video, it's working great.
    ****** I just send you a donation to your PP, keep up with your works. *******
    I noticed that the Voltage and Current reading are double the actual value therefore I have to divide the reading for 2 in the code then the reading is correct, easy fix but do you know why it read double?
    Is it possible if we can have:
    1- Energy generate each day?
    2- Energy generate each month?
    3- Total Energy generate?
    Any future plan to have PZEM to read generate and consume energy (bidirectional) ?
    Can we stack multiple PZEM with one NodeMCU so we can have multiple ready from multiple Solar strings?
    Thanks again for all your works :-)
    Key

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      1) Thanks for your support !! I'm not sure why you could get double values as it is directly obtained from the unit; mine was working great during my test.
      2) To Measure Daily and Monthly Energy we requires Real Time Cloak (RTC) module which can be done but in my opinion, it not only adds extra wiring for user, it also need to be reprogrammed every time when you replace the battery in it which I think may be troublesome.
      3) The PZEM measurement is not meant for bidirectional. I tried to get rid of the Shunt Resistor replacing CT but it was design for it, not much I can do. If you need to measure bidirectional, it is better to have your own sensors hookup onto your micro-controller board (check out my DIY bi-directional meter) OR to find a commercial meter that can measure bidirectional other than PZEM, this makes the wiring more simple.
      4) You can stack more PZEM modules in one NodeMCU subject to the space for the coding. In my opinion, this DC PZEM although has high accuracy, I prefer if they could upgrade into the CT type as Shunt resistor not only making wiring messy, but it also have safety risk especially if you hook on high voltage Solar Strings. However, next time I may try to stack the DC and AC PZEM in one NodeMCU for an example how to use multiple meters via RS485 communication.
      Have a nice day !

  • @locklucky3387
    @locklucky3387 ปีที่แล้ว

    helo, how if we want get output realtime to lcd i2c too? value lcd = value blynk (realtime). please teach me

  • @energorower7504
    @energorower7504 3 ปีที่แล้ว +1

    What is the sample rate of the meter? How frequent are the measures (per second)? One measurement per second or more? Is it possible to change that sample rate (to make it more frequent)?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      I am not sure about the sample rate of the meter. Since it is a commercial type meter, the sample rate should be reasonably high for high accuracy. We can’t change the internal setting of the meter.

  • @hoangnamnguyen9243
    @hoangnamnguyen9243 2 ปีที่แล้ว

    hello , i dont know why i dont mearsuring

  • @shamtajas
    @shamtajas 2 ปีที่แล้ว +1

    Not working for me. How to check if my PZEM 017 is working

  • @shamtajas
    @shamtajas 2 ปีที่แล้ว

    Can please make tutorial using MySQL database

  • @shamtajas
    @shamtajas 2 ปีที่แล้ว

    Can please make tutorial using Arduino IoT Cloud

  • @JY-lm8of
    @JY-lm8of 3 ปีที่แล้ว

    Hello
    I have follow what is shown in the guide and it works. I just want to ask if the PZEM-003 is able to do the same thing?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Hi, I believe they are sharing the same manual and register address thus technically should support PZEM-003 as well..

    • @JY-lm8of
      @JY-lm8of 3 ปีที่แล้ว

      @@solarduino1374 i have tried the programming for pzem-003 but the only problem is, it is not getting any reading. Is it possible that the program has some things related to the shunt for pzem-017 that is affecting it?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      @@JY-lm8of Yes it may be. Have you tried to delete all shunt codes (before void setup >> static uint16_t NewshuntAddr = 0x0000, in void loop >> setShunt(pzemSlaveAddr); and whole set of void setShunt(uint8_t slaveAddr)?

    • @JY-lm8of
      @JY-lm8of 3 ปีที่แล้ว

      @@solarduino1374 I have tried to delete codes related to shunt but it could not compile. I may have deleted too much of the code resulting in some functions not being able to declare. After trying what you have said, the results are still the same where there is no reading even though it can function how I want it to as I have added notifications.

    • @JY-lm8of
      @JY-lm8of 3 ปีที่แล้ว

      @@solarduino1374 Hello. After trying what you said and trying to change the programming myself, I am still unable to get the pzem003 to work in place of the pzem017. Is it just not possible?

  • @HedSiDee
    @HedSiDee 3 ปีที่แล้ว

    Hi​ I​ have​ some​ quesion.
    When​ i​ disconnect the​ Power​ source​ 19.8 vdc​. Why​ the​ pzem​ still​ send​ value 9.8 vdc​.to my​ serail​ print​ and​ app?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Hi, this pzem requires voltage to stay active. Without voltage the RS485 module will disconnected so maybe the micro controller will keep reading last value. If you want to be able to read even 0v, you have to add auxiliary power supply to the pzem to stay active in communication.

    • @HedSiDee
      @HedSiDee 3 ปีที่แล้ว

      @@solarduino1374 ok​Thank​ you.

  • @giunphan5555
    @giunphan5555 3 ปีที่แล้ว

    How many volts is the battery source you use?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Hi, I was using DC converter (24vdc+\-) for sample. The device can measure up to 300Vdc source. For measurement

  • @dienthongminhesmart
    @dienthongminhesmart 3 ปีที่แล้ว

    Hi, I watched and followed your video. However, after loading the code and testing it, blynk shows nothing. I tried many ways but still not. Do not know if the device is not fault? Please help me. Thank you!

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Hi, kindly email me at solarduino.com@gmail.com for discussion. It should be quite straight forward.

    • @anhhiang1445
      @anhhiang1445 3 ปีที่แล้ว

      @@solarduino1374 hi, I have the same problem, I hope you lead for me, thank you so much.

  • @mohammadrifqifaqih4630
    @mohammadrifqifaqih4630 3 ปีที่แล้ว

    Hello .. can i used pzem017 forr reverse polarity current ? Or negarif current?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว +1

      It is a big disadvantage for most economical energy meters including this model. It is made only suitable to measure DC generation but not suitable for battery system that requires 2 direction measurement. Perhaps you can try to DIY bi-directional DC energy meter.

    • @mohammadrifqifaqih4630
      @mohammadrifqifaqih4630 3 ปีที่แล้ว

      Solarduino can you tell me some product bi directional dc energy meter ? That you have test ? Or can you recom for me?

  • @AndiFalihM
    @AndiFalihM 3 ปีที่แล้ว +1

    Hi I've follower the code and library from the blog. i still got "Failed to read modbus
    " message, kindly help

  • @ragilprasetiyo302
    @ragilprasetiyo302 3 ปีที่แล้ว +1

    what if you use two pzem 017 modules?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว +1

      You can try to make 1. Kindly check my new video for 2 PZEM connection > th-cam.com/video/s7KWjkpZSOQ/w-d-xo.html

    • @ragilprasetiyo302
      @ragilprasetiyo302 3 ปีที่แล้ว

      @@solarduino1374 thanks bro

  • @tryhutomoputra3219
    @tryhutomoputra3219 3 ปีที่แล้ว

    can i use 100A shunt with rating 75mv/100A ?

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Yes you can, there are few standard shunt ratings and you need to do the setting to the module in the code or via PC software.

    • @tryhutomoputra3219
      @tryhutomoputra3219 3 ปีที่แล้ว

      Ok Thanks mate for the tutorial.. Have a good day

  • @ariilham5864
    @ariilham5864 ปีที่แล้ว

    tutor vidio powermeter yg889

  • @fadielabdi7047
    @fadielabdi7047 2 ปีที่แล้ว

    serial monitor & blynk shows nothing. I tried many ways but still not work

    • @angelobautista5
      @angelobautista5 2 ปีที่แล้ว +1

      Same here. Not sure if hardware issue

  • @tvaik4633
    @tvaik4633 ปีที่แล้ว

    blynk 2.0 not working

  • @yothinthailand5076
    @yothinthailand5076 3 ปีที่แล้ว

    give me code

    • @solarduino1374
      @solarduino1374  3 ปีที่แล้ว

      Hi, kindly click the blog page link at the video description below..

  • @romanmodrak1765
    @romanmodrak1765 ปีที่แล้ว +1

    Don't do this project, it doesn't work, the code is bad. Lost money. I wrote to the author but got no reply.

  • @ariefrahmadi1526
    @ariefrahmadi1526 ปีที่แล้ว +1

    good morning sir. Introduce me Arief Rahmadi. I am a student from University of Riau Islands. I have read your blog. Because the title of my final project is a "Power Monitoring System on a Solar Panel Based on the Internet of Things" which is related to the final project that you are also doing, I want to ask you about the circuit and coding that I have made.
    My first problem is, when I uploaded the Arduino IDE program, the program was successfully uploaded. But, when I serialize a monitor that uses a baudrate of 9600, the reading does not produce the expected result, namely the reading shows 0. Can you help me? I hope you can help me in finding the problem I'm having. Can I get your email ? so I can ask for more details. Thanks.

  • @ahameedsina629
    @ahameedsina629 2 ปีที่แล้ว

    Good Day Solarduino,
    Thank you so much for this wonderful project.
    Though this project has been long, I will like to ask you some questions on this.
    Can you please provide your e-mail so that I can send you the details of my questions. The e-mail you provided (solarduino.com@gmail.com) is bouncing back e-mail.
    But first, may I ask this;
    Since you used Node MCU which has a logic level of 3.3v with the MAX485 UART TTL RS485 converter which uses 5.0v output at its terminals RO, RE, DE and DI, how come the 5v output MAX485 UART TTL RS485 converter did not damage the NodeMCU?
    Awaiting your kind response.