Make your own Power Meter/Logger

  Рет қаралды 1,030,897

GreatScott!

GreatScott!

Күн бұрын

Пікірлер: 794
@ElbadriEgyption
@ElbadriEgyption 7 жыл бұрын
for the logging you can use an CSV file and open it with format and it's pretty easy to create for example per each line you can have: TIME,VOLTAGE,CURRENT just use comma (, ) as separator between you values and excel should be able to put them in column for you
@BoomBrush
@BoomBrush 7 жыл бұрын
Wow, I just realized how much time and effort it must take to make these videos. And this is only 6-7 minutes long. Damn.
@UsePINpadtoCompleteTransaction
@UsePINpadtoCompleteTransaction 7 жыл бұрын
I sometimes struggle to find the proper words to express how much respect I have for projects you so openly provide. Thank you!!
@greatscottlab
@greatscottlab 7 жыл бұрын
You're welcome
@ufohunter3688
@ufohunter3688 7 жыл бұрын
​GS, This is one fantastic project. Made one and even added a few mods to the code. I didn't have to buy anything new or substitute. I had everything already and was going to design and code this exact design from scratch, but you did all the hard work for me, and I thank you for it. Also, thank goodness for these cheap modules. This and many other projects would not have even been possible only 5-10 years ago, without these cheap and wonderful modules from China.
@yavniksharma
@yavniksharma 7 жыл бұрын
A smart engineer with a German accent makes his own power meter/logger but when not satisfied with just an oled screen, adds a data logger too, Great Job!!!
@iamwood4950
@iamwood4950 7 жыл бұрын
I'm really glad you took your time to properly design the board and have it compact and neat
@waynebutane1338
@waynebutane1338 7 жыл бұрын
The best part about this video for me was the project file on easyeda. Not because I want to build this myself, but because I kept searching for a website like that and it is really useful for me. Thanks.
@greatscottlab
@greatscottlab 7 жыл бұрын
No problem ;-)
@shedactivist
@shedactivist 3 жыл бұрын
Perfect. This is exactly what I am looking for to experiment with small garden wind generators and other projects. Thanks for showing me the way.
@zohan5835
@zohan5835 7 жыл бұрын
Your OLED library is set on 128×32. Check the library (.h file) comment the line that defines (#define) the 128×32 resolution mode and uncomment the line with 128×64 :)
@DIYTechRepairs
@DIYTechRepairs 7 жыл бұрын
Nice video! Tips: Output it into a csv formatted file instead and you can directly open it into any program suitable. Then you dont have to copy paste the rows :)
@MrHD71
@MrHD71 7 жыл бұрын
greattscott you forgot to edit the adafruit library from the oled display. That is the reason why every second line of the display is blank as the library thinks youre using 128x32 and not 128x64 display.
@greatscottlab
@greatscottlab 7 жыл бұрын
Thanks for telling me. I will have a look at it.
@raydaviddiazcastro7665
@raydaviddiazcastro7665 4 жыл бұрын
sabes como se debe arreglar la libreria, no entiendo como hacerlo.. porfavor ayuda
@entropic7768
@entropic7768 7 жыл бұрын
I needed this last year and just abandoned the project, (cause I'm a beginner and couldn't find how to do it) will resume it in a few weeks when I have time. Thank you!
@francoisgirault2545
@francoisgirault2545 5 жыл бұрын
Thank you so much for this video and saying to use SdFat library. I have lost a lot of time, not knowing why I could not open a file on a SD card with a Chinese SD module and the SD library. I found nothing about it on many forums. Now it works ! GREAT !!
@adlerweb
@adlerweb 7 жыл бұрын
I just started a similar build some days ago using a Pro Mini, ACS712 current sensor and the same OLED. Since I mostly record to my PC anyway my unit is powered using a USB port (thats not the input-port but a dedicated one) which also sends current values to the connected PC for display and recording. I opted to use the internal 1.1V reference instead on VCC, so changes in the PCs supply voltage don't offset the ADC that much. You might want to check this on your build if you connected the battery directly to VCC - afair VCC is used as the default reference for the ADC so your measurements might get skewed with falling battery voltage. Using the 1.1V also allowed me to dynamically scale for
@fschatz12
@fschatz12 7 жыл бұрын
BitBastelei Hey Gar nicht erwartet dich hier zu sehen👋
@BIBIwood
@BIBIwood 7 жыл бұрын
For those kind of small oled screens, I would strongly suggest to use the Libgdx library rather than the adafruit one.
@abdulazeez.98
@abdulazeez.98 7 жыл бұрын
I really liked the way he skimmed over the code, It's nice to see the code without downloading the file :D.
@ajbent1
@ajbent1 7 жыл бұрын
You will probably increase the longevity of the SD card significantly by writing the 3 values as a CSV into a single file. For true long-term use, saving up the writes and writing them once every few minutes is probably advisable.
@bigonprivacy2708
@bigonprivacy2708 4 ай бұрын
Dude, you are legend. One question from someone who has just seen this 7 years later.................IF you were to build this today but make it a self-powered version that logs data on any power generation projects (wind energy, harvesting vibrational energy, and other alt-energy projects) that can generate up to 50V, then how would do it? Would LOVE to see a remake of this one to be brought current.
@WildLifeBackyardCamera
@WildLifeBackyardCamera 6 жыл бұрын
instead of writing it to a file and graphing via excel, i would rather send all data via UDP to influxdb and have real time graph using grafana, apart of this part, awesome video, thanks a ton !!!! Helped me so much
@davidillyes8510
@davidillyes8510 7 жыл бұрын
In a future video can you make a multimeter wich is like the Mooshimeter? It would be a really big help! :D
@benjipestell3677
@benjipestell3677 7 жыл бұрын
Dávid Illyés have you been watching ElectroBoom? 😂
@davidillyes8510
@davidillyes8510 7 жыл бұрын
Yapp :D
@Educ8s
@Educ8s 7 жыл бұрын
Great video. The resolution of the OLED display is not set correctly though. It is not set to the maximum resolution. Edit the library file in order to set the correct resolution 128x64 pixels .
@BnMroGaming
@BnMroGaming 5 жыл бұрын
@@ChoudryArif it's not hardware. I thought the same, and after 5 hours of troubleshooting I finally found the solution. You need to change a line of code from the library itself. Either way the display will work at half resolution, even if you change it from de IDE
@brentmorris262
@brentmorris262 5 жыл бұрын
@@BnMroGaming I don't know if the memory has been upgraded on the current models of the arduino, but from what I saw on the instructables site, they ran in on the 128X32 because of memory limitations. The 128X64 used too much.
@samuelkctweneboah-kodua5660
@samuelkctweneboah-kodua5660 5 жыл бұрын
@@BnMroGaming hey lets talk i need your fb
@ajithsb1853
@ajithsb1853 7 жыл бұрын
Very impressed with your video. I would like to know if you can make or discuss about a project to battery monitoring for charging and discharging of lipo batteries and also discus about the best ways of using them with out over discharging them
@niveshsimon699
@niveshsimon699 6 жыл бұрын
Nice...I wonder how to learn electronics and really understand it...like when to use a capacitor or resistor or when to use this or use that in a circuit
@MCsCreations
@MCsCreations 7 жыл бұрын
Sweet. And already have two LCDs from cellphones that I took apart here. I don't really know if they are compatible with Arduono, but.. When I start studying it, I'm going to have it waiting for me. :)
@hrmny_
@hrmny_ 7 жыл бұрын
congrats on 420k subs
@thedankoona_5854
@thedankoona_5854 7 жыл бұрын
oh dank
@DanMcCreary
@DanMcCreary 4 жыл бұрын
Thanks! This is exactly the type of system I need for monitoring battery charge and discharge times. I plan to use the larger 2.42" OLEDs.
@andremendes5116
@andremendes5116 7 жыл бұрын
GreatScott! Nice explanation and a beautiful simple integration project. I Like!
@dj5quar3
@dj5quar3 7 жыл бұрын
Your channel is amazing!!!! Thank you so much for being around!!
@norm1124
@norm1124 7 жыл бұрын
Danke für die Screenvideos beim Programmieren und PCB Layout, sehr angenehm
@Aperson-sv2hc
@Aperson-sv2hc 7 жыл бұрын
A german comment.
@tommyriffe9115
@tommyriffe9115 7 жыл бұрын
Happy holidays, always quality content here, nice project
@greatscottlab
@greatscottlab 7 жыл бұрын
Thanks :-)
@7head7metal7
@7head7metal7 7 жыл бұрын
Currently I'm working on a similar project, but with a different approach. I try to use an ESP8266 and a Raspberry Pi, to build some kind of distributed power measurement system, for festivals, camps, larger installations an so on. Your video really helped with suggestions regarding the use of an SD-card and a LiPo-Battery, thanks a lot! Greetings from the "Lipperland" in Germany :)
@MrJason005
@MrJason005 7 жыл бұрын
You could have added a way for the display to display the battery's voltage (AKA battery percentage)
@RossPotts
@RossPotts 7 жыл бұрын
I always love the ideas you bring up on KZbin and instructables! Rather than buy a power meter, I think I will build based on your design. I can assume you will be publishing another 'ible for this?
@LeandroBelli
@LeandroBelli 7 жыл бұрын
It would be great if you do also AC measurement
@martinsverko624
@martinsverko624 7 жыл бұрын
Great vidio. Here is a suggestion for your next project: build a quad or make a wireless headphones with one of the bluetooth audio reciever
@nosafetyswitch9378
@nosafetyswitch9378 5 жыл бұрын
I see that you are using the 128x64 OLED in 128x32 mode too! I built the same thing but I could not fit evrything in the Nano and still have enough RAM for the OLED so i though WTH, lets try at half the width and it worked! In another project I used 2 Nanos and some interesting i2c communication between them to share the load and have the OLED working properly!
@pauliuspile
@pauliuspile 7 жыл бұрын
You are so creative :o all of your projects are hightest quality, and I learned more about electronics watching your videos! Thank you for inspiring me be better electrican! ;)
@ryanwise9199
@ryanwise9199 7 жыл бұрын
Great video but why not write to a .csv with all the values onstead of a .txt? That way you can import directly into any spread sheet application.
@sivaprakash6068
@sivaprakash6068 6 жыл бұрын
That's awesome DIY project for your video list. I will try this one. Thanks to uploaded it.
@BingBuzz
@BingBuzz 7 жыл бұрын
Man... I am happy to find your channel. Great videos!
@CrankyCoder
@CrankyCoder 6 жыл бұрын
can you do a quick video on how you do such clean solder bridging and stuff on the back of the board?
@gulertayfun
@gulertayfun 7 жыл бұрын
I think this is one of your best Scott. Thank you
@Razyre
@Razyre 7 жыл бұрын
I'm working on an expanded version of this for a project I'm working on :) Tracks a whole bunch of statistics for lithium ion battery management, coulomb counting, battery capacity over time, voltage cut off etc. I've been toying with the idea of adding an OLED display and SD card reader (this primarily so I can avoid writing to EEPROM too much). After watching your video I may just add these :D
@ShaunHusain
@ShaunHusain 7 жыл бұрын
Ross Bishop sweet have a very simple version of a power meter for a 10S battery on a skateboard. I used a bunch of zener diodes but in hindsight it burns quite a bit of power so thinking maybe voltage divider first then measure, any thoughts/ideas?
@Razyre
@Razyre 7 жыл бұрын
To measure the current? A hall sensor if you can grab one, I'm using one of the ACS712 jobbies you can get on eBay for a few quid. The 20A version outputs 100mV/A above about a 2.5V float voltage (I'm using a 5V Arduino Nano like in this video) and you can get down to 50mA resolution with the 10 bit ADC. There's a readily available 30A one too, 66mV/A so not quite as nice to work with and I think you might lose a bit of resolution, but yeah, works pretty well. I'm actually looking into oversampling or using an external ADC down the line to massively increase my accuracy of measurement.
@ShaunHusain
@ShaunHusain 7 жыл бұрын
Nice haven't used hall sensors before but sounds pretty straightforward was really just looking at voltage for now to get a rough percentage used but would be nice to measure current without a big shunt. I've been playing more with the ADC on the Arduino lately and hear you on getting a higher resolution external ADC, maybe will integrate that as well. Been just dipping into at home PCBs so fun tinkering with the components.
@Razyre
@Razyre 7 жыл бұрын
Shaun Husain The issue is voltage readings for battery charge are pretty terrible, at least with Lithium Ion. The voltage of Lithium Ion cells sags the more you load them. The voltage for a certain capacity @ 10A is much lower than for the same capacity at 1A. You'll get a very low percentage reading which when your system says "it's empty" will then bounce back up a bit and you realise you actually have 20%. What you can do is find a discharge graph for your cell type and create a look up table in long term storage of voltage against capacity for different load levels then use linear interpolation to work out an estimation of where you might be on those curves based on your average current load. It's kind of difficult to explain in a pinch, but if you drop to 4.1V for a 1A load and drop to 3.5V for a 10A load right at the beginning of a discharge cycle from 100%, you can use a formula that takes into account the load current, time and battery voltage to guess how charged or discharged it is. This becomes more difficult the more you vary the current over time so it's not very reliable overall, but better than a straight up single curve. You're better off doing coulomb counting like my system does but it does get difficult to keep track of the charge which has entered and left the battery. Just be careful with Lithium cells, they're pretty dangerous, make sure you have an alarm or other means of a sure thing cut off voltage so you don't go too low and permanently damage the battery. Use a reliable balance charger to charge it too.
@ShaunHusain
@ShaunHusain 7 жыл бұрын
Ross Bishop Yup so far I used a circuit simulator to show a 42-37V input and figured out what resistors and zener diodes to put in there ahead of a row of LEDs and then printed the corresponding board and wired it up and works fine for the moment. Like you said the voltage dips might be a problem I haven't actually tested it under load yet but I really just want a round about idea of how much charge the board has. Thanks for pointing out LiPo safety, I have a decent balance charger and the speed controller I use automatically starts dropping power draw at a set voltage (believe i have it at 38V right now for the 10S battery) and cuts off entirely well before the cells would be down to 3.3V. What I have as is isn't ideal cause it is draining 3W of power when the batteries are fully charged so gets quite warm (everything is rated to deal with the wattage but in a plastic container so without air cooling of motion could be a problem). Nice thing with the current setup is it's all simple components with no microcontroller. I may hook the board up to a momentary push button to get around the problem or may end up just giving in and using another micro controller :) Thanks also for the idea about accounting for the current draw while checking the voltage great idea if I end up going the micro controller route too (already an arduino in there actually).
@Jamesterjim
@Jamesterjim 7 жыл бұрын
It looks like your framebuffer size is set wrong, look for Adafruit_SSD1306.h inside your Arduino libraries folder and make sure only #define SSD1306_128_64 is uncommented. This will make the text look so much better as currently it skips a line each row
@cattflap1447
@cattflap1447 6 жыл бұрын
Run's out of memory if you use that.
@binbin6525
@binbin6525 2 жыл бұрын
this is awesome, thanks for the sharing. especially the sdfat library.
@garethwoodall577
@garethwoodall577 4 жыл бұрын
This is yet another class project.
@thedarkglovemusic
@thedarkglovemusic 5 жыл бұрын
@GreatScott I know this video is old now but it is fantastic and I've just made one of these for my leisure battery in my camper. Is it possible to calculate how long the battery will last (when it is being used) using the information from this set up? I want to keep an eye on it while I have things running. Thanks!
@sabnormal
@sabnormal 5 жыл бұрын
Hi Matt, I see your comment is quite recent, I see you say you have just made one for your camper battery, I have done one too last week but could not get it to work due to problems in compiling the sketch; it seems that it uses too much memory, I have done some research and size problem is said to be due to a bug in the compiler for Arduino 1.8.7, so I tried with arduino-1.0.6 and had indeed different results, but libraries were not compatible, I downloaded older versions of libraries but, so far to no avail. Could I ask you how you managed to get it to work ? Thanks a lot (P.S. I saw your camper video, great work!).
@0ffGridTechClub
@0ffGridTechClub 2 ай бұрын
Awesome! I'm building an overkill volt amp meter for i2c debugging. Ina219 and ina3221. Also a 1115 16 but ADC for a WCS1800 Hall effect sensor module
@HaukeSpekker
@HaukeSpekker 7 жыл бұрын
A protection for the whole circuit would be a fuse (3A/25V) in series to the screw terminal, wouldn't it?
@JOELwindows7
@JOELwindows7 7 жыл бұрын
Hey dude, would you mind, in later Q&A or its spinoffs, to make video about room tour. I curious how does your "cauldron of electronics" look's like?
@edwardfletcher7790
@edwardfletcher7790 3 жыл бұрын
This is a really great little project !
@PatTrainor
@PatTrainor 7 жыл бұрын
@GreatScott, I'm really enjoying your Arduino tutorials. When I am just a little better, I will start my own channel to share with everyone like you have. In this video, when you are using Easy,EDA ...how are you able to move a component and have the wires follow? When I make wires, the component moves, nut the wires stay! :) Thanks again!
@digitART30
@digitART30 7 жыл бұрын
What can I say , simply clever , thank you again Scott
@RumblePirate
@RumblePirate 7 жыл бұрын
exactly what I've been looking for mate... awesome, will keep you posted
@LuxBacelo
@LuxBacelo 6 жыл бұрын
For those who don't wanna buy or can't get the SD module, you don't need it. You can simply do a level shift with resistors (2.2k + 1k works for me) in the comunication pins (SCK, CS and MOSI). For the MISO of the SD card you can connect it directly to the Arduino as 3.3v it's logic HIGH. Of course, if you are using a 3.3v microcontroller (like the Arduino DUE) you don't need the level shift.
@PacLevkov
@PacLevkov 4 жыл бұрын
TP4056 gets hot when charging, so i do not recommend maunting it on the top of the battery, or near termo sensors.
@RobinCernyMitSuffix
@RobinCernyMitSuffix 4 жыл бұрын
you can just mod it for 500mA, or lower ;)
@LucasHartmann
@LucasHartmann 7 жыл бұрын
Great tip with the INA chip. Are you sure the misread resistance is not because of the probe contacts? Have you tested 4-wire measurement?
@greatscottlab
@greatscottlab 7 жыл бұрын
Since the current readings from the IC were pretty accurate there must have been another parasitic resistance.
@raihanadhipratama5982
@raihanadhipratama5982 7 жыл бұрын
Your Videos Are Amazing!! The Camera movement is professional
@UpcycleElectronics
@UpcycleElectronics 6 жыл бұрын
*Build or Buy suggestion Jeremy* I just came across a comment by someone on one of Julien Iliett's videos where the commenter said he tried to graph the output of an INA219. He said the readings were all over the graph and useless/none repeatable. He mentioned that he had achieved stable performance using an ADS1115 ADC (or maybe it was '16 or '17). He also mentioned he was using it in differential mode on 2 channels. That kind of characterization and comparison would probably be easy for you, especially with this video's project...if you still have it around. -Jake
@UpcycleElectronics
@UpcycleElectronics 6 жыл бұрын
I think the comment mentioned was on this video: kzbin.info/www/bejne/bprOqqNqodpna68
@johnteran8889
@johnteran8889 7 жыл бұрын
Nice work. You build beautiful diagrams
@avnishkumar1028
@avnishkumar1028 7 жыл бұрын
Hey greatscott.I heard a lot about cnc machine that draws.Can you make that in your another video?
@Subbestionix
@Subbestionix 7 жыл бұрын
I really like your projects - and your videos too :). But maybe you could talk more in the end what might be coming next or include your audience actively. Maybe yo could ask something like "what shall we do next time?" - you get the point
@szymonszczurek2406
@szymonszczurek2406 7 жыл бұрын
Nice device. I would recommend to use .csv format wchich can be opened via Excel. Also this format is easy to implement on arduino
@zanpekosak2383
@zanpekosak2383 7 жыл бұрын
Can you PLEASEEEEE make an Arduino tutorial? I love watching your videos and I would love to recreate your projects but I cannot find a decent free Arduino guide anywere.
@RaoulB.
@RaoulB. 7 жыл бұрын
I would like it too
@ShaunHusain
@ShaunHusain 7 жыл бұрын
BeGamerSl what would you like to see? There are lots of guides and tutorials can you be more specific about what is missing?
@zanpekosak2383
@zanpekosak2383 7 жыл бұрын
Shaun Husain I just want an explanation on why is there for example a library or something like that. Most of the tutorial are just talking and some just say do this and that the result is supposted to be this and that. But I want to know why is tgere a piece of code or why is tgere a library for example.
@ShaunHusain
@ShaunHusain 7 жыл бұрын
BeGamerSl Well it just depends on how complex a given device is if there will be a library or not for it. A library is just a set of functions that allow you to more easily do something (in the case of Arduino libraries typically make it easier to get info into/out of other devices). If a device simply outputs a signal that is 0-5V then you can plug that into an arduino analog pin and just read the value. If the device uses some protocol where one or more digital pins is used to send information then in many cases it's easier if someone writes a library to deal with those details. Typically when you find a device you want to integrate you can google, Arduino+device type+tutorial and find if you can easily communicate with the device or if it will be easier with a library. If you want to write your own library you would want to search for the device part number and get the datasheet with all the gory details about the device and how to use it.
@ShaunHusain
@ShaunHusain 7 жыл бұрын
BeGamerSl If you have an arduino I suggest just looking through the tutorials and example sketchbooks built into the Arduino application itself. There are basics covered as well as libraries that it comes with, if you are using something like a radio or a complex display then it's worth checking to see if someone has coded up a library to use the device or if you will need to write one from scratch (also how many inputs/outputs and what type it will take). www.arduino.cc/en/Guide/HomePage
@hangfire5005
@hangfire5005 7 жыл бұрын
Could you hook up a current transformer, like 150:5 amp, to this and use it safely, and set it up for A/C?
@tommyallehamn
@tommyallehamn 7 жыл бұрын
+Hangfire of course NO! This current monitor can handle just DC I guess max 26 v and 3.2 Amp
@hangfire5005
@hangfire5005 7 жыл бұрын
Yes it can be done with this. of course YES! www.kr4.us/acs712-breakout.html?gclid=CjwKEAiAyO_BBRDOgM-K8MGWpmYSJACePQ9CSGuC2qPYgHD5p6uPwWjoMy0Rq6fF2TlAIWts7PKJ-hoCptfw_wcB
@tommyallehamn
@tommyallehamn 7 жыл бұрын
+Hangfire haha OK! But I'm not sure about the voltage there (is it 120 or 220v?). Any way u can try and give us a feedback ;) GOODLUCK
@stevobox8726
@stevobox8726 7 жыл бұрын
I'm sure that would work, but your measured AC is a sine wave. So you would have to make sure the sampling rate is at least twice the AC frequency (60Hz) and then use some clever math to calculate the RMS current.
@szekelyferenczzoltan2274
@szekelyferenczzoltan2274 7 жыл бұрын
I apreciate all your work! Nice job! (And please make a walkie talkie or an intercom if you can. That is what i need around the house :). )
@jeffscritchfield7111
@jeffscritchfield7111 7 жыл бұрын
As always that you for you projects.
@Kabodanki
@Kabodanki 7 жыл бұрын
you could have used CSV instead of 3 text files
@mankee2211
@mankee2211 7 жыл бұрын
I was about to write that as well :) comma separate values (or semicolon) for the win!
@RAPXZibit
@RAPXZibit 7 жыл бұрын
you can write csc-compatible text in txt, just separate columns with ; or something else, what you use in csv-reader. sor example, if you copypaste text to excel, you need to tab each other columns.
@9peppe
@9peppe 7 жыл бұрын
You can separate columns with tab itself ;)
@RAPXZibit
@RAPXZibit 7 жыл бұрын
9peppe and if there are thousands lines?
@9peppe
@9peppe 7 жыл бұрын
I don't understand your objection, why should that be a problem with tab character and not with a semicolon one as column separator? If there are too many lines for a csv/tsv file to be handled properly, you can use more advanced formats, like HDF or similar.
@GerhardusGeldenhuis
@GerhardusGeldenhuis 4 жыл бұрын
Would be great to see this project adapted for house hold voltage levels. 220V and higher.
@thexpto51
@thexpto51 7 жыл бұрын
Very Nice Work! Congratulations!
@raybright5805
@raybright5805 7 жыл бұрын
Great example - All it needs now is a RTC for time/date logging.
@n8twj
@n8twj 7 жыл бұрын
Rock on! I have several of those little OLEDs - Watch out for cheap clones out of china... quality control is generally non-existant... Plus shipping incidents can easily cause damage. I have created INA219+ESP8266 based solar power / environment monitoring / logging / controlling devices. Slowly building my own smart house :) #iot
@SoumilShah
@SoumilShah 7 жыл бұрын
Hey how about measuring power of ac appliance how can we modify current project and measures ac voltage and current
@ShaunHusain
@ShaunHusain 7 жыл бұрын
Soumil Shah Could simply buy a "kill-o-watt" meter that plugs in between the wall and device and meters the power. To DIY I imagine make an inverter to change the AC to DC then measure that, but not simple and don't mess with mains AC if you're not sure.
@PeteBrubaker
@PeteBrubaker 7 жыл бұрын
What you're looking for here is a clamp on current transformer. SparkFun sells one, but I'm sure you can probably source one elsewhere. There are examples on the web for how to use these with an arduino. www.sparkfun.com/products/11005 EDIT: Here's an example of how to use one. openenergymonitor.org/emon/node/58
@PeteBrubaker
@PeteBrubaker 7 жыл бұрын
Sure, there are also some models that output 4-20mV, and some which can measure much higher currents, but for someone that just wants to mess around with it, the $8 option is better than the $90 option.
@SoumilShah
@SoumilShah 7 жыл бұрын
Pete Brubaker hey i think interfacing of current transform is quite complicated isn't?? Can anyone make a video tutorial on that
@PeteBrubaker
@PeteBrubaker 7 жыл бұрын
If you go with more expensive units, they are easier to use. There are some that have various ranges, use jumpers to set thoe ranges and output a linear voltage between 0-10v DC or 4-20mV DC for the selected range. But those are (from the limited searching I did on them) $70+. That website I linked has a better page that explains how it all works with the maths. openenergymonitor.org/emon/buildingblocks/ct-sensors-interface If you want to spend the extra cash, I've used the ACT200-42L-F model from AutomationDirect before and they work very well. Then it's just an analog read. www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Current_-a-_Voltage_Sensors_(AC_-a-_DC)/Current_Transducers/AC_Current_Transducers/ACT200-42L-F
@williamgiaccone3156
@williamgiaccone3156 6 жыл бұрын
Can you use a crank sensor with this project
@jacobwcrosby
@jacobwcrosby 7 жыл бұрын
Hello, I first would like to thank you for the effort and time you have put into creating this project for us! I do greatly appreciate it! However, after building this project myself I have found that the measurements are not entirely accurate, mostly the voltage. Reporting .86v with no load and 2.75v with a load, instead of the 4.02v that my LiPo is currently at... With no load attached it displays -mA and -mW... Any help would be appreciated! Thank you kindly, ~J
@jacobwcrosby
@jacobwcrosby 7 жыл бұрын
ANYBODY???
@Den_Electro
@Den_Electro 2 жыл бұрын
Please watch my video! kzbin.info/www/bejne/aILVZ32Zop2qmKM
@ChristianJoyAzucenas
@ChristianJoyAzucenas 7 жыл бұрын
This is what you call a real "DIY"
@jollyreal1
@jollyreal1 7 жыл бұрын
Hello, this is a great project, if I use the shunt resistor with a OpAmp, Can I measure the current in micro ampere?
@arietigabelas
@arietigabelas 7 жыл бұрын
Its really great project. Can you make a AC frequency meter (which measure 220 volt AC frequency 50 Hz and 60 Hz) with an arduino in the next video?
@TingQi-hz8tn
@TingQi-hz8tn Жыл бұрын
Hello, we are a Chinese factory specializing in PCBA power meter, and we can see that you are also using power meter module in your video. Recently, we have a bidirectional electricity meter module, which is used in solar router, and it sells very well. Could you tell me about it?
@isaacleal2
@isaacleal2 7 жыл бұрын
Great Project. I just bought some of this parts to build a automatic charger, discharger and wattmeter for 18650 cells. My only doubt is if i can use 10 INA219 modules in a single Arduino with I2C.
@simonnaughton2272
@simonnaughton2272 7 жыл бұрын
Thanks for another fantastic video. I have an important question. Do you always re-record the "Stay creative and see you next time", or just splice a recording in?
@dallasprobert4411
@dallasprobert4411 6 жыл бұрын
First of all, fantastic videos. I love learning from you. Secondly, I've recreated this project with an Arduino mega without any problems, but when I move to my Arduino nano or pro mini, I've found that the size of the program data (2215 bytes) exceeds that allowed by the controller (2048 bytes). Did you have this issue? If so, how did you resolve it? This data applies directly to the program you developed, with no changes having been made. I know this video was years ago, but thought it would be worth asking in hopes of finding a solution so I can make this project "portable" with one of the mini micro-controllers. Many thanks.
@Aiine100
@Aiine100 6 жыл бұрын
In the adafruit library you have to use a screen width of 128_32 instead of 128_64
@strangedaysarethese
@strangedaysarethese 7 жыл бұрын
Congrats on 434,571 Subs haha Great stuff Great Scott!
@fin.mehmetbsrr
@fin.mehmetbsrr 6 жыл бұрын
I want to measure only voltage level. so i am planning to use around 100 18650 li-ion in parallel. is it okey to connect batteries to arduino analog input pins? i mean arduino is okey above 5v and my pack is 4.2 volt. should i consider amp level for this project?
@LatinDanceVideos
@LatinDanceVideos 6 жыл бұрын
Nice work. Is it feasible to modify this to suit 240VAC 10amp? I'm leaning towards the inductive sensors to detect current. The fat package with less write errors is useful too.
@pedrodiogo3828
@pedrodiogo3828 5 жыл бұрын
Interested to know this as well. Did you manage to get it working? I don't think the listed sensors were not designed for this
@deangreenhough3479
@deangreenhough3479 7 жыл бұрын
I'm building this many thanks for sharing
@malteser0212
@malteser0212 7 жыл бұрын
Could you please do a how to arduino? i would really like to learn about how to use this device properly. i would love it
@DEKAkrens
@DEKAkrens 6 жыл бұрын
Does it enough with power of LiPo battery? Or must be boosted to 5v
@Tyzon201995
@Tyzon201995 7 жыл бұрын
Can INA219 measure current as well as voltage?
@msjaxp
@msjaxp 7 жыл бұрын
I am always waiting for your videos Keep going :)
@variogenesis
@variogenesis 7 жыл бұрын
I was looking for something like this...thanks
@leocurious9919
@leocurious9919 7 жыл бұрын
Use the u8glib instead of "Adafruit_SSD1306". There are no more empty lines in the displayed text, so it looks a lot better. Also... it works with a lot more types of displays.
@ajaikumarnadar5005
@ajaikumarnadar5005 7 жыл бұрын
sir, can u make a project based on heart rate monitor ?
@Curiouslyable
@Curiouslyable 7 жыл бұрын
dude, i love your video. it help a lot of people :)
@erikdeardopurba6903
@erikdeardopurba6903 5 жыл бұрын
What is componnent in the schematic near load and ground at ina219? Please help me I want to measure current and voltage together, i cant do that Thanks
@heinztroll5526
@heinztroll5526 7 жыл бұрын
Love Your videos! Pls make more of them!
@apoorvakelkar3994
@apoorvakelkar3994 7 жыл бұрын
Why didn't you consider using ACS712 modules that are capable of measuring even higher values of currents?
@xuxiao2490
@xuxiao2490 7 жыл бұрын
if we charge the battery , the current will reseaver , how to record it ?
@dontjudgemebymyname.4282
@dontjudgemebymyname.4282 7 жыл бұрын
So you write with your left hand??
A Viewer Remade my Old Project! So is it any Good?
11:24
GreatScott!
Рет қаралды 274 М.
🐉 Learn Program License Registration Patching (x64dbg) 🐉
13:54
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 16 МЛН
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,7 МЛН
#347 Measuring Mains Voltage, Current, and Power for Home Automation
24:10
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Things you can make from old, dead laptops
19:03
DIY Perks
Рет қаралды 12 МЛН
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Every Component of a Switch Mode Power Supply Explained
23:10
ElectrArc240
Рет қаралды 394 М.
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17