Yes I have been doing that for years it works well just make sure your iron is hot and tined well then when you see the solder melt bang it down and the pin or wire will come out and a bit of practice and it works its all in the timing
INA219 Specs (26V ±3.2A). As of 2018 Adafruit recommends the Metro Mini 328 instead of the Pro Mini or Trinket boards due to FTDI bootloader, driver issues, and other issues. Metro Mini costs less than purchasing both the Pro Mini & CP2012 (required to program a Pro Mini). So if you were to replicate this project in 2019 you'd want a Metro Mini, INA219, and 128X32 OLED. It would be more powerful, more efficient, and actually cost a few dollars less than in 2017. :) There is an INA169 which has much higher range but after research, that one is analog only to be measured with a multimeter or separate data logger, it does not have I2C communication which is needed in this project. INA219 is still best for this project. The Metro Mini can communicate through I2C or SPI so it's compatible with the INA219. In the code you can set the screen to flip between displaying voltage and amperage. You only show it monitoring amperage in this video but it will do voltage too. You did actually show that in your other video (I paused to go watch it). Great job with the info card links. You make quality content. Very easy to watch and follow along. I was going to comment about improving the code for mA, A, and watts but I found you have another video where you address that. :) th-cam.com/video/zvcTUMBGO24/w-d-xo.html Awesome monitor for little projects. Will fit into a tiny project box. I actually don't have one of these but because of your video I'll probably pick one up to play with. Thanks for the great video!
I certainly continued your tradition of 'mucking about' even with every single solution pre-provided. So much fun! Now I too have a handy ammeter. Thank you very much Julian and as always thank you for the entertaining video. Cheers.
Right. My experience with the INA219 pre-built boards is that the 0.1ohm shunt resistor is not exact and varies allot with temperature. Also, some noise can be filtered with a .1m capacitor across the shunt. These boards seem to work well as intended to get you up and running in a short amount of time. The Max rated current you can measure with this 0.1m resistor is only 3.2A, but you can reduce the shunt resistance to get a bigger current reading, of course some modification to the INA219 library is required, or you can scale the reading from the sensor using a bit of math, and if you're feeling a bit more ambitious you can make a routine to scale the current based on the temperature of the Shunt resistor. Adafruit has a good write-up about this sensor, but probably this kind of accuracy is probably not required for most people. Good vidjeo. Love that there is an actual voice Behind the Mic versus some kind of computer driven synthesis . I have done some looking around, and if you want to make your own board with the INA219 chip it comes in two sizes, the very small SOT-23-8 and the SIOC-8, the SOIC-8 is more widely available and for the hobbyist, much easier to solder onto your own board as compared to the SOT-23. Thanks!
You should add a short bit of stripped (hollow) wire insulation (fallen on your table) over those 'closely' placed/crossed bare wires. Another tip I learned over the years: When soldering something like an 8-pin DIP socket onto a PCB, first solder diagonal pines (ie pins 1 & 5) than while putting slight pressure on the top of the socket, wet the solder at one of those diagonals--you will hear a slight 'click' as the pin fully jumps into the hole--repeat for the other diagonal. Now solder the remaining pins and all will be flush! You may want to slightly re-wet the diagonals. This works for all size DIPs including the big 40-pinners as well as with SIPs!
This video encouraged me to try Full Page Buffer mode in u8g2. Despite the RAM being used, it is really very easy to port stuff made with U8X8 to U8g2 in full buffer mode. My weather datalogger project is now running happily on a Nokia 3110 display (I used a small OLED before, but that ate too much power). A 300mAh lipo should now last for at least a week (ideally calculated 9 days).
I plan to use this device to sense a current signal transmitted from a wind vain sensor so as to be able to transmit the converted current values via I2C to an Arduino Nano in my weather station project. Fingers crossed the device is able to sense currents down to 4mA!
Yeah, there is no averaging or multiple sampling in the code whatsoever, so you only get the instantaneous reading from the INS219, rather than a more sane averaged reading. Doing something like five or 10 samples and averaging them before display should smooth things about a bit, and can be done without adding too much overhead time. However, that is outside the scope of a 15 minute project... especially when you need to explain how to calculate running averages in code, etc ;)
Not quite... the 5V and GND wires are crossed over... you can see the blue wire is on the top pin on the USB to serial, but the purple one is on the top on the Arduino. Otherwise it would have been perfect, and the right-angle pin header could have been replaced with a right angle female socket for direct plug-in!
muh1h1 but seriously, if you were really worried about the crossovers shorting, a drop of acrylic glue would be good insulation. Nail polish would work.
2:11 to 2:17, proof that you can jinx something by saying the wrong thing. On the rare occasions when my equipment at work is behaving, I try not to say a word within earshot.
I think I would have used some shrink tubing on those between the things, bare wires make me nervous in such situations but your way may work well also.
Why no shrinkwrap over one of the two leads at each intersection? Sure it would had looked weird but it would had prevented the need to re-spread those connections. Also, I would had replaced the screw terminals with bare wires and used a two-wire wego adapter to clip things together.
Indeed... a short length of 1 mm clear heatshrink would have fixed that problem up nicely... and you'd never even know it was there! www.ebay.com/itm/1M-Tube-Heat-Shrink-Tubing-Wire-Assortment-Wrap-1-2-3-5-10-20-30-40-50-mm-/322136663421?var=511052190275&hash=item4b00d7657d:g:jMwAAOSwNSxVSwbs
I've read in a few places that the FT232RL (and FTDI in general) is better than the CP2102 CH340 chips due to them being more stable and drivers are easier to get?
a very enjoyable arduino project... i will use the esp32 with the built-in oled and see what happens... 👍 👍 👍 thanks , or cheery-O... 😀 time for tea Mrs. Peel
Julian, on the I2C devices did you remove the pull up resistors off of all, but one of the I2C boards so they aren't all trying to pull up SDA and SCL? I just found out over the last few days of debugging my project found that to many I2C devices with pull ups cause I2C hangups.
Well that is what I thought, but after sending lots of data to two of these: www.ebay.com/itm/201539843593?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT The Arduino kept locking up when sending data to the DAC's. After looking at another version of the board here: www.ebay.com/itm/311517881751?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT This one states if you are using more than one the pull ups can be disabled. So after the problems I have been having & I saw your project I just thought I would say something. Plus these pull up resistors remind me so much of the old termination blocks you had to remove from 5.25" floppy drives when you used more than 2 drives on a system or even multiple SCSI drives.
Can you have a load of ammeter modules all connected into one Arduino, with everything displayed on one display? Can you change the I2C address on the modules?
What's the quiescent current of this OLED Meter? Could it run with less than 9V? For ex. some CR2032s in series placed in between boards (unused space)?
Great to know that the ina219 also works as a stand alone current Sensor. I always thought that you need to wire up the voltage measurement also to get it running. If you ask why is that a Problem for me: well it can only measure up to 26V. That might be a Bit low for some applications like a Self made bench power supply. Greetings from Germany. Michael
Great video. I would love to see you turn this into a complete process. IE: put insulation around the wires, put it into a case and maybe eve order a PCB and make it a more permanent build.
I'm looking for making a cap discharger with indication, this polarity swapping seems what I need. There will be voltage divider obviously and this sensor is very nice :)
Thank you, Julian! I’ve wanted to make a small OLED infotainment for my bike with showing voltage, ammeter, coolant temperature, fuel level, time and speed. This would help me a bit. What is the reason for using u8g and can that be mixed with other libraries?
What is maximum current this could handle? And do you know of a way to have logging ....or better yet a peak hold function that shows the maximum current under load and have it hold that value?
Hello, I have a question regarding the INA219. I am connecting a power supply of 24 and a motor load connected to it. The motor could run in forwarding and backward directions by supplying +24 and -24 simultaneously. The motor draws 400 mA currents on both voltages. The question is, INA219 can work on positive voltage but would it also support a negative voltage of 24 volts?
what is this light green / blue paste thing called that is holding em components in place? btw, i really love your content! started out with arduino a few months ago, still going strong :D:D
Hey Julian. Would it be possible to use two push buttons to do two different things, like one is pulsating an LED the other button would flash a different LED for 10 second with the arduino?
I wish the wiring can be shown on diagram, I am using a bread board to experiment, but my OLED won't display correctly with INA219 in the circuit, I don't know how to solve that problem, would you help me?
Hi !! Great video. Quick Q. When you use the CP2102 device to upload the program - do you just use the standard "upload" button? Or do you use the "Upload using programmer" function - and if so - what do you set the programmer to?
Donald Filbert Not sure what he does, but Arduino's IDE triggers the bootloader mode by setting DTR on the serial port. So adapters that don't implement DTR (like the ones I use) don't automatically put the Arduino into bootloader. The trick with these adapters is to hold reset, click the upload button, wait for it to say "uploading...." in the status bar, then release the reset button. Since 90% of the time I want to be pressing a button or connecting something immediately after, I don't mind the extra button press.
its it possible to use the oled 128x32 with a sht-31 on a nano? I'm stuck trying to use a 12C expander got the sht to send temps to serial monitor but not the oled.
You might want to graph the results over time, which will illustrate that this device is almost entirely useless as a current sensor. The output fluctuates wildly, and I wasted a lot of time working with it. Even a simple test circuit, to show the consumption of an LED produced ridiculous swings, so you won't get any kind of consistent results. You can even see this behaviour in action on your OLED display during this video. At first I suspected a floating ground issue, but a parallel comparison, with an ADS1115 in differential mode, measuring the drop over a shunt resistor, on the same testbed, produced very consistent and stable results. The graph makes interesting viewing. A company that has a vested interest in selling their own branded breakout boards for this chip, refused to comment on my findings, for obvious reasons, which was most disappointing I mention all this, as I'm a fan of your channel, and thought it might be interesting for you to consider logging and graphing the results, for your viewers consideration. Regardless of whether you do decide to do a more in depth review, keep up the sterling work... Max
Max Watts I so...want to change my name to Max Watts IRL now.... Thanks for the information. I just ordered an INA219 for a buck and change... Now I know where to set my expectations a bit more accurately ;)
Hey Julian (or others with experience), Can the INA219 still measure voltage, when you have removed the big low-value resistor? I need a fairly accurate voltage measurement, of voltages higher than 5V, but still be able to communicate with an Arduino. I've also looked google up for voltage measuring chips, but can't find any :/
Look at the INA219 datasheet. The max full scale differential voltage (of the chip itself, don't know about this module) between the 2 input pins is up to 320mV with the programmable gain amplifier set to 1/8, so if you want to measure very low differential voltages, it would be OK, but otherwise probably not. There are plenty of diff amps, inamps, current sense amps etc to chose from, although most don't have an inbuilt ADC like this one. Diff amps are good for measuring voltages outside the range of the power rails, depending on the resistor ratios in them, but accuracy will depend on the output impedance of the thing you're measuring as they have high input impedance. Inamps put buffers in front of a diff amp to get past this impedance issue, but that means they can't measure outside the power rails. Current sense amps generally have a low max differential voltage (
I want to put like 32+ of these together (2 groups of 16) mounted in a long consecutive horizontal pattern to display the individual names of audio track channels on my 32 channel audio mixing console which is commonly called a scribble strip. I want that along the bottom of the mixer. On the top of the mixer's audio meter bridge, I want to add color displays above each channels dB meter that display each channels spectrum analysis. Please help me with some ideas how to start. I need either one interface to control each thing, or several really small controllers I can install inside the mixer with being to obtrusive. I thank you in advance. These additions to my console would increase it's value and make it have similar features to a high end console.
I have seen one video where the tech used two toroid with a few windings each and then went to the hall effect sensor for a type of clamp. and another where the guy cut a toroid. Interesting stuff.
A wild Jules appears! Happy Monday fella! :D Neat little project! Could you code in a trimmer potentiometer to zero offset the reading? It's odd the offset was present on both positive and negative current readings.
your pin unsoldering technique at 4:50 is genius and leaves such clean results ! Nice work man !
I have just learned something very useful here, how to remove that headers without friyng the board, thank you Sir. 😊
This was a REALLY useful thing to learn!
Yes I have been doing that for years it works well just make sure your iron is hot and tined well then when you see the solder melt bang it down and the pin or wire will come out and a bit of practice and it works its all in the timing
The hidden technique...unveiled...been using it for decades. :)
INA219 Specs (26V ±3.2A).
As of 2018 Adafruit recommends the Metro Mini 328 instead of the Pro Mini or Trinket boards due to FTDI bootloader, driver issues, and other issues. Metro Mini costs less than purchasing both the Pro Mini & CP2012 (required to program a Pro Mini). So if you were to replicate this project in 2019 you'd want a Metro Mini, INA219, and 128X32 OLED. It would be more powerful, more efficient, and actually cost a few dollars less than in 2017. :)
There is an INA169 which has much higher range but after research, that one is analog only to be measured with a multimeter or separate data logger, it does not have I2C communication which is needed in this project. INA219 is still best for this project. The Metro Mini can communicate through I2C or SPI so it's compatible with the INA219.
In the code you can set the screen to flip between displaying voltage and amperage. You only show it monitoring amperage in this video but it will do voltage too. You did actually show that in your other video (I paused to go watch it). Great job with the info card links. You make quality content. Very easy to watch and follow along. I was going to comment about improving the code for mA, A, and watts but I found you have another video where you address that. :) th-cam.com/video/zvcTUMBGO24/w-d-xo.html
Awesome monitor for little projects. Will fit into a tiny project box. I actually don't have one of these but because of your video I'll probably pick one up to play with. Thanks for the great video!
I love these 15 minute arduino projects, keep it up!
I certainly continued your tradition of 'mucking about' even with every single solution pre-provided. So much fun! Now I too have a handy ammeter. Thank you very much Julian and as always thank you for the entertaining video. Cheers.
The power of soldering techniques are strong within this man
Enjoyed your video. Very cool how you connected the 3 modules. Keep up the excellent videos.
The cutouts on the solder sponge are great!
Right. My experience with the INA219 pre-built boards is that the 0.1ohm shunt resistor is not exact and varies allot with temperature. Also, some noise can be filtered with a .1m capacitor across the shunt. These boards seem to work well as intended to get you up and running in a short amount of time. The Max rated current you can measure with this 0.1m resistor is only 3.2A, but you can reduce the shunt resistance to get a bigger current reading, of course some modification to the INA219 library is required, or you can scale the reading from the sensor using a bit of math, and if you're feeling a bit more ambitious you can make a routine to scale the current based on the temperature of the Shunt resistor. Adafruit has a good write-up about this sensor, but probably this kind of accuracy is probably not required for most people. Good vidjeo. Love that there is an actual voice Behind the Mic versus some kind of computer driven synthesis . I have done some looking around, and if you want to make your own board with the INA219 chip it comes in two sizes, the very small SOT-23-8 and the SIOC-8, the SOIC-8 is more widely available and for the hobbyist, much easier to solder onto your own board as compared to the SOT-23. Thanks!
Definitely missed you! Love these short little projects, great work.
You should add a short bit of stripped (hollow) wire insulation (fallen on your table) over those 'closely' placed/crossed bare wires. Another tip I learned over the years: When soldering something like an 8-pin DIP socket onto a PCB, first solder diagonal pines (ie pins 1 & 5) than while putting slight pressure on the top of the socket, wet the solder at one of those diagonals--you will hear a slight 'click' as the pin fully jumps into the hole--repeat for the other diagonal. Now solder the remaining pins and all will be flush! You may want to slightly re-wet the diagonals. This works for all size DIPs including the big 40-pinners as well as with SIPs!
This video encouraged me to try Full Page Buffer mode in u8g2. Despite the RAM being used, it is really very easy to port stuff made with U8X8 to U8g2 in full buffer mode. My weather datalogger project is now running happily on a Nokia 3110 display (I used a small OLED before, but that ate too much power). A 300mAh lipo should now last for at least a week (ideally calculated 9 days).
I plan to use this device to sense a current signal transmitted from a wind vain sensor so as to be able to transmit the converted current values via I2C to an Arduino Nano in my weather station project. Fingers crossed the device is able to sense currents down to 4mA!
Thank you very much, looking fwd to the development of the next proj
Awesome as usual Julian. Lots of fun. I like the OLED.
That hundredths digit that's always zero but still displayed (implying more precision than there actually is) bothers me far more than it should.
Also, the numbers are shifting around slightly
Yeah, there is no averaging or multiple sampling in the code whatsoever, so you only get the instantaneous reading from the INS219, rather than a more sane averaged reading. Doing something like five or 10 samples and averaging them before display should smooth things about a bit, and can be done without adding too much overhead time. However, that is outside the scope of a 15 minute project... especially when you need to explain how to calculate running averages in code, etc ;)
You dont even need that right angled header for programming ...
Your programmer fits perfectly. Even the Layout is the same
Not quite... the 5V and GND wires are crossed over... you can see the blue wire is on the top pin on the USB to serial, but the purple one is on the top on the Arduino. Otherwise it would have been perfect, and the right-angle pin header could have been replaced with a right angle female socket for direct plug-in!
Nice small project with cut and past code you make it look so easy bending all the wires very nice thank you
I'd add a little software smoothing too, average the mA over a second maybe and then display it.
check the accuracy with a calibrated multimeter please
Love the Smiley Face you cut into your sponge!
Program in an average of say 3-5 readings per display refresh so it is more stable instead of jumping around
Very cool build!!!!
And to think i had to struggle with third hand tool and all it takes is shaking the board, great tip thanks!!
I hope you had a good weeked Julian! Thanks for the video!!!
You could add a 2nd current board to the same setup if you have enough screen space for both numbers.
This was an awesome video. My first of yours, but now I shall seek out the rest of the series... Right... Cheerio!
Why no heatshrink on one of the SDA/SCL lines to keep them from touching for good? :)
or just insulated wire....
or blu-tack
muh1h1 but seriously, if you were really worried about the crossovers shorting, a drop of acrylic glue would be good insulation. Nail polish would work.
Anything would be better than nothing honestly, heatshrink would probably the least hassle, or glue if you have it handy
Hotglue the stuff together and be done with it
Nice trick with the pins homie!
Did you not have any heatshrink small enough for the wires instead of bending them!
When connected in series, current through all batteries will be the same. You don't need multiple sensors.
2:11 to 2:17, proof that you can jinx something by saying the wrong thing.
On the rare occasions when my equipment at work is behaving, I try not to say a word within earshot.
where did you get the tinned copper wire?
Cool project and the future project idea sound interesting.
Upvote for the putty idea! Love that!
Very nice video. Good work!
I think I would have used some shrink tubing on those between the things, bare wires make me nervous in such situations but your way may work well also.
Why no shrinkwrap over one of the two leads at each intersection? Sure it would had looked weird but it would had prevented the need to re-spread those connections.
Also, I would had replaced the screw terminals with bare wires and used a two-wire wego adapter to clip things together.
Indeed... a short length of 1 mm clear heatshrink would have fixed that problem up nicely... and you'd never even know it was there! www.ebay.com/itm/1M-Tube-Heat-Shrink-Tubing-Wire-Assortment-Wrap-1-2-3-5-10-20-30-40-50-mm-/322136663421?var=511052190275&hash=item4b00d7657d:g:jMwAAOSwNSxVSwbs
Hi! Where have you bought that "tinned copper wire" ? Thanks
That came from Rapid Electronics Ltd.
Julian, As a quick demo of bi-directional current reading capability Wouldn't just flipping the 9V batt. work?
Very nice and useful little project!
cool, I like the pin twist method
I've read in a few places that the FT232RL (and FTDI in general) is better than the CP2102 CH340 chips due to them being more stable and drivers are easier to get?
a very enjoyable arduino project... i will use the esp32 with the built-in oled and see what happens... 👍 👍 👍 thanks , or cheery-O... 😀 time for tea Mrs. Peel
Yay - been on holiday Julian? Nice little project. Looking forward to the lithium test.
Yeah, 1 week in the sunshine! Cheers Adam :)
Julian, on the I2C devices did you remove the pull up resistors off of all, but one of the I2C boards so they aren't all trying to pull up SDA and SCL?
I just found out over the last few days of debugging my project found that to many I2C devices with pull ups cause I2C hangups.
No, I left them in. I think they're 10k on each board, so 5k total pullup. That's fine for I2C.
Well that is what I thought, but after sending lots of data to two of these:
www.ebay.com/itm/201539843593?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
The Arduino kept locking up when sending data to the DAC's. After looking at another version of the board here:
www.ebay.com/itm/311517881751?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
This one states if you are using more than one the pull ups can be disabled.
So after the problems I have been having & I saw your project I just thought I would say something.
Plus these pull up resistors remind me so much of the old termination blocks you had to remove from 5.25" floppy drives when you used more than 2 drives on a system or even multiple SCSI drives.
Can you have a load of ammeter modules all connected into one Arduino, with everything displayed on one display? Can you change the I2C address on the modules?
What's the quiescent current of this OLED Meter? Could it run with less than 9V? For ex. some CR2032s in series placed in between boards (unused space)?
Great to know that the ina219 also works as a stand alone current Sensor. I always thought that you need to wire up the voltage measurement also to get it running. If you ask why is that a Problem for me: well it can only measure up to 26V. That might be a Bit low for some applications like a Self made bench power supply.
Greetings from Germany. Michael
Great video. I would love to see you turn this into a complete process. IE: put insulation around the wires, put it into a case and maybe eve order a PCB and make it a more permanent build.
I'm looking for making a cap discharger with indication, this polarity swapping seems what I need. There will be voltage divider obviously and this sensor is very nice :)
Thank you, Julian! I’ve wanted to make a small OLED infotainment for my bike with showing voltage, ammeter, coolant temperature, fuel level, time and speed. This would help me a bit.
What is the reason for using u8g and can that be mixed with other libraries?
Nice project! How about dropping the decimal places?
Neat trick with the bluetack! :-)
What is maximum current this could handle? And do you know of a way to have logging ....or better yet a peak hold function that shows the maximum current under load and have it hold that value?
Thank you so much, but how can reduce or remove all that fluctuations of the current?
Best soldering sponge ever. Laughed a lot :P
I like the sponge for the soldering iron :)
Hello, I have a question regarding the INA219. I am connecting a power supply of 24 and a motor load connected to it. The motor could run in forwarding and backward directions by supplying +24 and -24 simultaneously. The motor draws 400 mA currents on both voltages. The question is, INA219 can work on positive voltage but would it also support a negative voltage of 24 volts?
what is this light green / blue paste thing called that is holding em components in place? btw, i really love your content! started out with arduino a few months ago, still going strong :D:D
Hey Julian. Would it be possible to use two push buttons to do two different things, like one is pulsating an LED the other button would flash a different LED for 10 second with the arduino?
What happened to the function int main(int argc,char grgv[],char env[]) which calls loop().
The wire library lets you change the pin assignments, no need to cross
i am trying to make current meter using this sensor and esp module. thanks. i am wondering how much current your oled is drawing... ?
Nice project. Why is the SPI.h in the code?
I wish the wiring can be shown on diagram, I am using a bread board to experiment, but my OLED won't display correctly with INA219 in the circuit, I don't know how to solve that problem, would you help me?
thank you for the cross over been solved. when they don't line up . and also i can choose two different voltages to work correctly
Hi from la france, thank's for your video and your code. Do you know a module but to measure largers currents (ex : with the alternative 230V) ?
Ohh I like it👍 nice build. I'm
Going to have to give it a go. Very interested in the follow up project please Julian😀😀
Where'd you get your INA219 board? It looks like it was fabbed at OSH Park.
hello Jillian I have a question. the pro mini and the ch340 which pins goes to which to program them?
can the ina219 measure heavy currents in the range of 20a DC current. i need to measure the current flowing out of a pd-acid battery of an inverter.
Did you compare the INA current value with a DVM ampmeter ?
i cannot locate the arduino pro mini with the two rows of pins , as you have used.
i could use some sources to purchase it.
Hi !! Great video. Quick Q. When you use the CP2102 device to upload the program - do you just use the standard "upload" button? Or do you use the "Upload using programmer" function - and if so - what do you set the programmer to?
Donald Filbert
Not sure what he does, but Arduino's IDE triggers the bootloader mode by setting DTR on the serial port. So adapters that don't implement DTR (like the ones I use) don't automatically put the Arduino into bootloader.
The trick with these adapters is to hold reset, click the upload button, wait for it to say "uploading...." in the status bar, then release the reset button. Since 90% of the time I want to be pressing a button or connecting something immediately after, I don't mind the extra button press.
Thanks for the info tin2001 ... I'll give that a try !! ;)
Take a drink every time Julian says 'right' ;-P
Right :)
Now need more coffee.
Sorry, was this not supposed to be coffee?
We would get plasterd if we did something like that.
I'm not as thunk as you dink I am.
@Adrian Williams you made my day.
is it possible to fit a whole program similar to the menu options on a 3d printer, on an Arduino?
its it possible to use the oled 128x32 with a sht-31 on a nano? I'm stuck trying to use a 12C expander got the sht to send temps to serial monitor but not the oled.
Love the clay, great tip
How much current does this ammeter use?
How max amp it can read
How about OLED Display in assembler on the PIC?
You might want to graph the results over time, which will illustrate that this device is almost entirely useless as a current sensor. The output fluctuates wildly, and I wasted a lot of time working with it.
Even a simple test circuit, to show the consumption of an LED produced ridiculous swings, so you won't get any kind of consistent results. You can even see this behaviour in action on your OLED display during this video.
At first I suspected a floating ground issue, but a parallel comparison, with an ADS1115 in differential mode, measuring the drop over a shunt resistor, on the same testbed, produced very consistent and stable results. The graph makes interesting viewing. A company that has a vested interest in selling their own branded breakout boards for this chip, refused to comment on my findings, for obvious reasons, which was most disappointing
I mention all this, as I'm a fan of your channel, and thought it might be interesting for you to consider logging and graphing the results, for your viewers consideration. Regardless of whether you do decide to do a more in depth review, keep up the sterling work...
Max
Max Watts
I so...want to change my name to Max Watts IRL now....
Thanks for the information. I just ordered an INA219 for a buck and change... Now I know where to set my expectations a bit more accurately ;)
Good to know. What more reliable sensor do you recommend in the place of the INA219?
Julian... Please change the microphone when you do screen captures (example 9:19). Pretty please! It sounds terrible!
Really great project! :D
Is this a 5v or a 3v and why?
good video, can you build a using that same tiny OLED a tiny GPS enabled speedometer ? that would be intersting
variable initialization should not be set in setup instead of loop ? ?
Hey Julian (or others with experience),
Can the INA219 still measure voltage, when you have removed the big low-value resistor? I need a fairly accurate voltage measurement, of voltages higher than 5V, but still be able to communicate with an Arduino. I've also looked google up for voltage measuring chips, but can't find any :/
Look at the INA219 datasheet. The max full scale differential voltage (of the chip itself, don't know about this module) between the 2 input pins is up to 320mV with the programmable gain amplifier set to 1/8, so if you want to measure very low differential voltages, it would be OK, but otherwise probably not.
There are plenty of diff amps, inamps, current sense amps etc to chose from, although most don't have an inbuilt ADC like this one. Diff amps are good for measuring voltages outside the range of the power rails, depending on the resistor ratios in them, but accuracy will depend on the output impedance of the thing you're measuring as they have high input impedance. Inamps put buffers in front of a diff amp to get past this impedance issue, but that means they can't measure outside the power rails. Current sense amps generally have a low max differential voltage (
The Arduino has a 10-bit ADC, and you can easily use it for measuring higher voltages by using a voltage divider (two resistors).
you don't need to remove to shunt, just use v+ alone
I want to put like 32+ of these together (2 groups of 16) mounted in a long consecutive horizontal pattern to display the individual names of audio track channels on my 32 channel audio mixing console which is commonly called a scribble strip. I want that along the bottom of the mixer. On the top of the mixer's audio meter bridge, I want to add color displays above each channels dB meter that display each channels spectrum analysis. Please help me with some ideas how to start. I need either one interface to control each thing, or several really small controllers I can install inside the mixer with being to obtrusive. I thank you in advance. These additions to my console would increase it's value and make it have similar features to a high end console.
put your code on gist.github.com, forget pastebin
There's no need to, pastebin works fine.
This is not a large project.
gist is not for large projects
Then it comes down to which is faster, I'd vote pastebin by a long way
faster how ?
Why not use Pastebin?
I have seen one video where the tech used two toroid with a few windings each and then went to the hall effect sensor for a type of clamp. and another where the guy cut a toroid. Interesting stuff.
Apparently the individual sensors can have 3 different sensitivity ratings.
My word of the day - MUNGE !
Oh good, you're still alive :-)
Thank you for sharing this project
enjoy your videos.
how about a voltmeter with the same display?
A wild Jules appears!
Happy Monday fella! :D Neat little project! Could you code in a trimmer potentiometer to zero offset the reading? It's odd the offset was present on both positive and negative current readings.
Do you have a source for your peculiar Arduino Pro Minis?
what is the maximum current this will be good for? sorry if you already mentioned it.
About 3A - see the INA219 datasheet for full details :)
It was very helpful. Thank you!
Hi Julian. I thought you were ill or on vacation for ~11 days. Hope it was the latter.
It was the latter :)
+Julian Ilett aha :) hope you got a tan :)
anyone figured how to remove the current offset on ina219?
If its a generally stable value, could do it in software