DIY ESP32 AC Power Meter (with Home Assistant/Automation Integration)

  Рет қаралды 512,216

GreatScott!

GreatScott!

Күн бұрын

Пікірлер: 590
@Asu01
@Asu01 4 жыл бұрын
This is exactly what I need, thanks! Now I can monitor how much power I'm drawing from my neighbour's power grid and adjust my load so it won't make any suspicion.
@greatscottlab
@greatscottlab 4 жыл бұрын
Glad I could help!
@Asu01
@Asu01 4 жыл бұрын
I'm happy you glad, @@greatscottlab. Sorry for the late reply, my neighbour's Wi-Fi was down for a moment.
@geetanshgautam
@geetanshgautam 4 жыл бұрын
Lmfao
@prathambhat2803
@prathambhat2803 4 жыл бұрын
😂😂
@galladeblade6001
@galladeblade6001 4 жыл бұрын
@@greatscottlab I think you didn't understand correctly. 😅
@shingGOLDmonkey224
@shingGOLDmonkey224 4 жыл бұрын
The circuit shown at 6:42 is a nice idea and definitely works in a pinch, but it's a serious source of error in your measurements and can easily DESTROY your expensive ESP32. Firstly it relies on the precision and drift of the offset voltage resistor divider, which is not insignificant as if you are using 5% resistors, your center voltage and thus powerline measurement could also be off by 5% (or around 16v at line level). Also at startup, before the 10uF capacitor charges to 1.65v, the input of the ADC swings negative, which can seriously damage some devices which don't have stringent input protection. Finally, if there is some fault in the line which causes the transformer to output a higher than expected voltage, this will exceed the power rail of the circuit and discharge straight into the ESP32. You want a circuit called a "Clamper" or "DC Restorer" which will fix your voltage above ground potential (protecting the ESP32 ADC) and allow you to take advantage of the full scale of the ADC input. This also saves on two precision resistors for the voltage divider, and a rail-to-rail buffer amplifier will tend to isolate the ESP32 from any voltages over the supply rails. With an output buffer you can also use a smaller capacitor value, with higher voltage rating and non-tantalum type for safety such as a ceramic disk capacitor. You can also safely add an external ADC if you want to increase your measurement accuracy substantially. (Just remember to sample the max voltage to calculate the zero crossing point for the AC signal, as there is no center offset voltage now) There is no fundamental difference between your expensive power meter and a circuit you can build at home, you just need to find all your sources of error and minimize them! :) Here is example circuit for reference tinyurl.com/y2aoed7z
@JuanFlores-rj1he
@JuanFlores-rj1he 4 жыл бұрын
Cool!
@compthing5656
@compthing5656 4 жыл бұрын
This needs to get pinned. Pretty good reply. Thanks for sharing info
@xxcr4ckzzxx840
@xxcr4ckzzxx840 4 жыл бұрын
Sick reply, thanks alot!
@shingGOLDmonkey224
@shingGOLDmonkey224 4 жыл бұрын
​@@xristost68 Nice work, only problem is that during that settling time the negative analog voltage would still exceed absolute maximum specifications on popular ADCs like the ADS111x, so you should add a schottky diode from ground to the output to limit that negative swing in the startup :) And if you're using an expensive precision ADC like the AD7792, it only tolerates 30mV below the ground rail, so you would need more strict signal conditioning than just a schottky diode.
@sirente9275
@sirente9275 4 жыл бұрын
This is cool. Do you have more info on the circuit? Function and how to choose the capacitor and resistor pls
@ZeroMass
@ZeroMass 4 жыл бұрын
My Sunday morning is complete... Coffee and *GREAT SCOTT!!*
@greatscottlab
@greatscottlab 4 жыл бұрын
Enjoy!
@POWERFPV2024
@POWERFPV2024 4 жыл бұрын
I have learnt so many things by watching your video and again a big love from India ❤️❤️👍❤️❤️❤️❤️
@Evgen-Evgen-Evgen
@Evgen-Evgen-Evgen 4 жыл бұрын
Oh lucky you, it's sunday night for me((
@SriTejaChilakapati
@SriTejaChilakapati 4 жыл бұрын
@@Evgen-Evgen-Evgen Well, it's past midnight for me and I'm technically watching this on a monday 😅
@kishoreksm8366
@kishoreksm8366 4 жыл бұрын
It's 1.30am here..
@adityag.5372
@adityag.5372 4 жыл бұрын
Hey! This video doesn't start with the word "recently" 😅😅
@_BSG_
@_BSG_ 4 жыл бұрын
Vah bhai vah
@allbeit582
@allbeit582 4 жыл бұрын
ha ha
@С-8КОМ
@С-8КОМ 4 жыл бұрын
this dude read my thought i wanted to do that exact thing
@backdemoletor4654
@backdemoletor4654 4 жыл бұрын
Yeah me too... It's impressing
@iamaromalms24
@iamaromalms24 4 жыл бұрын
Absolutely Like KZbin algorithm 😂
@TheAvdeevVladimir
@TheAvdeevVladimir 4 жыл бұрын
Same here, but I thought it will be not accurate.
@nikgru4577
@nikgru4577 4 жыл бұрын
Same here
@LuckySingh-ob4bw
@LuckySingh-ob4bw 4 жыл бұрын
And he made the cable tracker video right when I needed it
@AmplifierWorld
@AmplifierWorld 4 жыл бұрын
What a great energy you delivered while saying " stay creative and see u next time"
@jeffpkamp
@jeffpkamp 4 жыл бұрын
Some points from my experience building The same thing for my own home: if you can't find a 12-volt AC former, you can step down the voltage just using a standard voltage divider with 10 or 20 times the resistance on the upstream resistor (depending on if you're in the Europe or US). If you want it isolated, you can use a one-to-one speaker transformer, or they have potted transformers the one-to-one ratio specifically for this task. Also the ESP32 ADC has abysmal accuracy without some sort of filtering in software. I actually used an Arduino nano to measure the current on the two phases coming into my house (US) and pass that off to an ESP8266 to send to my server. The values I got out of this setup were within 0.1% of what the electric company said I used.
@rzdakira
@rzdakira 4 жыл бұрын
"Handy and shocking." A pun across two languages. I love it
@AgentOffice
@AgentOffice 4 жыл бұрын
What's it mean
@BrianLough
@BrianLough 4 жыл бұрын
@@AgentOffice handi is german for phone (maybe specifically mobile phone), shocking cause it's both a shock/surprise but also cause electricity can shock you
@hooblydoobly9125
@hooblydoobly9125 4 жыл бұрын
Urmom
@hooblydoobly9125
@hooblydoobly9125 4 жыл бұрын
@@AgentOffice urmom
@hooblydoobly9125
@hooblydoobly9125 4 жыл бұрын
@@BrianLough urmom
@Felix-ve9hs
@Felix-ve9hs 4 жыл бұрын
I just installed Home Assistend on my Proxmox Server and was searching for a "smart" Power Meter I could use with it, perfect timing :D
@KevinDC5
@KevinDC5 4 жыл бұрын
I actually just received my very first ESP8266 NodeMCU in the mail yesterday and have been pondering a project all night. Amazing that you post this today!🤘🏼🤘🏼
@JoaoSilva-jr9ez
@JoaoSilva-jr9ez 4 жыл бұрын
Power meter: shows -43W real power Great Scott: "the power meter still works perfectly fine"
@mewantsmash
@mewantsmash 4 жыл бұрын
I think he has solar panels, but I was also confused by this
@JoaoSilva-jr9ez
@JoaoSilva-jr9ez 4 жыл бұрын
@@mewantsmash hm, his solar panels pumping current into the grid with a power factor of -0.25? dunno about that, but my guess is that solar panels should present a PF as close to 1 as possible.
@eDoc2020
@eDoc2020 4 жыл бұрын
He probably just hooked up his sensor backwards.
@dirklaubusch5659
@dirklaubusch5659 4 жыл бұрын
Das waren grad "Grundlagen der Elektrotechnik" (1.Semester) und "HM 1 " ( Höhere Mathematik I ) in 10 Minuten. Der Mann hats echt drauf ! :=)
@asrithtechsys6954
@asrithtechsys6954 4 жыл бұрын
I have literally no idea what I'm watching But I still love his videos :)
@DJ-Manuel
@DJ-Manuel 4 жыл бұрын
I can reccomend shelly devices, most of them have power meter feature integrated, there are aswell a dedicated powermeter wit power clamps. Even 3-phase is available. And they can be integrated very useful 👍
@Goni0121
@Goni0121 4 жыл бұрын
thanks man. I needed a tree phase monitor and this is a good, easy to install and simple solution.
@khayhensarveswarah5731
@khayhensarveswarah5731 4 жыл бұрын
The CT Clamp component in ESPHome is based of the emonlib library and has very easy integration, it even allows you to use a higher precision external ADC such as ADS1115.
@ΔημήτρηςΚαφφάτος
@ΔημήτρηςΚαφφάτος 4 жыл бұрын
I had something like that in mind for a long time, great job!!! Adding a temperature sensor on a solar heater and a power relay we could remotely power on its internal resistor when we need it (without have it on all the time). We can also watch the power consumption for security reasons and be able to turn on the outside lights remotely, and so on. Home (and not only) automations with microcontrollers is so simple this days and we can do so many things that really worth spending some time learning how to program them which is pretty simple and a great way to learn children how and why programming is fun and why maths physics and chemistry is necessary most of the time on whatever we do :-)
@rob_cek
@rob_cek 4 жыл бұрын
Im always so fascinated by your projects and even more how economical you make them even though you live in germany where gross can shoot up very high, keep up the spirit scott! (Im from slovakia, so you can understand the meaning of the comment)
@briangitau7737
@briangitau7737 2 жыл бұрын
Bmore
@tomwilliam5118
@tomwilliam5118 4 жыл бұрын
It's always nice to see the the face behind The Voice the videos I watch
@DrGreenGiant
@DrGreenGiant 4 жыл бұрын
I've recently done this myself, well similar. I wrote my own code in the IDF and used the SCT-013 current clamp so I could measure the whole house current. No touching of live wires needed since it's a clamp rather than pass through doughnut. Works very well but I am assuming voltage since I don't have an isolating transformer yet to measure it. That's the next upgrade!
@galladeblade6001
@galladeblade6001 4 жыл бұрын
This is one element of my thesis paper on college. Those stressful days.
@LanceMcCarthy
@LanceMcCarthy 4 жыл бұрын
I love how popular Home Assistant has become.
@JohnBoen
@JohnBoen 4 жыл бұрын
I came on line to just now literally to search for someone who has done this project - nice timing :)
@nicholasbishop01
@nicholasbishop01 4 жыл бұрын
We just did this for our EE senior design project back in the spring! We won first place!
@owenmcpro
@owenmcpro 4 жыл бұрын
"which is handy and SHOCKING at the same time" me: i see what you did there
@greatscottlab
@greatscottlab 4 жыл бұрын
;-)
@POWERFPV2024
@POWERFPV2024 4 жыл бұрын
For your KZbin channel islands so many things a love ❤️❤️from India
@RajendraBhattRajDa
@RajendraBhattRajDa 4 жыл бұрын
He pulled a little sneaky on ya
@linorocha6319
@linorocha6319 4 жыл бұрын
Also "handy" is cellphone in deutsch ;)
@etmoimeme
@etmoimeme 4 жыл бұрын
Could you explain, I don't get it?
@brandonstevens6886
@brandonstevens6886 4 жыл бұрын
"I have the goal of lowering mine though" Says the guy with a 3d printer, a cnc mill, and literally every high current device XD. Aside from that I really love your videos.
@Private_Duck
@Private_Duck 4 жыл бұрын
I really want to see that tesla coil. I've been watching your videos since i first started electronics about three years ago. I still cannot believe that you didnt make a tesla coil that can make some interesting arcs.
@petersage5157
@petersage5157 4 жыл бұрын
GreatScott! glosses over a summation formula that probably has most viewers' eyes glazing over. "And just like that..."
@angzarr9584
@angzarr9584 3 жыл бұрын
We need to get this man to 2 Million
@thetechboy8529
@thetechboy8529 4 жыл бұрын
I am waiting for this video for a long time. The most informative video on this topic on KZbin Thanks sir
@jiangxu3895
@jiangxu3895 3 жыл бұрын
I never thought so careful about this problem. Thanks Scott
@TheMechanicGamerVids
@TheMechanicGamerVids 4 жыл бұрын
Your channel is always a great place to watch some cool videos utilizing microcontrollers like the ESP32. It’s such a versatile controller to have around! I’ve used them for all sorts of things, I had one hosting an access point with a simple html interface to control a project I had made.
@nathantron
@nathantron 4 жыл бұрын
Some of the new/Modern US home power meters actually have debug output ports. You can hook into those if you want, they are read only and not encrypted in any way. So this may be even easier to access the data.
@Ke_Mis
@Ke_Mis 4 жыл бұрын
If you want to save energy, just turn off the light strip in the background (0:15), Scott! Jokes aside, great project!
@damzelfly
@damzelfly 2 жыл бұрын
Now I need to figure out how to measure a 3 phase power which I use in my home now. Great video for me to get started. Thanks!!
@solieeeeeee
@solieeeeeee 4 жыл бұрын
There is a simplier solution for power measuring which is called PZEM-004T (with great accuracy of measurements too!)
@didnotkn0
@didnotkn0 4 жыл бұрын
Great video, I love incorporating tech into homes like this. I would also like to say thank you for making videos, you have been such a huge inspiration to me and a large reason why I want to get into electrical engineering, much love from Phoenix, AZ.
@Od3o_ela_sabil_rabek
@Od3o_ela_sabil_rabek 4 жыл бұрын
06:42 what's this circuit please mention the name of this one
@letenof
@letenof 4 жыл бұрын
The AC voltage is both positive and negative. ESP32 ADC input accepts only positive. The circuit adds a positive offset (half of 3.3V) so that negative voltage will never reach ESP32 and damage it.
@greatscottlab
@greatscottlab 4 жыл бұрын
It is a voltage divider.
@Od3o_ela_sabil_rabek
@Od3o_ela_sabil_rabek 4 жыл бұрын
@@greatscottlab Ok Thank you for you're attention
@floris00
@floris00 4 жыл бұрын
If you have a smart meter (which a lot of people have nowadays in Germany and the Netherlands) you can hook up a RPI to the P1 port of the meter. That port spits out a lot of info about your electricity and gas usage (if you have gas at your home). You can also integrate it very easy with Home Assistant.
@1976kanthi
@1976kanthi 4 жыл бұрын
Thank you for making excellent electronics videos. You are my favourite electronics KZbinr!!!
@HemonDey
@HemonDey 4 жыл бұрын
Thanks for this video, I enjoy watching your channel and its great content. I've created an energy metering system in my house using existing energy meters with pulsed outputs, basically gives a pulse for each 1whr consumed - this significantly reduces the complexity of the project as it means only having to count pulses to get near instantaneous energy consumption values. Also if you also monitor milliseconds between pulses, you can work out near instantaneous power consumption as well. These meters are very common and easy to obtain, and they also by their nature have to be reasonably accurate - an added bonus is that they also typically come in a small form factor (1x din width), and pulses are isolated from mains. I populate the energy/power values directly into a time series database (Influx) and graph with results using Grafana.
@rameshprakash3887
@rameshprakash3887 4 жыл бұрын
Awesome bro.... This is from India... Vera level.... Thank you for the video...
@TheOrginalHumibold
@TheOrginalHumibold 4 жыл бұрын
If you got one of the newer electricity meters just count the light pulses it emitts and calculate the power drawn
@eDoc2020
@eDoc2020 4 жыл бұрын
You can do that but it only gives an indication of power (actually energy), not the other parameters like power factor.
@TheOrginalHumibold
@TheOrginalHumibold 4 жыл бұрын
@@eDoc2020 that's true but that the most important thing to know in my opinion. Because that's what you pay for and if you are using this to monitor your power consumption that's all you need
@georgei2480
@georgei2480 4 жыл бұрын
I'm a big fan of making cool DIY projects that you cant already buy on the market. The issue I have with this project is that you can already buy a commercial version of this product that will be more reliable and cheaper than making it yourself. The Sonoff Pow can be bought for around USD 11, It has a built-in power consumption tracker, it has a built-in relay for remotely switching the appliance on and off, it is in a clear professional enclosed, and it can easily be modded to work with home assistant. Unfortunately, there is no reason to make your own. It will cost you just as much and you will have a lesser product.
@patrickjoseph9476
@patrickjoseph9476 4 жыл бұрын
Great Scott, love watching your videos! It improved my electronics knowledge by a ton!
@DownToNerd
@DownToNerd 4 жыл бұрын
I was going to ask you for a vid on what oscilloscope to buy for tinkering like you. Then i saw the part number on this vid and searched for the one you use, holy shyte, thats a 12000 euro oscilloscope. ok nevermind, i'm gonna keep using my multimeter like the noob i am. good vid btw, as always
@edwardvanhazendonk
@edwardvanhazendonk 2 жыл бұрын
Thanks again, great explanation of a rather complex setup in a short period of time.
@RomanoPRODUCTION
@RomanoPRODUCTION 4 жыл бұрын
DIY wins again. Awesome GreatScott!
@EhsanHabib
@EhsanHabib 4 жыл бұрын
That's what i needed ... Perfect Timing
@TuncayAyhan
@TuncayAyhan 4 жыл бұрын
Home-Assistant again! Nice video Scott!
@diniitotoom2526
@diniitotoom2526 2 жыл бұрын
this my favorite channel on youtube😍
@alaanoor3679
@alaanoor3679 3 жыл бұрын
another GREAT video from GreatScott!
@greatscottlab
@greatscottlab 3 жыл бұрын
Glad you enjoyed it!
@vaibhavbhasin3861
@vaibhavbhasin3861 4 жыл бұрын
Its super cool , but its really difficult when you start. For beginners point of view, various topics like working of esp32, how data came into mobile app, current sensor calibration etc are alot of things to learn. 🤖 All the best to all and do share your experiences. 👍
@MeisterQ
@MeisterQ 4 жыл бұрын
I think your problems with such diffrent values is the non-linearity of the ESP32s ADC. There is alot of stuff about this on google. The best thing so monitor the values all the time is to use a Shelly 3EM and integrate it into your hass
@05PAJA
@05PAJA 4 жыл бұрын
You are right, but the different price tag. Shelly3EM = 100€. if you calibrate precisely, the data are usable.
@theoneohmresistor
@theoneohmresistor 2 жыл бұрын
now you can get similar thing for $8, and with a relay... great stuff
@matiastripaldi406
@matiastripaldi406 4 жыл бұрын
Great vid as always! Just one question, if you used a current transformer that supports up to 5A how are you going to measure the power for your whole house with it? Surely the house draws more than 5A and that could destroy the transformer
@eDoc2020
@eDoc2020 4 жыл бұрын
It looks like he was just measuring a single circuit. Plus I don't think it would destroy the transformer, it would just give incorrect readings.
@BenCos2018
@BenCos2018 4 жыл бұрын
It can destroy the transformer if you put more than 5 through it I think You can just get a larger amperage one though to measure larger circuits tbh
@BenCos2018
@BenCos2018 4 жыл бұрын
@@eDoc2020 he was only measuring one circuit
@avejst
@avejst 4 жыл бұрын
Great video as always👍😀 Thanks for sharing👍😀
@raybright5805
@raybright5805 4 жыл бұрын
Great explanation of how different loads effect the phase angle between Voltage and Current BUT to keep things simple with respect to monitoring power consumption (as charged on your power authority account) have you considered just monitoring the pulsing LED on your power meter. I suggest this for one of your excellent KZbin videos.
@andrewkieran8942
@andrewkieran8942 4 жыл бұрын
I'd like to hear more about the circuit at 6:40 that scales the AC voltage and shifts it to be above the ground reference used by the ADC.
@greatscottlab
@greatscottlab 4 жыл бұрын
It is a voltage divider. Nothing more.
@andrewkieran8942
@andrewkieran8942 4 жыл бұрын
@Kevin Counihan Thanks. I understand the resistor values, but what about the cap? Why 10uf?
@andrewkieran8942
@andrewkieran8942 4 жыл бұрын
@Kevin Counihan Thank you! That's very helpful.
@mojo_jojo
@mojo_jojo 4 жыл бұрын
Wouldn't be one of the eastron meters an option? I use the sdm630 which is connected via modbus to a raspberry pi. The values can be published via mqtt.
@MCsCreations
@MCsCreations 4 жыл бұрын
Fantastic work, dude! And really interesting project! 😃 Stay safe and creative there! 🖖😊
@bsand1746
@bsand1746 4 жыл бұрын
Your videos are awesome man. Please keep it up! Thank you
@jcdameoh3528
@jcdameoh3528 3 жыл бұрын
My brain is overload but great video GreatScott
@АлексейЕрошкин-ш9ш
@АлексейЕрошкин-ш9ш 4 жыл бұрын
This video is cool as educational stuff, but in reality it's much easier, accurate and maybe even cheaper to buy something like sonoff pow r2 (not an ad, just an example) smart relay with all this measuring functions included.
@vaibhavhayaran
@vaibhavhayaran 4 жыл бұрын
exactly what i needed thanks!!
@greatscottlab
@greatscottlab 4 жыл бұрын
You're welcome!
@johnavonvincentius1884
@johnavonvincentius1884 4 жыл бұрын
The more easier way is probably using the pzem-004T module with an esp-01...maybe a future project? :D
@tfoutfou21000
@tfoutfou21000 4 жыл бұрын
PZEM-016 is better in many aspect (many device on one single uart/bus , power factor report , 100A max , much much safer PCB design) i personnaly have 20 of them in my house :D
@tfoutfou21000
@tfoutfou21000 4 жыл бұрын
Personnaly i prefer the pzem. I dont want 20+ more device on my wireless network. And I prefer not to have the current passing thru the device , pzem use an external current transformer. Regarding price the pzem is cheaper by 20 to 50%. (9 USD in china)
@tfoutfou21000
@tfoutfou21000 4 жыл бұрын
@@Android-ng1wn The pzem 016 and pzem 014 Need only one Arduino (or any controler) And they output their own 5v to power the controller. They work on a bus and you Can have as many as 256 on a single uart. Currently is use mqtt to send data where i want 👍
@MagSun
@MagSun 4 жыл бұрын
8:40 how do you calibrate these values? Do you need a 1000€ power meter to find the right values? 😱
@05PAJA
@05PAJA 4 жыл бұрын
No, you dont need power meter. Just a good multimeter and calibrate the voltage and current values to get match with the value's output on IDE serial monitor.
@JuanoD_
@JuanoD_ 4 жыл бұрын
This is just what I needed. Just in time. As always, great job :D
@laxmiram19
@laxmiram19 4 жыл бұрын
Big fan from india. Great videos 😊 Take care of your health.
@maxk3673
@maxk3673 4 жыл бұрын
Nice Project but one thing strikes me about it. Is the RealPower supposed to be negative? @ 10:42
@greatscottlab
@greatscottlab 4 жыл бұрын
Yes
@steefant
@steefant 4 жыл бұрын
@@greatscottlab can you please elaborate? is it another joke I didn't get? :)
@John_Ridley
@John_Ridley 4 жыл бұрын
This is what I've been wanting to do, though A) I want to do every circuit so I need about 30 channels of sampling, and B) I don't really care that much about precise values, calculating reactive power, getting RMS values, etc. I just want some relative values so I know what circuits to go after as hogs next, or which can be adjusted to run primarily in the daytime when the solar panels are producing.
@rubabmubarrat
@rubabmubarrat 4 жыл бұрын
your beard style looks good
@herik63
@herik63 3 жыл бұрын
Wonderful exclamation, thank you so much from a old electronics technichian :)
@korishan
@korishan 4 жыл бұрын
I have built one of these, but with an Arduino Nano. Works pretty good, though not very accurate, especially with low power usage. So I decided to go the Esp32 route. But the built-in ADC resolution is still too low. Which I went with an ADS1115, which gives me 16-bit resolution. Problem is, I can't get the ADC to properly work with the EmonLib code. I've even done the procedure injection, or what ever it's called and made the changes for it. Still nothing. And the guy who originally made the altered code for the ADS1115 with EmonLib won't help. Any ideas on how to get these to work together? I know the ADS1115 can only do about 800sps. To get "real" power consumption, need at least 1500sps or something like that. But it'd be better than the built-in ADC. Also to note, the standard EmonLib can only do about 4 return values per second, and this is because it does several loops per run to get the values. This does slow down the returning values quite a bit.
@SirHarrisonPhillips
@SirHarrisonPhillips 4 жыл бұрын
Great Scott is with us!!!
@Harismanniyil
@Harismanniyil 4 жыл бұрын
Waiting for Sundays, ❤️❤️❤️
@resources5166
@resources5166 4 жыл бұрын
I had a doubt Scott, why dont you use ACS712- Current sensor and ZMPT101B- Voltage Sensor and make it as simple as possible and well portable as well with no external circuits as well?
@goliathsuperstar
@goliathsuperstar 4 жыл бұрын
Keep doing this esp videos i love this platform
@traditionrider
@traditionrider 2 жыл бұрын
Handy and shocking at the same time - funny😂
@rajig532
@rajig532 4 жыл бұрын
I inspired from your videos. Thanks for your great effort and keep on posting. Very useful one. I request you to make a video on, Which is the best ceiling fan regulator type ( Electric (Resistive), Triac based (smooth control), Step control (Capacitor based ) )
@FunBots
@FunBots 4 жыл бұрын
Great Video! Thanks a lot Scott!
@emilehoffmann
@emilehoffmann 4 жыл бұрын
I am a huge fan of your videos!
@abdulkadirgozuoglu8946
@abdulkadirgozuoglu8946 4 жыл бұрын
You may use ordinary 2-3w 230v to 12v transformer as voltage sensor. So that you can fit in small area. Thank you for very usefull application:))
@Aybex97
@Aybex97 4 жыл бұрын
Great video as always, But I have a question, would the transformer not influence the phase of the measured votlage? Wich will make the power factor and active power not precise . Or was that accounted for in the code ?
@eDoc2020
@eDoc2020 4 жыл бұрын
It would influence the signal, but as long as the transformer isn't tiny the effect should be negligible.
@BrianVanderbusch
@BrianVanderbusch 4 жыл бұрын
The timing of this video could not be better. I was just looking to create a power consumption module for my 3D Printer and CNC mill bench
@richielonewolf7725
@richielonewolf7725 4 жыл бұрын
Lol "handy and shocking" made my day😆
@CWies
@CWies 4 жыл бұрын
what a coincidence! have to start to Programm a esp32 Bluetooth audio receiver like... now
@CWies
@CWies 4 жыл бұрын
@@ruakij6452 OH YEA!
@pauljackson2126
@pauljackson2126 4 жыл бұрын
4:48 Can I swap the shown Safety Transformer with a simple transformer available in my music amplifier.
@eugrafcmg
@eugrafcmg 4 жыл бұрын
Will it not be easier to use tasmota or espeasy?
@marekklucka4407
@marekklucka4407 2 жыл бұрын
Hi Scott, you should definitely do a follow up and some finalization of this. I need to do exactly this, but the situation is that I want to see each of the info about consumption per beaker, so the question is, do I need to have ESP for each of the breaker? Or is there possibility to combine them? A lot of questions which I think you've been working on in the past, so your experience would come in handy. Thanks
@tvishmaychoudhary69
@tvishmaychoudhary69 4 жыл бұрын
Hey what about the Tesla coil you have talked in the yt stories???
@greatscottlab
@greatscottlab 4 жыл бұрын
The video will come out when it is done
@tvishmaychoudhary69
@tvishmaychoudhary69 4 жыл бұрын
@@greatscottlab ok☺
@totolastico
@totolastico 4 жыл бұрын
i was just looking for something for my house ! thank you, i'm gonna look at all this stuff. :-)
@nagybogoslofasz
@nagybogoslofasz 4 жыл бұрын
There are meters that provide these values and are more compact, possibly more precise and reasonably priced. You could even read then with the cheapest arduino
@MegaTeXHaPb
@MegaTeXHaPb 4 жыл бұрын
Hi, friend! I want to notice 1 point. If you place information wires along with the power wires you can get some extra power in case of quick power jumps. Once we tried it on GSM equipment and had to pay 1000 euro for broken input modules ;-). So think about electromagnetic shield.
@KonradSzproncel
@KonradSzproncel 4 жыл бұрын
I'm using energy meter with pulse output wired to esp8266 and just counting pulses during time. Class 1 IEC 62053-21 45A 230V 1000imp/kWh - everything is simple. Paid 54PLN (~14USD).
@Trught
@Trught 4 жыл бұрын
Same here, 1 module 1 phase or 7 module 3 phase maneler energy meter output 800 impulse/kWh very cheap and accurate enough for me, esphome already integrated pulse count energy meter.
@Trught
@Trught 4 жыл бұрын
For existing power meters with noninvasive led impulse output can be read with photodiode. Gas meters with magnetic impulse output can be read with reed switch, utilize cheaper esp8266, already integrated into esphome
@misteragony
@misteragony 4 жыл бұрын
Can someone explain why you need the voltage sensor? Isn't a current clamp enough?
@greatscottlab
@greatscottlab 4 жыл бұрын
Necessary for the power factor calculation.
@misteragony
@misteragony 4 жыл бұрын
@@greatscottlab Ok, thanks for the reply. I ask because I have been using Flukso for doing similar stuff only using current probes: www.flukso.net/. I have three phases at home, so I would need to install 3 voltage monitors.
@blackbird8982
@blackbird8982 4 жыл бұрын
What about using an optocoupler as a reference point for timing?(zero voltage detector as an interrupt)
@sayantanmaiti2513
@sayantanmaiti2513 4 жыл бұрын
I would suggest to use those Hilink 220v to 3.3v AC-Dc converter for directly run esp from mains
@prathamkalgutkar7538
@prathamkalgutkar7538 4 жыл бұрын
It won't be Suitable here, Cause those Generate Stable 3.3V DC while here we need to Sample the AC Voltage which Fluctuate Constantly
@sayantanmaiti2513
@sayantanmaiti2513 4 жыл бұрын
@@prathamkalgutkar7538 i'm talking of supply to the esp
@vijayendirangiridharan6113
@vijayendirangiridharan6113 4 жыл бұрын
"Hook up to pin 34 and pin 35 of the esp 32"........DEADLY DAH!😂
@pravindev4370
@pravindev4370 4 жыл бұрын
Hey Scott, nicely done ✌️ Will you please tell Hey is Nodmcu is capable of reading sinusoidal waveform ?
@greatscottlab
@greatscottlab 4 жыл бұрын
Yes
@pravindev4370
@pravindev4370 4 жыл бұрын
@@greatscottlab Have you connected additional circuit to current transformer?
The Dark Secret of Smart Sockets and How I Fixed it! (DIY or Buy)
12:10
DIY 1kW Arduino MPPT Solar Charge Controller (WiFi ESP32)
18:11
TechBuilder
Рет қаралды 415 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
#347 Measuring Mains Voltage, Current, and Power for Home Automation
24:10
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Рет қаралды 79 М.
12 Mind-Blowing ESP32 Projects to try in 2024!
8:50
ToP Projects Compilation
Рет қаралды 226 М.
Every Home needs this Upgrade! (Night-Time Stairs)
13:03
GreatScott!
Рет қаралды 390 М.
I tried finding Hidden Gems on AliExpress AGAIN AGAIN!
13:01
GreatScott!
Рет қаралды 1 МЛН
DIY Home Power & Solar Energy Dashboard -  Home Assistant w/ ESPHome
26:34