Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, KWh

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 47

  • @eerrfanshayyestehh2069
    @eerrfanshayyestehh2069 Před 5 měsíci

    👍👍👍👍👍👍👍

  • @avardgah5236
    @avardgah5236 Před 2 měsíci

    Nice video. Thanks bro...❤
    Are u from Iran?

  • @ChristieNel
    @ChristieNel Před 11 měsíci

    Superb! I use a DC version of that with a high current shunt. I've been wanting to design an AC version and remember saving the IC datasheet from your previous design. Those little OLED screens are superb for the price. I use them everywhere. Though, I2C is really terrible.

    • @MyVanitar
      @MyVanitar  Před 11 měsíci

      Thanks. The IC does a nice job for the majority of applications. Here the data rate is low to demonstrate some characters (using I2C), otherwise, the SPI version should be used

    • @ChristieNel
      @ChristieNel Před 11 měsíci

      @@MyVanitar I have not found a version with the SPI pinout, but that would be my preference. I'm running mine at 400kHz so I get a decent refresh rate and my driver is now pretty robust and does auto-recovery on lockup, but it does consume a lot of MCU processing compared to SPI.

    • @MyVanitar
      @MyVanitar  Před 11 měsíci +1

      I posted the article

  • @neilthompson6713
    @neilthompson6713 Před 9 měsíci

    This is professional work. High quality. Time is well spent to watch this video if the topic is of interest to the viewer. If I had suppliers who could provide this quality analysis and implementation, I would be a most loyal customer. Better yet, if I had employees who could do work like this then I would be both happy and proud. Question: I need to replace a commercial panel-mount meter that has 0.1% accuracy because the meter is physically too big. This posting quotes the accuracy of this design around 0.5 percent. Can the accuracy be improved by changing components or is a new design required?

    • @MyVanitar
      @MyVanitar  Před 9 měsíci

      Thank you very much. Regarding your question, the accuracy depends on the chip or ADC. For this chip, the accuracy is around 0.5%, but 0.1% is possible with a different design. You are welcome to send me an Email (you can find it in the CZcams "About" section) and discuss it.

  • @rob040
    @rob040 Před 10 měsíci

    Hi Again. 🙂 Just saw your second version and I'm impressed. Found the HEX file, but not the code. One small remark, this and the previous version has a cosmetic error: kilo isn't with a capital K, it's kWh. Capital K is Kelvin. 😉

    • @MyVanitar
      @MyVanitar  Před 10 měsíci

      I can not publish the code for this one because I wrote it myself and spent a fat amount of time on it. for the first version, yes, you should look at the function name in the library, otherwise, names and letters might be different in the text.

    • @rob040
      @rob040 Před 10 měsíci

      Understood, but are you going to adapt it in this version?

    • @MyVanitar
      @MyVanitar  Před 10 měsíci

      adapting what? Do you mean adding PF?

    • @rob040
      @rob040 Před 10 měsíci

      Changing KWh into kWh as it should be. I can't do it myself.
      I understood the PF is already available, correct?
      I read all the content and watched the video, but the meaning of the four TACT switches is not entirely clear. Can you please explain?

    • @MyVanitar
      @MyVanitar  Před 10 měsíci

      two tacts are to calibrate the voltage and the other two to calibrate the current. if you want to have the PF, let me know to give you a different HEX file

  • @ZomB1986
    @ZomB1986 Před 9 měsíci

    When I saw the Hackaday headline, I thought this was for measuring the entire house. I may have been biased because I need an entire-house measuring solution. But with 6W it's not gonna fly.

    • @MyVanitar
      @MyVanitar  Před 9 měsíci

      Why not, You can use it for your entire house. if we assume the maximum current consumption of your house is 20A, then the power dissipation on the shunt is only 0.4W (20*20*0.001R)

    • @MyVanitar
      @MyVanitar  Před 9 měsíci

      if you use four 4 milliohm resistors (=1milliohm), you can increase it even to 12W. please watch the video completely and read the article

  • @hp2073
    @hp2073 Před 11 měsíci +1

    This project is very nice 😊

  • @orides5976
    @orides5976 Před 8 měsíci

    What a useful and interesting little IC to measure AC power! I´d like to learn how to program this microcontroller as well. I like it because it is powerful and extremely cheap. Can you give some guidance on how to start with it? What software did you use to develop the firmware? Thank you!

    • @MyVanitar
      @MyVanitar  Před 8 měsíci

      Thanks. The MCU is STM32 so I used the STM32 IDE. if you want to build one for yourself, you can order the PCB or assembled board and use the HEX file to program the MCU using an STM32 programmer. if you want to go commercially and need the code or PCB to make modifications for your brand, we should make other steps

    • @orides5976
      @orides5976 Před 8 měsíci

      Thank you for your quick reply! I liked your project very much, but my focus right now is to learn how to program these small STM32 micros. I have some cool projects that the STM32G030F6P6 would fit perfectly.@@MyVanitar

  • @lumivex
    @lumivex Před 4 měsíci

    Nice and neat circuit . Can you add over load cut off and when load is remove it will restore back?

    • @MyVanitar
      @MyVanitar  Před 4 měsíci

      if the load is removed, the screen shows zero consumption. for overcurrent detection yes is possible, but it needs some modifications, on this PCB is not possible

  • @bakryzain160
    @bakryzain160 Před 11 měsíci

    Very cool, thank you... I'm excited for the next project

  • @MellexLabs
    @MellexLabs Před 11 měsíci

    Nice build! How does it measure voltage? Have you considered a galvanic isolation transformer for measuring current? I have used the LEM HX 10P/S2 in one of my projects it uses hall effect and it goes up to 10A + 300% surge current without shunt resistors... its a bit expensive but it allowed me to keep the low voltage components completely isolated from the high voltage side.

    • @MyVanitar
      @MyVanitar  Před 11 měsíci +1

      Check the article for full details. it's published now

  • @hieunguyenanh2366
    @hieunguyenanh2366 Před 9 měsíci

    You don't support the code, why can't you find the code related to the kernel button?

    • @MyVanitar
      @MyVanitar  Před 9 měsíci

      for someone who wants to build this for himself, the HEX file is enough.

  • @mohamedashraf3789
    @mohamedashraf3789 Před 5 měsíci

    How much volts and amps can the circuit handle?

    • @MyVanitar
      @MyVanitar  Před 5 měsíci

      This is for the AC line (220V). maximum current depends on the power of the shunt resistor

  • @neilmorrison2183
    @neilmorrison2183 Před 11 měsíci

    Volts? Amps? Watts? Can it handle a split 240 system like in the US/Canada?

    • @MyVanitar
      @MyVanitar  Před 11 měsíci

      This design does the measurements, it's not like UPS. Check the article for full details

  • @oleksii.zagorskyi
    @oleksii.zagorskyi Před 11 měsíci

    I'm, but I could not get, where I can see schema of this device?

    • @MyVanitar
      @MyVanitar  Před 11 měsíci +1

      Check the article for full details. it's published now

  • @kamalzinzuvadiya6488
    @kamalzinzuvadiya6488 Před 10 měsíci

    Helllo sir, i have also done one project in that i am also measure vrms Irms and pf but in inductive load pf not shoing correct

    • @MyVanitar
      @MyVanitar  Před 10 měsíci

      I don't know about your circuit, but how do you know the true PF value

    • @kamalzinzuvadiya6488
      @kamalzinzuvadiya6488 Před 10 měsíci

      Can you share contact details I will contact you personally. Thank you for response.

    • @MyVanitar
      @MyVanitar  Před 10 měsíci

      before that, I just want to know what was your reference tool to measure the PF for comparison

  • @mohamedashraf3789
    @mohamedashraf3789 Před 5 měsíci

    I want to communicate with you

    • @MyVanitar
      @MyVanitar  Před 5 měsíci

      if you have a question, the best place is to ask is the CZcams comments. for business talks please send me an Email

  • @mohamedashraf3789
    @mohamedashraf3789 Před 5 měsíci

    where the Code ?

    • @MyVanitar
      @MyVanitar  Před 5 měsíci

      Did you check the article? You can download the complied HEX