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

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • 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...
    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.aliexpr...
    1) Peacefair DC Energy Meter - s.click.aliexpr...
    2) NodeMCU micro-controller - s.click.aliexp...
    3) NodeMCU base - s.click.aliexpr...
    4) Serial - RS485 converter - s.click.aliexpr...
    5) Ferrule Lugs & Crimper Sets -s.click.aliexpr...
    6) Terminal Plier Set - s.click.aliexpr...
    7) Relay Switch Module - s.click.aliexpr...
    8) Arduino Starter Kit - s.click.aliexpr...
    9) Dupont Wire - s.click.aliexpr...

Комментарии • 68

  • @teknisiamatir91
    @teknisiamatir91 Месяц назад

    Nice....

  • @WeekendDIYProjecs
    @WeekendDIYProjecs Месяц назад

    Nice project. Thanks.
    Is it possible to add Oled display ?
    Can pls share the program with oled display?

  • @anandakrishnanVU3CPF
    @anandakrishnanVU3CPF 7 дней назад

  • @shamtajas
    @shamtajas 2 года назад +1

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

  • @fajarsetyadi1504
    @fajarsetyadi1504 Год назад +1

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

  • @haitran3724
    @haitran3724 4 года назад +1

    thanks

  • @energorower7504
    @energorower7504 4 года назад +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  4 года назад

      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.

  • @ikrarg1046
    @ikrarg1046 3 месяца назад

    Hello, Is there any coding without blynk just serial print arduino ide

  • @likit4275
    @likit4275 2 года назад

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

  • @wardoyodoyok
    @wardoyodoyok 2 года назад

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

  • @Key-DIY
    @Key-DIY 4 года назад +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  4 года назад

      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 !

  • @angelobautista5
    @angelobautista5 3 года назад

    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.

  • @hazardede_n
    @hazardede_n 7 месяцев назад

    Can I use it to measure more than 100 amps?

  • @miftahq1
    @miftahq1 9 месяцев назад

    Can for read bidirectional?

  • @fendyly5737
    @fendyly5737 3 года назад

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

  • @georgiypanaetov9497
    @georgiypanaetov9497 2 года назад

    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.

  • @aldilukmansyahp.y3011
    @aldilukmansyahp.y3011 3 года назад

    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?????

  • @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!

  • @hoangnamnguyen9243
    @hoangnamnguyen9243 2 года назад

    hello , i dont know why i dont mearsuring

  • @johnsamuel8722
    @johnsamuel8722 Год назад

    Can we use this module with dc motor

  • @muhamadiqbalnurwahid1633
    @muhamadiqbalnurwahid1633 3 года назад

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

  • @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

  • @shamtajas
    @shamtajas 2 года назад

    Can please make tutorial using MySQL database

  • @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

  • @locklucky3387
    @locklucky3387 Год назад

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

  • @shamtajas
    @shamtajas 2 года назад

    Can please make tutorial using Arduino IoT Cloud

  • @tvaik4633
    @tvaik4633 2 года назад

    blynk 2.0 not working

  • @dienthongminhesmart
    @dienthongminhesmart 4 года назад

    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  4 года назад

      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.

  • @didiercolin496
    @didiercolin496 2 года назад

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

  • @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.

  • @ragilprasetiyo302
    @ragilprasetiyo302 4 года назад +1

    what if you use two pzem 017 modules?

    • @solarduino1374
      @solarduino1374  4 года назад +1

      You can try to make 1. Kindly check my new video for 2 PZEM connection > ruclips.net/video/s7KWjkpZSOQ/видео.html

    • @ragilprasetiyo302
      @ragilprasetiyo302 4 года назад

      @@solarduino1374 thanks bro

  • @fadielabdi7047
    @fadielabdi7047 3 года назад

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

  • @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

  • @romanmodrak1765
    @romanmodrak1765 2 года назад +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.

  • @faicale
    @faicale 4 года назад

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

    • @solarduino1374
      @solarduino1374  4 года назад +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 4 года назад

      @@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  4 года назад

      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.

  • @JY-lm8of
    @JY-lm8of 4 года назад

    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  4 года назад

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

    • @JY-lm8of
      @JY-lm8of 4 года назад

      @@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  4 года назад

      @@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 4 года назад

      @@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?

  • @mohammadrifqifaqih4630
    @mohammadrifqifaqih4630 4 года назад

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

    • @solarduino1374
      @solarduino1374  4 года назад +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 4 года назад

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

  • @tryhutomoputra3219
    @tryhutomoputra3219 4 года назад

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

    • @solarduino1374
      @solarduino1374  4 года назад

      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 4 года назад

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

  • @ariilham5864
    @ariilham5864 Год назад

    tutor vidio powermeter yg889

  • @yothinthailand5076
    @yothinthailand5076 4 года назад

    give me code

    • @solarduino1374
      @solarduino1374  4 года назад

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

  • @ariefrahmadi1526
    @ariefrahmadi1526 2 года назад +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 3 года назад

    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.

  • @ikrarg1046
    @ikrarg1046 3 месяца назад

    Hello, Is there any coding without blynk just serial print arduino ide