Arduino based current meter with i2c LCD screen

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 136

  • @frenchcreekvalley
    @frenchcreekvalley 3 года назад

    I can only click on "like" once, but I can thank you again. I watched this video for a second or third time to help me troubleshoot my circuit and now it works just as it should.

  • @sachindhondge1551
    @sachindhondge1551 3 года назад +1

    Really nice, good thing you did not get the ad624

    • @krislenecondinato7836
      @krislenecondinato7836 3 года назад

      Can I ask for the code? Mine is not working. I’m using a 25 mili ohms shunt resistor and I want to measure 0-3A but i think there is something wrong with my code or maybe my gain. Thanksalot🙏

  • @jetraid
    @jetraid 7 лет назад +4

    Maybe you can use a software autoscale when displays "increase current" the arduino can change automatically to the low gain amplifier.

  • @infiniteman12
    @infiniteman12 4 года назад +1

    Is the arduino pins is safe to accidental over voltage?. when you put to much voltage in 0-2 A scale?. i think it needs a kind of protection, just like fuse , feedback to disconnect test probes if over voltage happens, zener diode, or else.

  • @frenchcreekvalley
    @frenchcreekvalley 3 года назад

    Thank you for this video. It is one of the most well done videos that I have seen on this exact subject. And, it's right when I need it. I have been having trouble with DC to DC SSR's failing when using them to power the Chinese 2500 watt ZVS induction heaters. They fail shorted if the get even a momentary overcurrent. So I will attempt to use this kind of circuit to shut the SSR off just before its too late. Wish me luck.

  • @DwiNoviantoUntidar
    @DwiNoviantoUntidar 3 года назад

    Can u make an AC Voltage meter using ZMPT101B & Arduino?
    Cz I have a problem detecting the peak voltage to calculate the Vrms value.

  • @usmanriaz8396
    @usmanriaz8396 2 года назад

    2:40 So Ohm's law is I=VR. You are so good

    • @ELECTRONOOBS
      @ELECTRONOOBS  2 года назад

      Actually ohm law is V= R*I so it would be I = V/R

    • @usmanriaz8396
      @usmanriaz8396 2 года назад

      @@ELECTRONOOBS yes i figured it was a mistake. becaue everything was 1 so results were accurate. Thanks for you reply bro. you inspire me

  • @00_002
    @00_002 4 года назад

    Great project! I'm building one for a power supply! Might assign the Higher scale to A1 instead of A0 so I can automatically switch it

  • @DhouhaBT
    @DhouhaBT 5 лет назад

    Hello, thank you for this video! i want to ask if i can use this sensor for my project to measuring low current (200mA) ? and how can i use it

  • @raymondmichael4987
    @raymondmichael4987 3 года назад

    Time for another current measurement, this time AC CURRENT up to 200A even more just for the funny of it
    Greetings from Tanzania 🇹🇿

  • @bernym4047
    @bernym4047 Год назад

    very instructive. Thank you. I guess you could switch the ranges automatically using a relay or mosfet and some more code.

  • @nielsbaeklund7336
    @nielsbaeklund7336 6 лет назад +1

    Why do you use 2 switch when you can simply change the input pins in the software when it reports overflow

  • @arungeorge6112
    @arungeorge6112 5 лет назад +2

    how to measure an ac load current
    if the ckt is same how to connect the neutral of ac to aurdino negative

  • @FreeCircuitLab
    @FreeCircuitLab 3 года назад

    Nice video, please zoom in while you are showing program, because in smartphone the small texts are barely readable below 1080p

    • @sagarnetworks
      @sagarnetworks 2 года назад

      See the configuration of resistor in opamp

  • @P_Manom
    @P_Manom 4 года назад

    Thank you so much. Looking forward for more amazing project videos in future.

  • @UzairAli001
    @UzairAli001 Год назад

    Why you did not use external ADC with 16 bits, it should give enough resolution so we don't need OP AMP right?

  • @henrytarveran1243
    @henrytarveran1243 2 года назад

    Hi there; Just to let you know that... the Code Link isn't responding.!!
    if it could be fix would be cool to try it. cheers..

  • @samuelcarvalhocosta3274
    @samuelcarvalhocosta3274 2 года назад

    I'm trying to build a reader for 30 microampere to 90 microampere. Do you have any suggestion?

  • @oooJJooo
    @oooJJooo 5 месяцев назад

    Good job, but at 08:56 you have shown the schematics of an inverting amp... Should be a non-inverting amp, else it will not work as it is :)

  • @nickpelov
    @nickpelov 7 лет назад +3

    LM324 is not the greatest opamp and gain of 300 is a bit too much for it. Just take the output of the x50 amp and amplify it x60 with another one. That'll increase the error due offset voltage, but you can null it out in software.

    • @caribbeanchild
      @caribbeanchild 5 лет назад

      you mean amplify by 50 then by 6... that's 300.... not 50 then 60 !!!

  • @laythabdulwahab9498
    @laythabdulwahab9498 Год назад

    Thanks for your video but you mentioned to use non inverting amplifier which right but i saw you used inverting amplifier in diagram please check. Thank you

  • @johnsonisaac4864
    @johnsonisaac4864 2 года назад

    Pls how can I use your code and make adjustment to the lm324 op-amp to be able to measure up to 70A DC current?

  • @mazharsultan492
    @mazharsultan492 3 года назад

    If i use 50A 75mV shunt instead 10A 75mV shunt so what is the voltage drop in input of Arduino? Pls Reply

  • @user-ei8hw5nv9e
    @user-ei8hw5nv9e 7 лет назад +2

    Thank you so much for this video !

  • @hansdegroot652
    @hansdegroot652 4 года назад

    Do we need the switch? can't we use 2 anlog pins and once the low amps reaches the max just switch to the other one? Or can we destroy the op amp this way?

  • @amnesie6615
    @amnesie6615 6 лет назад

    Hello, could you please update your code? Because it is wrong. The scales showing the same and there is no "increase scale" function, also the values of the Resistors are different from the video to your schematic.

  • @clarkso65
    @clarkso65 6 лет назад

    Nice video! Keep it up. And thank you so much for sharing your knowledge.

  • @yousaftoki1599
    @yousaftoki1599 2 года назад

    Great knowledge sir......

  • @abimariavargas7086
    @abimariavargas7086 Год назад

    Can you make it save on screen the amps when you remove current

  • @chenartahir1865
    @chenartahir1865 3 года назад

    how can i build a system and connect 15 samples of MFC (microbial fuel cell) in same time for measuring current (low between 0mA to 3A) and voltage (between 0mV to 800 mV) continuously? I have an oscilloscope, if the system help me to get the reading continuously from the oscilloscope or independently measure them, both way is good for me. Please someone help me.

  • @galdankh
    @galdankh 3 года назад

    You said that ull use non inverting amp. Then you show schematica with inverting amp.??

  • @bittertruth27
    @bittertruth27 4 года назад

    Hi can you tell how can I add lcd to buck boost converter to measure input voltage and current as well aas output voltage and current

  • @bosechanra3326
    @bosechanra3326 4 года назад +1

    Can it measure micro amps of current with high precision

  • @mohimen1617
    @mohimen1617 6 лет назад

    how about putting resistance R1 and R2 parallel to the load then in ARD code divide the voltage by R1 to find branch current then using current divider to find main current

  • @akshaykolekar5903
    @akshaykolekar5903 6 лет назад

    Hi , I have a problem with this. The Voltage of the battery drops fast. I have use 9v battery it works great but afterwards i saw the voltage, it was 7.2 !!!!

  • @kudchum236
    @kudchum236 7 месяцев назад

    Nice work

  • @republicoftutorials6068
    @republicoftutorials6068 6 лет назад +3

    What to change on the code to make it automatic select the range

    • @motormadness9975
      @motormadness9975 6 лет назад +2

      wow way to overcomplicated.
      All you need is an if condition.
      if in range 0 to 2a - read from pin 1
      else read from pin 2
      literally 2 lines of code

  • @dimpychhabra20
    @dimpychhabra20 6 лет назад

    Can we use this circuit with altered values to measure current in a hundredth of a milliampere?

  • @remicarmigniani3444
    @remicarmigniani3444 5 лет назад

    Looks great! Thanks.

  • @johnmellor6065
    @johnmellor6065 7 лет назад

    excellent tutorial much appreciated

  • @roperhl
    @roperhl 2 года назад

    Can i use 24bit adc instead op amp?

  • @electronic7979
    @electronic7979 6 лет назад

    Useful video 👍 Excellent 👍

  • @Metroid1890
    @Metroid1890 5 лет назад

    As far as I know, the current sensor modules for arduino also measure currents of 1A and so on, is it possible to amplify one of those sensors?

  • @caribbeanchild
    @caribbeanchild 5 лет назад

    I get crazy voltages using the Arduino to measure voltage across a 0.1 Ohm shunt with a 12v bulb as a load.... but no problem measuring that same voltage using a pot to generate the voltage. Pulling my hair out. It seems as though the Arduino ground is not true ground once connected to the simple light bulb circuit! I have no idea how you guys all get this to work!

  • @jahandadkhanmandohail8346
    @jahandadkhanmandohail8346 6 лет назад

    can i measure current using this circuit across a wire i mean when no load?

  • @pcmobiletechnicalsolutions8504
    @pcmobiletechnicalsolutions8504 2 года назад

    you can set voltage to Aref pin of arduino

  • @anukeshambatkar6255
    @anukeshambatkar6255 3 года назад

    Sir how to make multifunction Mppt solar charge controller for 60 Amp or higher with auto detect battery voltage of upto 60 v
    With over charging and discharging voltage settings

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 4 года назад

    Good video, but just a little note at 2:42 current = V/R, not R x V. Ohm's law says V = R x I

    • @usmanriaz8396
      @usmanriaz8396 2 года назад

      So, let's say we have 1 V voltage drop across the shunt then how to calculate the current then. yes he missed this

  • @kHUNROMA
    @kHUNROMA 4 года назад

    Hi
    Thanks and very nice video,
    Waiting for AC Current Measuring Video too.

  • @sgsudhir_
    @sgsudhir_ 5 лет назад

    Can I use 50amp shunt for the same project?

  • @OrthoRocks
    @OrthoRocks 5 лет назад

    Hello. Need help with instrumentation amplifier. Could not find AD623 in local market. Can anyone suggest few other options with similar characteristics.

    • @OrthoRocks
      @OrthoRocks 5 лет назад

      No reply till now. It’s a shame being such a active community here still no one care to help out. Not even electonoob

  • @mickredfox
    @mickredfox 4 года назад

    verry nice video and explanation,
    is it possible to read to 10 amp and 20 amp and also on other voltage than 5 volts, 12 volt example?

  • @risingredstone5949
    @risingredstone5949 6 лет назад +2

    thanks a lot

  • @lezbriddon
    @lezbriddon 5 лет назад

    your circuit diagram shows a 7.5mOhm shunt, should that be a 7.5mVolt shunt? or it it 75.mOhm as its divded by 10a?

    • @ELECTRONOOBS
      @ELECTRONOOBS  5 лет назад

      The shunt resistance is 0.75mOhms and it could withstand maximum 10A. So at 1A there will be a voltage drop of 0.75mV.

    • @lezbriddon
      @lezbriddon 5 лет назад

      @@ELECTRONOOBS yes most shunts seem to be 75mv, I bought 100a and 200a ones and they are 75mv

  • @buraka.4199
    @buraka.4199 4 года назад

    Thank you for sharing.I learned a lot of thing from this video.Im working dc motor overload control.this methode very clear.I searched a lot of circuıt aliexpres etc about overload motor control.I analyzed these circuit but ı didnt saw big shunt resıstor.ıt has opamp but no big resistor.ıt has ordınary resistors.How ıt does deal with big current?

  • @rumengergushki7260
    @rumengergushki7260 3 года назад

    Great video. Could you make another one that shows how to measure the voltage in the capacitor voltage with Arduino?

  • @oceans1291
    @oceans1291 3 года назад

    Can i use it on arduino uno?

  • @SverigeKodar
    @SverigeKodar 7 лет назад +4

    At around 10 minutes into the video, you talk about calculating the ampere from the value of the ADC.
    Do you mean that you got 22.871 volt on the analog pin at 10A? Because that can't be right, the Atmel chip would pop like popcorn at that voltage.

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +1

      Pontus Holmberg no way hahaha. the maximum voltage is 5 volts of the ADC. At 10 ampers I say that the voltage drop at the shunt is 75mV, that multiplied by the OPAM gain should give about 3.75 volts. so no way 22 volts, you understood bad. keep up!

    • @SverigeKodar
      @SverigeKodar 7 лет назад +1

      Yes, I know that the maximum voltage if the Arduino pins are 5v. That's why I had to ask, as you even wrote a comment in your code saying:
      "Because we have 10A when the voltage is 22.871 for a 304.95 gain"
      You even say:
      "with our gain, that voltage drop will have a value of 75 multiplied with 304, which gives us a 22.8 voltage drop for 10 amps of current"
      and we measure the voltage drop to get the current. So what you're saying is that the op-amp will give out 22.8 volt at when the shunt gives 75mV at 10A, because of
      0.075V * 304.95 op-amp gain = 22.871V.
      I know this can't be true, as you're powering the op-amp with 5V from the Arduino board.
      But it's sounds very confusing, even I got thrown of when I looked at it first.
      I know that you mean that for the 0-2A scale, it would (in theory) put out 22.8v at 10A and that the Atmel chip can't handle that :-P
      By the way, why not use smal relays and npn-transistors to build auto-scaling that kicks in when the output for the 0-2A op-amp goes above 5V? :)

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      Pontus Holmberg yes I say that. but 22 should be for 10 ampers but in that part of the code we are on a 2A scale where the maximum voltage drop should be below 5v. Any higher voltage drop on the shount should saturate the OPAM output at 5v. in the 10a scale as you can see in the code the that the maximum voltage drop.is lower. i hope that i explained well. keep up!

    • @Gallardo6669
      @Gallardo6669 7 лет назад

      Pontus Holmberg great reply,thx!thats what our community needs.... Helping each other!

  • @maziarbesanj1613
    @maziarbesanj1613 6 лет назад +1

    Sehr gut....Danke

  • @alpogant1071
    @alpogant1071 7 лет назад

    can i use 0.22 ohm 5w resistor?

  • @AmitSharma-bm2qj
    @AmitSharma-bm2qj 7 лет назад +2

    i think you using wrong formula for voltage gain for Op-Amp you telling for non-inverting op-amp connection but actually you connect op-amp in inverting mode

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +3

      You're right my friend. I've used both inverting and non inverting configurations for this project and I've kind of mixed the formulas in the video. You can now check the description for both inverting and non ionverting schematics with the LM324 OPAM. Thanks a lot!

  • @amitpatelpatel144
    @amitpatelpatel144 6 лет назад

    What is the refresh rate of your LCD?

  • @TheRESMAT
    @TheRESMAT 5 лет назад

    Do you have tutorial for max 471?

  • @vovanikotin
    @vovanikotin 6 лет назад

    also dont forget to terminate not used 2 opamp of lm324.
    if not terminated they can consume excess power. Texas instruments channel have very good video about.check it.

  • @kedarprabhudessai
    @kedarprabhudessai 7 лет назад +1

    awesome

  • @lefterisxristianos7970
    @lefterisxristianos7970 3 года назад

    Hey could you create a 4-20 current loop with Arduino?

  • @electrosound4595
    @electrosound4595 6 лет назад

    How much we measure current and voltage.

  • @ikabaitinnisa240
    @ikabaitinnisa240 6 лет назад

    can u share all material to made it?

  • @RehanKhan-ur1yv
    @RehanKhan-ur1yv 7 лет назад

    Hi, I wanna make a current control circuit with constant voltage.........what should i do???

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      Well, probablly you could use this same circuit and add a relay. When the arduino detects your preset current value, should open the circuit with the relay. That should be quite safety.

    • @RehanKhan-ur1yv
      @RehanKhan-ur1yv 7 лет назад

      Thanx

  • @raihanadinugroho4405
    @raihanadinugroho4405 5 лет назад

    Can i use 50A 75mV shunt instead 10A 75mV shunt ? Btw thank you for the video. It's Very helpful.
    Sry bad english.

  • @hazwanhaikal5240
    @hazwanhaikal5240 3 года назад

    Hye bro, great video.. I want to ask how can i measure AC Current using arduino? If u got recomended sensor tell me please.

  • @XNA5000
    @XNA5000 7 лет назад

    Great video man

  • @omerrahmed
    @omerrahmed 6 лет назад

    any substitute for AD623 ?
    other than lm324

  • @frenchcreekvalley
    @frenchcreekvalley 3 года назад

    Whoops!
    Isn't this the way the gain formula SHOULD look?:
    Av = 1+ R2/R1

  • @omerrahmed
    @omerrahmed 6 лет назад

    can this measure ac current ?

  • @ShrinivasSaindar
    @ShrinivasSaindar 5 месяцев назад

    I want to measure the current in microamps

  • @BasharatAli-xs7mm
    @BasharatAli-xs7mm 2 года назад

    Hello brother this circuit make with volt and current meter means volt amp Watt and temperature show on one display for 5v
    Please make a More video

  • @terlumunjoseph6779
    @terlumunjoseph6779 7 лет назад

    hi great video please can you show how to measure ac current

  • @iitianvlogs9805
    @iitianvlogs9805 4 года назад

    Will it measure Ac??????

  • @genuino-qo5yq
    @genuino-qo5yq 6 лет назад

    What is the reason why ad620 does not work?

    • @ELECTRONOOBS
      @ELECTRONOOBS  6 лет назад +2

      It should also work. AD620 is not an OPAMp, it is an instrumentational amplifier which should be better. Check the confiuguration that you need for this amp in order to amplify in the datasheet. Keep up!

  • @123yarr
    @123yarr 7 лет назад

    Can you make a video of how to get 5v and 50ma output of high load like 50V and 120A, down to 5v and 50ma

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      I don't understand you. You have got a load that at 5 volts draws 50mA? so the load is 100 ohms right? So you want the same load at 50V to draw 120A?? That's impossible. If not, explain me again what you want to obtain. Thank you and keep up! Saludos!

  • @anukeshambatkar6255
    @anukeshambatkar6255 4 года назад

    Sir how can we measure current of 400 A dc using arduino

  • @yofn1541
    @yofn1541 7 лет назад +1

    why don't you just use analogReference instead of an amplifier ? that will decrease the resolution.

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +2

      the ADC of the arduino has 10 bits that means you have 1024 values for 5 volts. SO that means each value is 5/1024 = 4.8mV. The voltage drop on the shunt will be 7.5mV per each amper so if you want to measure less than an amper you need to make difference between lower values. So you need to amplify the signal so the ADC could measure it!

    • @zakkymizanulfikriashsodiq4081
      @zakkymizanulfikriashsodiq4081 6 лет назад

      @@ELECTRONOOBS You can change 5 volt => 1.1V
      Value = 1.1/1024
      Value = 0.00107421875mv

    • @Aviprink
      @Aviprink 5 лет назад

      @@ELECTRONOOBS in this case you need better Op-Amp , then use 1% resistor to minimise error.,

  • @sunith5428
    @sunith5428 4 года назад

    Thank you . i want to read voltages all so please help me

  • @SumitKumar-fc4bq
    @SumitKumar-fc4bq 7 лет назад

    can you add GPS on your Quad copter

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      Sumit Kumar if you use the multiwii firmware is quite easy to add a gps module. just change a few lines in the config.h code. If you use your own code is quite difficult!

  • @thewatt3750
    @thewatt3750 3 года назад

    Correction!!! current is equal to voltage over the resistance

  • @cristianbretfelean2805
    @cristianbretfelean2805 6 месяцев назад

    ruclips.net/video/mcDITdXGZDc/видео.html Hi. The - and + connections of opamp should be flipped to rectify the schema, cause - should go to ground, right? Thanks for youtubing.

  • @Mo-ub6mr
    @Mo-ub6mr 6 лет назад

    What is courent

  • @SumitKumar-fc4bq
    @SumitKumar-fc4bq 7 лет назад

    I am using my own code you know how to add GPS

  • @muhammadyasiramin2717
    @muhammadyasiramin2717 6 лет назад

    Sir your session was very helpful but I have a query; can I measure current in kA?

  • @jsquaredm
    @jsquaredm 5 лет назад

    Looking into this to measure if a robots motor is stalled. Debating if this is worth the effort.

  • @SumitKumar-fc4bq
    @SumitKumar-fc4bq 7 лет назад

    I am trying to make professional Drone camera and I don't think that multiWii can give that much result

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      Multiwii is quite complex. But if you don't like multiwii I recommend you the NAZE boards.

  • @SumitKumar-fc4bq
    @SumitKumar-fc4bq 7 лет назад

    when you make video on quadcopter???

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад

      Very soon! I have already build 5 of them and the video scripts are quite ready. Till then maybe you should see my Webpage tutorial on drones: www.electronoobs.com/eng_robotica_tut5.php Keep up!

  • @abdulkader-lh9mj
    @abdulkader-lh9mj 7 лет назад

    what will be the process for micro amps...
    ?

  • @deepak_00
    @deepak_00 7 лет назад

    Please add a video on power factor meter.

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +1

      I'm not sure when I will be able to do that. I have a lot of other projects. But just measure voltage at the same time as current and calculate power. Keep uP

    • @deepak_00
      @deepak_00 7 лет назад

      Electronoobs
      thanks for replying,
      please explain me bit more, measuring current and voltage at same Time will give us it's corresponding amplitude, but how can we relate amplitude with power factor, I know that power factor depends on the impedances of load. That is R/Z

  • @kakek8233
    @kakek8233 3 года назад

    Malaysia

  • @percivul1786
    @percivul1786 4 года назад

    Is it just me or does our host sound like he's the brother of AC Ants?

  • @cgneptune
    @cgneptune 2 года назад

    it needs 2 minutes for me to understand his current spelling. it;s not koorent it's current

  • @tucoremirezful
    @tucoremirezful 7 лет назад

    Nice video !!!! Will you, for money og course, make a project for me ????? 👍👍👍😉😋

  • @metamud8686
    @metamud8686 2 года назад

    sirkwit .. koerunt