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 😎
😄 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?
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
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.
@@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
@@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?
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.
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
@@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?
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
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
@@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)
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
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
@@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.
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.
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
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
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
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.
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
@@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.
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.
@@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.
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
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
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
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
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
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?
@@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 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
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.
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.
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.
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
Ευχαριστούμε!
Thank you very much for your support
will you please suggest any other values of 0.004 ohm resistor because I didn't get it from online
you should create a 1miliohm resistor, at least 6W. so you can use two 0.002 (2 milliohms) in parallel also
if you could not find one, at least use a single 1milliohm 3W one to make your experiments
Thanks for the great content!
My pleasure!
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 😎
Hi, nice project, thanks for sharing. 🙂 What I miss is the Power Factor. What's the reason not adding that?
You have the code, just add it :-)
😄 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?
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.
Ah, that easy. 😃 Thanks for guiding me. Got it!
Solid work!!!very informative
Glad it helped!
For use with 120V North American systems, is it as simple as halving the shunt resistors and modifying some Arduino code?
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
I have published another version of this also, as of today, it is my latest video
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.
Did you use my GitHub code or something else? did you use my PCB?
How Bring back the index finger of an electric meter ?
I did not get your question
Hi,Sir
is there any demo for using current transformer instead of shunt?
why do you need that? a shunt is more accurate and works at least up to 20A, similar to your multimeter
@MyVanitar
Current transformer is more safe, did you test it with 8032?
@@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
@@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?
@@knowledge_seeker80 forget it, do what you love :-)
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.
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
@@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?
it's weird indeed, the current is also weird without any load
Great stuff, thanks for sharing
Glad you enjoyed it
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
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
@@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)
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
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
@@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.
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.
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
How can I cut communication to the counter chip
cut from where?
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?
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
thank you for your excellent work@@MyVanitar
Can you send the code please
check the article friend.
Please what is the name of the LCD connector, input and out put connector please I need it for my project
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
ممنون، پاور فکتور هم لحاظ میکنه؟ منظورم کسینوس فی هستش
Yes.
@@MyVanitar ای سی توان سنج رو چک کردم تو نت فقط یه دیتا شیت چینی داره . میشه بفرمایید دقتش چقدره؟
0.5%, check the article References
How much volts and amps can the circuit handle?
This is for the AC line (220V). maximum current depends on the power of the shunt resistor
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.
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
@@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.
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.
@@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.
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
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
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
I have another design as well, V2. check my videos you will find it
@@MyVanitar yes most of our meter lost stored energy on voltage drop areas , due to what reason happen or which electronic component causes
This is not the problem of the meter, it can be easily solved to handle even as low as 85V-AC
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
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
You dont have any link to the project details
There is a technical problem with the blog. Please check back again tomorrow or a day after
Thank you..it looks a very interesting project...very different to others I have seen.
Thanks, Yes I've tested it myself in all aspects
Please thanks so much for this wonderful video. Please how can I get one of this board for my project?
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
Fantastic :-)
Thank you! Cheers!
Hello Sir, Can you share the Energy-Meter.PrjPcb file please.
I'm sorry, sharing the source file is not possible, you can get the Gerber or order it directly
@@MyVanitar Its alright, thanks for the great content. Keep sharing.
Hi Sir great project... Thanks for sharing... I need to clarify on think about frequency if possible to add displayed in frequency please 🙏🙏🙏
This is for the Mains power (home appliances), so the frequency in most cases is 50Hz
@@MyVanitar sir if possible to add in lcd display frequency also please
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?
@@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
because the frequency is always 50Hz, why somebody should measure it?!!
Very nice sir
Keep watching
Sir how to measure frequency for exact value without distortion please
AC frequency is 50Hz
@@MyVanitar yes AC line voltage and frequency need to display
You have the code, display "50Hz" somewhere you like on the screen
@@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
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.
AC Milliamp measure.....?
it's not possible with a 1miliohm shunt
can you a make a DC energy meter?
DC is way easier than AC, difficult is AC
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.
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.
Any energy metering chip is available that support CT instead of shunt resistor?
Free legal licence for Altium Designer on 1 month, no for long time
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
@@MyVanitar yes, i check it, 30 days, but its small period :(