![FionnOCH](/img/default-banner.jpg)
- 7
- 45 336
FionnOCH
Ireland
Приєднався 5 лис 2019
A lot of DIY mixed with electronics done by someone who doesn't really know what he's doing.
DIY Electric Kiln / High Temperature Oven Part 1
This is the 1st video in a series where I try to create an electric kiln from scratch.
I've always wanted to get into detailed metal casting and I think my answer to that is lost PLA casting, but in order to do that I need a high temperature kiln.
Off the shelf kilns are expensive particularly if you want to go large and the electronic controls don't seem to be the best out of the box. Follow me as I try to build a large kiln, wire up the electrics and program the electronics all from scratch. Things could get heated 🔥
I've always wanted to get into detailed metal casting and I think my answer to that is lost PLA casting, but in order to do that I need a high temperature kiln.
Off the shelf kilns are expensive particularly if you want to go large and the electronic controls don't seem to be the best out of the box. Follow me as I try to build a large kiln, wire up the electrics and program the electronics all from scratch. Things could get heated 🔥
Переглядів: 686
Відео
Custom LED Sign Part 1
Переглядів 432 роки тому
00:01 Sign Demo 00:13 Intro 04:20 How to Dim a Basic LED 06:19 Controlling an LED Strip 07:29 Introduction to MOSFETS 08:57 LED Strip Circuit Driver Diagram 12:39 Circuit Board Assembly 15:41 Complete Circuit 21:11 Final Review and Outro This video shows how you can make a basic LED strip control circuit and some things you might want to consider if you want to make one yourself!
3D Printer Upgrades part 1: New Custom Made Build Plate
Переглядів 2052 роки тому
Here I layout some of my plans for modifying my 3D FDM printer and make my first modification, a custom made removable aluminium bed that can allow me to quickly swap between different build plates. 00:00 intro: What 3D printer and what are the upgrades. 04:30 issues with the current printer bed. 07:00 Testing with a temperature sensor. 08:22 Solution. 08:59 Removing the bed. 10:22 Detaching th...
Home Power Monitoring with the PZEM Part 2
Переглядів 11 тис.2 роки тому
This video is meant to address some of the questions that came up in the previous video on using multiple PZEM-004T modules to monitor power usage at home. While I was at it I decided to add a bit on how I'm actually using the system a couple months on, some of the issues I have with it and show some of the updates that have come out since the initial video was created. The first video can be f...
Home Power Monitoring with the PZEM
Переглядів 32 тис.3 роки тому
Have you ever wondered what is chewing up all your electricity but didn't want to buy an expensive power monitoring kit? This video shows how you can use multiple low cost power monitoring boards (PZEM-004T V3) that can be used to give you a deep insight into your home electricity consumption and also shows how it can be integrated into HomeAssistant, a free IOT software that will not only make...
DIY Digital Hydrometer Part 2: How it works
Переглядів 1174 роки тому
This video runs through how the principle of the device works to see why we might be getting incorrect values.
DIY Digital Hydrometer Part 1: Test
Переглядів 3514 роки тому
This is my first test run of a cheap digital hydrometer which I made using an ultrasonic distance sensor and an ESP8266. The aim of this project is to make a low cost sensor which can be monitored remotely using Google Sheets to track how much alcohol has been created in my home-brewed cider.
por favor parte 2
It's been over 2 years since you uploaded this video (at time of writing), did you ever find out where your electricity was going? Are you still running the system you built? I've recently started using a pzem-016 connected to a pi and the pymodbus library, reports back to my server running grafana.
ah nice one! yeah it helped a good bit, the big thing was knowing when power is being consumed but we need to optimize a few things which is the tough bit tbh! It has had its fair share of troubles though as the esp32 can have difficulty communicating with multiple modules. I recently tweaked the housing and added am going to dig into the code a bit more to see whats happening. I might make a video if I get it all working together , down the line I'd like to maybe start adding some sort of analysis on the power (for e.g power factor and current draw) to figure out which appliance is running at what time but at this point thats mainly a pipe dream!
Can I use esp32 and connect each pzem004t to its own rx tx, I have 3 of them but I want to connect each one with my esp32 independently, is it possible ?
How did you externally aliment your esp without connecting it to your pc. How did you compile the code ??
I use home assistant! so I flash the esp32 with the home assistant code then I'm able to access it via over the air (OTA) updates :)
Great project :). Which sensor are you using here? Thanks!
Hx711 and a load cell!
Using three pzem004t with arduino nano to module sd card, code
Using three pzem004t with arduino nano to module sd card
Hello. There are 3 pzem-004t v3 in my project and I am trying to get data with nodemcu. I can retrieve data for each pzem one by one without any problems. However, when I connect to D3 and D4 pins, whether I define an address or not, only the last address is returned and mostly data is missing. Can I have your code that shows the sensor readings except the important parts?
I've found they can be a bit temperamental, to set them up with the various addresses I used an Arduino and then for the final implementation I used esphome (which isn't really coding tbh) on the video I posted after this I have a like to the GitHub with my old config file for esphome. Weirdly I found that when multiple modules are connected they can conflict with one another sometimes when esphome is used. Took a while to find that out, not sure exactly what causes it but maybe try removing 1 at a time and see if you can get multiple to work? The Arduino doesn't seem to have this problem
@@fionnoch9867 Thanks for the answer. Can I get the Arduino code? Maybe I can adapt it to nodemcu.
very good many thanks for sharing
very good many thanks for sharing
What metal are u using and how thick?
Nice job! Can you share with us the code?
The next video has a link to some example code!
Hi. Do you have a wiring diagram of this project?
In the next video I have a bit more detail!
Is it necessary for the power supply of the PZEM module to be the same as the circuit it is measuring, or are they independent of each other? I noticed you jumpered the power source between them
So I think in this config I had everything connected to the same circuit. So like the main line into the house and then 3 breakers that were attached to that. I presumed it wouldn't make a difference as they'd all be the same voltage, frequency etc. In a later revision I was monitoring across different phases (at home we have 3 phase power) so for that one each devices live connection was connected to the breaker it was reading from but I did daisy chain the neutral to avoid on the amount of wires and mess in the board. Just something I noticed is that you can't daisy chain neutrals if one of the fuses is an rcbo (I think, it's a breaker type that requires a L and N) as it will trip the breaker
@fionnOCH hope alls well... never got much further because the JST XH cables i keep ordering are the incorrect width 😢 Any chance you could post a link to the version you ordered? Thanks as ever 😊
sure thing, I used these myself so can guarantee they work, you can get them on aliexpress for cheaper but you'll have to wait. Another thing is make sure you have a half decent crimper. the ferrule things are small enough on these www.amazon.co.uk/Litorange-500PCS-Housing-Adapter-Connector/dp/B086W9HB3M/ref=sr_1_5?keywords=jst%2Bconnectors&qid=1692049849&sprefix=jst%2Caps%2C74&sr=8-5&th=1
I'm still hoping to do a part 3 on this, changed up the config slightly and also realized I made a mistake in the video, if you're wiring up you want to connect rx on the arduino to tx on the PZEM and vice versa. annoyingly its not rx to rx and tx to tx like I thought.
@@fionnoch9867 Thanks for link... any chance I could twist your arm to make up and sell me 5 of them?! 🙏
@@rossicullen the JST connectors or the PZEMs? I can make up JST connectors or pre connected if you'd like but they might end up coming the same as ones online but they'll have a very DIY esthetic 😅
Just the JST connectors with a bit of wire on them plz :-) think my last comment got deleted
thanks... So there is a hardware and a software version of Tx and Rx. Very useful information Cheers
Hi, if for example I declare the following addresses: PZEM004Tv30 pzem0(&Serial2, 0x10); PZEM004Tv30 pzem1(&Serial2, 0x11); Is there something to modify in the software of the modules? Or is it just connecting the 2 modules and arduino is in charge of giving it the addresses?
Correct, if you have more than 1 module you need to declare the addresses on the pzem's directly otherwise they will conflict. An Arduino can do this
@@fionnoch9867 Friend, could you give me the complete code that you did, thank you very much
@@TallerSalvatoreJimeno if you look at the part 2 video I have a link to a my github with example code for the ESPHome config. The Arduino address assigning bit you can use the example code for the PZEM to do that, I'd recommend using a software serial connection rather than a hardware serial and set the baud rate to 9600
Todo mundo mostra video e quer like, mas não compartilh o github com codigos kkk
Hello. I want to connect the PZEM to a regular ESP32 via the RX2 and TX2 ports. Is a 5v to 3.3v voltage converter needed?
yeah so you'd need a voltage converter if you're powering it directly from the esp32, some esp32s have a 5v output but not all, its worth checking if you do but the pzem won't work with 3.3V. The board I used did have a 5V pin but what I did was use a 230VAC to 5VDC power supply to power the PZEM and esp8266, you could do the same and have the power supplies 5v dc connected to the Vin of you're board maybe
Great video and really useful... looking to build similar...have parts ordered from Aliexpress for PZEM-004T on the slow boat/train from China. Have you made much changed to the setup 17 months later? Go raibh maith agat!
So I actually have made an update to this since, been meaning to do a follow-up actually but need to make the time! Basically I tried connecting directly to the hardware serial ports rather than doing software serial, had an odd problem where the PZEM would randomly disconnect with the esp8266 and I'd have to update or reboot the system then it would work. Weird but not the end of the world, hardware serial seemed to sort that out but comes with a few difficulties too, mostly the fact that you use the same serial connection for debugging/logging. Also bought new clamps as the ones I had weren't actually the correct ones, I'm in the same boat as yourself waiting for them to arrive back from China! When I get them in maybe I'll do a recap, but good luck in the meantime!
Mate, first thing to do in your setup is to connect voltage sensing correctly... I can see you've hooked up the same voltage phase to alll PZEMs! This is nonsense. It will fu*k you calculations (see your PF...) and the numbers you're getting are bullshit according to the major rule "Shit in, shit out":) PZEM is sampling voltage and current simulatously to be able to calculate all other things, including phase shift - power factor. That is why you MUST be sure each PZEM is sampling his own phase separately. Anothing argument for it is that in 3-phase systems the phases are simply not loaded qually so there are different voltages on each. Cheers!
Solar Winter Tip, You can steplessly dim down a Beuler and all other hungry electricity consumers with a 5000W dimmer (EUR 7). I run 5 dimmers in parallel on an 850W inverter. Kettle 2.2KW at 150W runs 12 hours a day, so the water is always hot. The room is also nicely heated. 2.5KW washing machine runs in parallel with dimmed to 200...400W. Iron, dishwasher, oven, electric heater, coffee machine, all internal heating are throttled with me. Videos about it on my channel ua-cam.com/video/eC2olbCBhh0/v-deo.html The inverter stays cool, quiet and the MOSFETs remain intact because extreme current peaks no longer arrive at the inverter. Now every Mini PV Inverter is enough to sell large devices. So with the dimmer all internal heaters/devices can be turned into base load devices that stay almost permanently ON while drawing very little current.
This is what I was looking since long. How about using ARDUNO MKR 1000 instead of esp32
I don't actually have an Arduino MKR however the standard Arduino PZEM libraries should work with that
@FionnOCH Can this PZEM004T be used with an Arduino Uno (or) Pro Mini. Am looking to get a three phase power measurement.!?! Any arduino libraries specific to three phase would be a welcome...
it can definitely be used with arduino's! in fact most of the libraries are based on arduino's. The three phase thing might be a bit trickier, I was wondering that myself as we have 3 phase at home. From the little looking I did the consensus I got was that you could just get 3 PZEM's and connect each to the live wires and have them all connected to the same neutral. a bit less elegant but its probably the only way to monitor it with these I think.
oh wow, please normalise or balance your audio, im not going to chase the volume up and down, frustrating video
If using esp32 with 3 sets of pzem004, have a way to share to us via inbox, we will be very grateful.
Unfortunately I don't have a setup that uses the esp32, though I don't think thered be much of a difference on the home assistant side. You'd just need to make sure you specify the rx and tx pins (like in the esp8266 I added) and just make sure your wiring is correct!
The esp8266 pins are 3.3V and I have seen other implementations use a 5v to 3v logic level shifter. However you are not doing this. Have you experienced any issues with this? I also see other implementations of multiple pzems using diodes to avoid clashes on response. However, again, it seems that you are not doing this. Again, any issues with that?
Yeah so I'm using a 5V power supply but the board I'm using is a wemos d1 mini which has a 5v to 3.3v regulator so that's how im powering the device. The 5v for the pzem's comes directly from the 5v power supply. In terms of diodes I havent had any issues with miscommunication with the pzem. They're all addressable so I'm not sure it would be too much of an issue. Occasionally I do have issues with reading not being taken but I've been told it could be because I use software serial rather than hardware serial, but I havent been able to test it out!
We connect aurdino to raspberry Pi for building server
esp8266 or esp32 not an arduino but yeah thats how it works :)
I need your help can do this
Sure thing if you have any questions just ask and I'll see if I can help. No promises though!
@@fionnoch9867 sir i need coding can you shere to me
@@sajidmanzoor3606 if you check around 7 minutes I go through an Arduino version and if you check out the end of the video around 10 minutes I go through the esphome code. Is there anything in particular you need help with?
Hi
power factor 0.25?! nonsense.. current 0,949, power 57W, voltage 242V. omo's law I=Power(kW)/Voltage(V). I=0,057/242=0,248A. The power factor should be between 0.8-1. Electric heater should be about 0.9-0.95
Interesting, admittedly I don't understand power factor too well (hence relying on pzem rather that something where I had the think it though 😅) but I thought that it was to do with the phase difference between the true power and the real power? Or is that what you estimated and I've just misunderstood?
@@fionnoch9867 Voltage and current should be taken from same phase each instrument. Otherwise you'll get wrong power factor and power calculation due to the phases shift. Good video! thanks for having shared it!
Hi, nice video i have been doing the same stuff as you but i am not using pzem module, just wondering if i can see your dashboard for monitoring, btw i am using the ubidots platform
Thank you, I appreciate it! I've uploaded a copy of one of my basic dashboards on HomeAssistant to my github page github.com/Fionnoch/ESPHome_PZEM_Monitoring/blob/main/Basic_Dashboard_Code.yaml Its basic but its what I use most. Also HomeAssistant recently added an energy monitoring tab though that is really good for power monitoring and its fairly intuitive, I'd recommend checking it out
Don't use software serial. It will lock after sometime and you will receive the same values from de pzem until you reset the all thing!
That is a problem I've been having with them never thought that this might be the issue!
Have you done any validation of the readings you are getting. I've looked and tried a few different supposed power monitoring devices or circuits and have found the results questionable. Have you tried running a known load against the PZEM and say a wattmeter to see if they actually agree on what the load is pulling?
Verry nice Video. Good explaned. I have it setup with ESPHome and now I get the next message on my HA screen : PZEM Current UNKNOW. What I'm doing wrong ?
thank you! hard to diagnose without a screenshot but I do occasionally have an issue where occasionally it might stop taking reading for a while generally i just turn it off and on and it fixes it. If you're not able to connect at all I'd check you have the correct address assigned to it first, if you're confident the wiring is all correct and the continuity of the wires are good I'd maybe try swapping the Rx and Tx pins in esphome
@@fionnoch9867 Right now I have it up and running. I have changed the wiring between TX and RX. Yhanks for your replay.
@@fionnoch9867 That's because you are using software serial. Software serial is a crap. Connect the pzems to the hardware serial port of the esp and use hardware serial.
Good video. Thanks for the help.
My pleasure :)
Thank you!
nice video, also exactly what i want to do, working on some OSS code to manage all of this, and a lot of the hardware setup is theoretical, but this is great, I need to monitor main, but I also need to monitor the outputs of each relay individually to know their pull/status, etc. can you drop a note on the extension from your microcontroller and how it gets connected to the board? I'm guessing you're only actually using 4 pins from the "duino" 5/gnd an rx and a tx for each of the N PZEMs?
Sure thing, I've been meaning to do a follow up for a while on how the circuit is wired up, few people have asked about that but just haven't made time to make it. The circuit board is really straight forward, I have a mains to 5v breakout board I got off aliexpress and I use the 5v and ground from that to power the esp8266 and the PZEM modules. the Rx and Tx pins of the pzem's are all joined and connect to pins 6 and 7 of the esp (forget which is Rx and which is Tx, think I mention it in the video) but that is the gist of it. I'll hopefully have time this weekend to put together a close up of the board, planning on making a few adjustments to the setup, there's also been talk on the esphome platform of making a way to reset the total energy usage.
ua-cam.com/video/h9fNpurEkZI/v-deo.html added a few more details in this video if you're interested.
@@fionnoch9867 you are an angel, thank you kindly
Good video what I've been looking for. Make sure you put spacers between the PZEM boards and the wood behind it. Any moisture in the room may cause the wood to arc across the live and neutral pins and may cause a fire
Same with the main board at the top
good point, it was only meant to be a temporary setup but its turning permanent. Might need to make some changes
we do need no water let the mf burn!
sure great video but how you not what hes saying? cuz i can't hear a thing.
great video, will you also share your Esphome script for four PZEM?
Sure think I've uploaded the files I used to my GitHub page here: github.com/Fionnoch/ESPHome_PZEM_Monitoring It has the yaml file as well as the arduino sketches I used to set the addresses and test them out
@@fionnoch9867 thanks
@@fionnoch9867 I am trying to connect 3 pzem to make triphasic medication using an esp32 but I have not been able to, does the code you show here help me to make that medication? I am programming the esp32 from the arduino IDE, I appreciate your help friend
sir can you make the tutor for the main board that connected by 4 pzem?
Sure thing, are you looking for how to connect with the microcontroller (ESP8266) or are you wondering about the circuit board everything is on?
ua-cam.com/video/h9fNpurEkZI/v-deo.html Just made a video with a bit more elaboration on the circuit if you're interested