🔶 High Precision Digital AC Energy Meter Circuit [Voltage, Current, Power, KWh]

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 115

  • @nikolaoskalodoukas4874
    @nikolaoskalodoukas4874 5 днів тому

    Ευχαριστούμε!

    • @MyVanitar
      @MyVanitar  5 днів тому

      Thank you very much for your support

  • @anandkishore945
    @anandkishore945 10 місяців тому +1

    will you please suggest any other values of 0.004 ohm resistor because I didn't get it from online

    • @MyVanitar
      @MyVanitar  10 місяців тому

      you should create a 1miliohm resistor, at least 6W. so you can use two 0.002 (2 milliohms) in parallel also

    • @MyVanitar
      @MyVanitar  10 місяців тому

      if you could not find one, at least use a single 1milliohm 3W one to make your experiments

  • @ScottSenkeresty
    @ScottSenkeresty 2 роки тому +2

    Thanks for the great content!

  • @okoman90
    @okoman90 3 місяці тому +1

    On schematic ic3 opto collector output reversed out from tx. If you change to opto output from emiter you can directly normal tx uart and use it arduino 😎

  • @rob040
    @rob040 Рік тому +1

    Hi, nice project, thanks for sharing. 🙂 What I miss is the Power Factor. What's the reason not adding that?

    • @MyVanitar
      @MyVanitar  Рік тому +1

      You have the code, just add it :-)

    • @rob040
      @rob040 Рік тому

      😄 I wish I could. I'm not able (yet?) to read/understand the code and to change it. But is it possible by only adapting the software or are HW changes also necessary?

    • @MyVanitar
      @MyVanitar  Рік тому

      just remove a line (on the LCD output) that you don't want (for example KWh) and add the PF. The library has its functions.

    • @rob040
      @rob040 Рік тому

      Ah, that easy. 😃 Thanks for guiding me. Got it!

  • @AJ_the_injinur
    @AJ_the_injinur 10 місяців тому

    Solid work!!!very informative

    • @MyVanitar
      @MyVanitar  10 місяців тому

      Glad it helped!

  • @psoridian
    @psoridian Рік тому

    For use with 120V North American systems, is it as simple as halving the shunt resistors and modifying some Arduino code?

    • @MyVanitar
      @MyVanitar  Рік тому

      I don't think you would need to modify anything, use it as it is with 120V, however, I think about the non-isolated supply side. The output voltage of that section "might" not be sufficient with 120V. I have not worked with 110V/120VAC to confirm this or not. I don't know

    • @MyVanitar
      @MyVanitar  Рік тому +1

      I have published another version of this also, as of today, it is my latest video

  • @hophoh
    @hophoh Місяць тому

    Hi, nice introduce. I have use from your code. but voltage and current are not true. at 220V return 178V and at 0.2 A return 3A. what can i do. thanks.

    • @MyVanitar
      @MyVanitar  Місяць тому

      Did you use my GitHub code or something else? did you use my PCB?

  • @mrsouleymane73
    @mrsouleymane73 Рік тому

    How Bring back the index finger of an electric meter ?

    • @MyVanitar
      @MyVanitar  Рік тому

      I did not get your question

  • @knowledge_seeker80
    @knowledge_seeker80 Місяць тому

    Hi,Sir
    is there any demo for using current transformer instead of shunt?

    • @MyVanitar
      @MyVanitar  Місяць тому

      why do you need that? a shunt is more accurate and works at least up to 20A, similar to your multimeter

    • @knowledge_seeker80
      @knowledge_seeker80 Місяць тому

      @MyVanitar
      Current transformer is more safe, did you test it with 8032?

    • @MyVanitar
      @MyVanitar  Місяць тому

      @@knowledge_seeker80 safe? so Fluke multimeters are unsafe?! if you think so, just follow, and I have not used a current transformer with this chip yet

    • @knowledge_seeker80
      @knowledge_seeker80 Місяць тому

      @@MyVanitar
      thanks for your fast reply
      using current transformer is more safe:
      If user draw more current from the shunt so may cause damage to the board
      what do you think?

    • @MyVanitar
      @MyVanitar  Місяць тому

      @@knowledge_seeker80 forget it, do what you love :-)

  • @mutaharalshami7671
    @mutaharalshami7671 10 місяців тому

    Thanks for the great video!
    I am using your library, and reading is ok but the values I am getting are not accurate, PF is always around 0.35 and Current at no load is reading 0.7-0.9A. Voltage on the other hand is accurate. Any suggestion what might be the cause? in regards to schematics it is pretty much the same as yours and the datasheet.

    • @MyVanitar
      @MyVanitar  10 місяців тому +1

      You should calibrate the device using a linear AC load (such as a classic light bulb) and an accurate true rms multimeter in AC current mode. however this is not the case with you, calibration fixes some drifts, not the thing you experience. make sure you only use my library from my Github, also clean the board for any flux residue. I can not help you more because you don't use my PCB and I don't know what you did in that level. by the way, watch my upgraded version and the calibration phase here: ua-cam.com/video/GDTPgqovTlw/v-deo.html

    • @mutaharalshami7671
      @mutaharalshami7671 10 місяців тому

      @@MyVanitar Noted.
      There is something off as you mentioned, it is not just the calibration as my readings for PF is way off with a resistive load (100w blub). I will try to clean the board as you suggested, alternatively I will try to change the current sensing resistor to another type, but I wonder could that cause the PF to be so inaccurate?

    • @MyVanitar
      @MyVanitar  10 місяців тому

      it's weird indeed, the current is also weird without any load

  • @dymastro788
    @dymastro788 Рік тому

    Great stuff, thanks for sharing

  • @Encyanix
    @Encyanix Рік тому

    Hey, is it possible to modify the circuit with HLW8032 ic to be powered from 12v car system and to measure car amplifier output to speaker? (voltage, current, power)? Thank you

    • @MyVanitar
      @MyVanitar  Рік тому

      Your case is different because the frequency and output wave are different. by the way, you can put a high power resistor instead of the speaker, with the same resistance as your speaker, for example 4-ohm or 8-ohm, then measure the RMS voltage and RMS current using your oscilloscope and multiply these two

    • @Encyanix
      @Encyanix Рік тому

      @@MyVanitar But speaker is inductive load and impedance is constantly changing. I want to measure true power that speaker is receieving from 10 to 100hz (sub frequency range)

    • @MyVanitar
      @MyVanitar  Рік тому

      The power of what you hear and what the board can handle is different. To measure the power of your amplifier, this technique is applicable. for the input, you can apply a small sine wave using a generator

    • @MyVanitar
      @MyVanitar  Рік тому

      if this does not satisfy you, you can build a load using some copper wire (to simulate the speaker) and make this experiment using that load. but you would need an oscilloscope in either case or even a current probe to measure the RMS current. I may do a video around this

    • @Encyanix
      @Encyanix Рік тому

      @@MyVanitar I already designed the circuit to measure rms voltage and current but I am not sure how to calculate power factor. I done testing with frequency generator.

  • @szucspower
    @szucspower Рік тому

    Hi! Can this energy chip indicate the direction of energy too? For example, if I have a solar system. I'd like to see, whether I consume energy or I feed energy into the grid. Is it positive power or negative power? Is this circuit capable of indicating the direction of power? Thank you for your video.

    • @MyVanitar
      @MyVanitar  Рік тому +1

      This is for AC loads; for example, you can put it at the voltage entrance of your home or measure the power consumption of the individual AC loads to see how much they consume the power. In your case, I think you are dealing with DC voltage at the first stage, DC is way easier than AC

  • @ruebenforkpah5868
    @ruebenforkpah5868 Рік тому

    How can I cut communication to the counter chip

  • @acanbal3854
    @acanbal3854 Рік тому

    Hello, congratulations for your impressive work. In order to use this system in 3 phase, can't we connect the shunt resistor before the load?

    • @MyVanitar
      @MyVanitar  Рік тому

      For 3 phases, you need 3 of these, each for one phase. the shunt is before the load always. here is also like this. Check my latest video also. I have introduced V2 of this circuit

    • @acanbal3854
      @acanbal3854 Рік тому

      thank you for your excellent work@@MyVanitar

  • @ابوعبدالله-خ4ك5ث
    @ابوعبدالله-خ4ك5ث 9 місяців тому +1

    Can you send the code please

    • @MyVanitar
      @MyVanitar  9 місяців тому +1

      check the article friend.

  • @paulpixzy5297
    @paulpixzy5297 2 роки тому

    Please what is the name of the LCD connector, input and out put connector please I need it for my project

    • @MyVanitar
      @MyVanitar  2 роки тому +1

      I publish an article (a blog post) with every project. Please check the video description tomorrow or the next day, by the way, you should watch the video completely. unfortunately some beginners are just hurry and impatient

  • @arvinbaba
    @arvinbaba Рік тому

    ممنون، پاور فکتور هم لحاظ میکنه؟ منظورم کسینوس فی هستش

    • @MyVanitar
      @MyVanitar  Рік тому

      Yes.

    • @arvinbaba
      @arvinbaba Рік тому

      @@MyVanitar ای سی توان سنج رو چک کردم تو نت فقط یه دیتا شیت چینی داره . میشه بفرمایید دقتش چقدره؟

    • @MyVanitar
      @MyVanitar  Рік тому

      0.5%, check the article References

  • @mohamedashraf3789
    @mohamedashraf3789 10 місяців тому

    How much volts and amps can the circuit handle?

    • @MyVanitar
      @MyVanitar  10 місяців тому

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

  • @ChristieNel
    @ChristieNel 2 роки тому

    I've been wanting to design an AC measurement circuit for my solar heater system, so this is very handy. My existing sense circuit has similarities to yours, with large cut-outs. I control around 1kW and measure using large, external shunts. I haven't looked at AC measuring chips yet, but I'm concerned whether they provide pure RMS? You've put a lot of work into this design, so I'm curious what it's for? I'm also surprised that you're using an Arduino.

    • @MyVanitar
      @MyVanitar  2 роки тому

      Check the article, Christie. This time it was published with a few hours of delay. of course, it measures the RMS voltage and current. and also many other complex parameters. if it does not, then what's the benefit. I did that with Arduino to make it more educational-friendly. for a commercial product, I would make some changes

    • @ChristieNel
      @ChristieNel 2 роки тому

      @@MyVanitar Great, I'll have a look at the article. I specifically meant true RMS power (not just RMS V x I), but it sounds like it does that too. How do you sell your products? I design quadrature motor controllers and other things, but have had poor luck selling things.

    • @MyVanitar
      @MyVanitar  2 роки тому

      Yes, of course, V*I is the apparent power, not the active power. I don't sell products, however, you can collaborate with big shops and send your items for them to sell. companies do this most of the time.

    • @ChristieNel
      @ChristieNel 2 роки тому

      ​@@MyVanitar That's what I tried to do without success. May I ask which companies buy from you and how one should contact them? I really don't want to keep doing the individual selling and posting.

    • @MyVanitar
      @MyVanitar  2 роки тому

      As I mentioned in the previous comment, I don't sell products, however, that was my suggestion. You may try Amazon and eBay as well

  • @EthioElectric-Technology
    @EthioElectric-Technology 7 місяців тому

    Thanks for sharing very interesting topic
    as the above board shows the energy meter design for 220 nominal voltage what will happen if the voltage level below 220 V or 100V

    • @MyVanitar
      @MyVanitar  7 місяців тому

      nothing. it calculates based on the input voltage and current, however, I'm thinking about the capacitor-based supply for the chip (not the chip itself), that might cause issues if the voltage drops too low

    • @MyVanitar
      @MyVanitar  7 місяців тому

      I have another design as well, V2. check my videos you will find it

    • @EthioElectric-Technology
      @EthioElectric-Technology 7 місяців тому

      @@MyVanitar yes most of our meter lost stored energy on voltage drop areas , due to what reason happen or which electronic component causes

    • @MyVanitar
      @MyVanitar  7 місяців тому

      This is not the problem of the meter, it can be easily solved to handle even as low as 85V-AC

  • @EthioElectric-Technology
    @EthioElectric-Technology 7 місяців тому

    Hello Mr my name is kassahun Tamiru from Ethiopia Africa as you explain digital energy meter measure Active energy reactive energy ,apparent energy , active ,reactive ,and Apparent power and also digital energy meter measure instant current , instant voltage ,power factor and display any tamper event on meter LCD like Battery status , reverse connection ,ground , terminal open and Etc ,
    my county single phase system voltage standard is 220 V and we use digital energy meter but our meter canceled the previous stored cumulative energy when our voltage decrement to 170V and below what will be the Reason for meter canceled registered kwh

    • @MyVanitar
      @MyVanitar  7 місяців тому +1

      I don't know, but a voltage glitch (on/off) probably caused this, because they calculate until their power is connected. to avoid this, you have to store the latest data on an EEPROM or something, every 1-2 minutes for example

  • @SimjetAU
    @SimjetAU 2 роки тому

    You dont have any link to the project details

    • @MyVanitar
      @MyVanitar  2 роки тому

      There is a technical problem with the blog. Please check back again tomorrow or a day after

    • @SimjetAU
      @SimjetAU 2 роки тому +1

      Thank you..it looks a very interesting project...very different to others I have seen.

    • @MyVanitar
      @MyVanitar  2 роки тому +1

      Thanks, Yes I've tested it myself in all aspects

  • @Nii_Nashville
    @Nii_Nashville 2 роки тому

    Please thanks so much for this wonderful video. Please how can I get one of this board for my project?

    • @MyVanitar
      @MyVanitar  2 роки тому +1

      Check the article link in the UA-cam video description. This time it was some delay in that. There is a possibility for you to order the board or even order it fully assembled

  • @hp2073
    @hp2073 2 роки тому

    Fantastic :-)

  • @pritamrokade87
    @pritamrokade87 2 роки тому

    Hello Sir, Can you share the Energy-Meter.PrjPcb file please.

    • @MyVanitar
      @MyVanitar  2 роки тому

      I'm sorry, sharing the source file is not possible, you can get the Gerber or order it directly

    • @pritamrokade87
      @pritamrokade87 2 роки тому +1

      @@MyVanitar Its alright, thanks for the great content. Keep sharing.

  • @vengug7303
    @vengug7303 2 роки тому

    Hi Sir great project... Thanks for sharing... I need to clarify on think about frequency if possible to add displayed in frequency please 🙏🙏🙏

    • @MyVanitar
      @MyVanitar  2 роки тому

      This is for the Mains power (home appliances), so the frequency in most cases is 50Hz

    • @vengug7303
      @vengug7303 2 роки тому

      @@MyVanitar sir if possible to add in lcd display frequency also please

    • @MyVanitar
      @MyVanitar  2 роки тому

      I think you had asked this question somewhere else also. What is your question, just want to display "50Hz" somewhere on the screen or you want to measure the frequency?

    • @vengug7303
      @vengug7303 2 роки тому

      @@MyVanitar Sir Please help us i need to measure exact frequency value in LCD Display using arduino .... so many videos not display frequency in the LCD screen

    • @MyVanitar
      @MyVanitar  2 роки тому

      because the frequency is always 50Hz, why somebody should measure it?!!

  • @lixtvofficial9008
    @lixtvofficial9008 2 роки тому

    Very nice sir

  • @vengug7303
    @vengug7303 2 роки тому

    Sir how to measure frequency for exact value without distortion please

    • @MyVanitar
      @MyVanitar  2 роки тому +1

      AC frequency is 50Hz

    • @vengug7303
      @vengug7303 2 роки тому

      @@MyVanitar yes AC line voltage and frequency need to display

    • @MyVanitar
      @MyVanitar  2 роки тому

      You have the code, display "50Hz" somewhere you like on the screen

    • @vengug7303
      @vengug7303 2 роки тому

      @@MyVanitar hi.... I have code but this code will work test table exact after connecting the equipment frequency will changed... So some distortions... Please help us how to avoid or solve the distortion

    • @MyVanitar
      @MyVanitar  2 роки тому

      This is related to your prior experience with the Arduino code. The screen refreshes automatically to show the data. You have to show your text somewhere that doesn't change or you can modify things based on your desire. Also, you can not program the Arduino on the board because I have used the RX and TX for a different purpose. remove the Arduino, program it, and put it in place.

  • @jigneshgol344
    @jigneshgol344 2 роки тому

    AC Milliamp measure.....?

    • @MyVanitar
      @MyVanitar  2 роки тому

      it's not possible with a 1miliohm shunt

  • @unknownblueblue
    @unknownblueblue Рік тому

    can you a make a DC energy meter?

    • @MyVanitar
      @MyVanitar  Рік тому

      DC is way easier than AC, difficult is AC

  • @googlesucks1376
    @googlesucks1376 2 роки тому +1

    Be a lot safer using a CT-based design with temp comp opto isolators for voltage ( you can do it using one on the input voltage and one in the feedback loop of an opamp on the low side) This provides a totally isolated solution. This is what the commercial one's we design use . Another option is to use something like the Allegro current sensors instead of CT's.

    • @MyVanitar
      @MyVanitar  2 роки тому +2

      Yes, CT can be also used with this design, but the direct measurement (like what I did) is more linear and accurate. CT is more convenient for non-invasive measurements, not because of the safety or similar. for when we use this in an enclosure, nobody is afraid of touching the circuit. Anything connected to the main should be considered for safety. For Allegros, you have to make the calculations yourself.

    • @sijo2084
      @sijo2084 Рік тому

      Any energy metering chip is available that support CT instead of shunt resistor?

  • @Techn0man1ac
    @Techn0man1ac 2 роки тому

    Free legal licence for Altium Designer on 1 month, no for long time

    • @MyVanitar
      @MyVanitar  2 роки тому

      Altium is an industry-level expensive software. 30 days is a fair time for a fully working demo. I have not seen any software that offers more than 30 days trial period. There are other schemes for a longer time, for example, student license or similar. check their website

    • @Techn0man1ac
      @Techn0man1ac 2 роки тому

      @@MyVanitar yes, i check it, 30 days, but its small period :(