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

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

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

  • @eerrfanshayyestehh2069
    @eerrfanshayyestehh2069 5 месяцев назад

    👍👍👍👍👍👍👍

  • @avardgah5236
    @avardgah5236 2 месяца назад

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

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

    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  9 месяцев назад

      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  9 месяцев назад

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

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

    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  9 месяцев назад

      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 RUclips "About" section) and discuss it.

  • @lumivex
    @lumivex 4 месяца назад

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

    • @MyVanitar
      @MyVanitar  4 месяца назад

      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

  • @hp2073
    @hp2073 11 месяцев назад +1

    This project is very nice 😊

    • @MyVanitar
      @MyVanitar  11 месяцев назад +1

      Thank you! Cheers!

  • @rob040
    @rob040 10 месяцев назад

    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  10 месяцев назад

      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 10 месяцев назад

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

    • @MyVanitar
      @MyVanitar  10 месяцев назад

      adapting what? Do you mean adding PF?

    • @rob040
      @rob040 10 месяцев назад

      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  10 месяцев назад

      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

  • @ChristieNel
    @ChristieNel 11 месяцев назад

    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  11 месяцев назад

      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 11 месяцев назад

      @@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  10 месяцев назад +1

      I posted the article

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

    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  7 месяцев назад

      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 7 месяцев назад

      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

  • @bakryzain160
    @bakryzain160 11 месяцев назад

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

  • @MellexLabs
    @MellexLabs 11 месяцев назад

    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  10 месяцев назад +1

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

  • @mohamedashraf3789
    @mohamedashraf3789 5 месяцев назад

    How much volts and amps can the circuit handle?

    • @MyVanitar
      @MyVanitar  5 месяцев назад

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

  • @neilmorrison2183
    @neilmorrison2183 11 месяцев назад

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

    • @MyVanitar
      @MyVanitar  10 месяцев назад

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

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

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

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

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

  • @oleksii.zagorskyi
    @oleksii.zagorskyi 11 месяцев назад

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

    • @MyVanitar
      @MyVanitar  10 месяцев назад +1

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

  • @kamalzinzuvadiya6488
    @kamalzinzuvadiya6488 10 месяцев назад

    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  10 месяцев назад

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

    • @kamalzinzuvadiya6488
      @kamalzinzuvadiya6488 10 месяцев назад

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

    • @MyVanitar
      @MyVanitar  10 месяцев назад

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

  • @mohamedashraf3789
    @mohamedashraf3789 5 месяцев назад

    I want to communicate with you

    • @MyVanitar
      @MyVanitar  5 месяцев назад

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

  • @mohamedashraf3789
    @mohamedashraf3789 5 месяцев назад

    where the Code ?

    • @MyVanitar
      @MyVanitar  5 месяцев назад

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