Measure up to 500A DC Current with Shunt Resistor using Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 106

  • @codebeat4192
    @codebeat4192 ปีที่แล้ว +4

    Be careful when using this on a single power supply. You need the negative side to measure the shunt with Arduino and you cannot use the positive side when on same power source because when the load is disconnected you pump the full voltage into A0! (Or there might be a short circuit - not tested yet - could be possible). That is fine when the voltage is 5V or lower but if it is higher than 5V you can blow up your Arduino! To be on the safe side, always put the shunt at the negative terminal.

  • @muratturel
    @muratturel 4 ปีที่แล้ว +2

    Excellent tutorial once again... and thanks for videos with NO MUSIC... so much easier to concentrate on the subject...

    • @robojax
      @robojax  4 ปีที่แล้ว

      You are welcome. I am glad you found them useful.

  • @santiagoSosaH
    @santiagoSosaH 3 ปีที่แล้ว +1

    Wow excelent video tnx

  • @logicielslri1729
    @logicielslri1729 4 ปีที่แล้ว +2

    Thanks for this nice video! Is there a voltage limit that we can pass through the shunt? Let say i want to test at 24 volt DC, or maybe at 300volt DC, does i can use the same setup, and same wiring?

    • @robojax
      @robojax  4 ปีที่แล้ว +2

      you are welcome. when you measure the current, voltage is not of our concern. Yes it will work the same way for both voltages.

    • @simonmasters3295
      @simonmasters3295 ปีที่แล้ว

      I think he is saying measure voltage using a different circuit. Someone else drew attention to the fact that higher volts may be unhealthy for the Arduino.
      I do not understand the "adjustment" parameter, but I think we're are asked to believe that this is a fudge for accurately measuring low current when the shunt is rated for higher current.
      Sampling and aggregating the data isn't really dealt with and the data is not time stamped because the Arduino does not have a clock!
      These are features I am looking for where I have 3 (or more) high end shunts for 3 separate battery banks.

  • @simonmasters3295
    @simonmasters3295 ปีที่แล้ว

    So for multiple readings from multiple shunts (a) choose a 12 bit processor (b) rewrite the code so it samples each shunt in turn (c) optimise the code so it doesn't spend ages reading when there is no current
    Do you not seem to recommend measuring voltage at the same time, but with PWM and MPPT this will be varying so I guess there are two analogue input pins to be used?

  • @adamelkoumy5141
    @adamelkoumy5141 4 ปีที่แล้ว

    Amazing video. Thank you very much Ahmad

    • @robojax
      @robojax  4 ปีที่แล้ว

      you are very welcome Tommy.

  • @tbilal11201
    @tbilal11201 3 ปีที่แล้ว +1

    is it possible to measure amps from 2 different shunt with 2 different voltage source? such as measuring amps from pv to scc & from scc to battery, since it has different voltage values..

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      yes of course. I have written this library which uses class. you can define different objects for shunt . Learn the meaning of object from this video th-cam.com/video/L6ekl2ABcuY/w-d-xo.html

    • @tbilal11201
      @tbilal11201 3 ปีที่แล้ว +1

      @@robojax what i actually mean is, how to wire the shunt to the arduino, since arduino only has 1 GND for multiple analog input, and because we are measuring voltage drop on the shunt which there is still a voltage on the negative side of the shunt. And the we connect both negative side of the shunt parallel to the arduino GND. So there would be voltage different on the negative side of the shunt (i.e 30V on pv, 24V on the battery)

    • @tbilal11201
      @tbilal11201 3 ปีที่แล้ว

      @@robojax do you have any solution for that? thank you..

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      wow. Common ground. that is interesting problem. This won't work as is. External module or chip might solve this. I am not sure. Needs some research.

    • @tbilal11201
      @tbilal11201 3 ปีที่แล้ว

      @@robojax how about using the low-side shunt? is it possible? or do you have any other suggestions? maybe you could make video about that, thanks :D

  • @kheavmarady6810
    @kheavmarady6810 3 ปีที่แล้ว

    Thank for the video. Is there a way to amplify the shunt... so that we can measure below 10 Amp? (for a 100A or 200A shunt)

    • @robojax
      @robojax  3 ปีที่แล้ว +2

      This is the problem of shunt. 5% error makes it hard to use high rated shunt for lower values. You gotta use proper Hall effect sensors. I have videos on those.

  • @TechTed1
    @TechTed1 7 หลายเดือนก่อน

    Good video 😊

  • @herrkronen9694
    @herrkronen9694 11 หลายเดือนก่อน

    Does this Shunt resistors work for Alternatnig current too? Please i would like to know

    • @robojax
      @robojax  11 หลายเดือนก่อน

      See this video Measuring 50A to 200A using Allegro ACS770 Current Sensor with Robojax Arduino Library
      th-cam.com/video/sB6EULTix2k/w-d-xo.html

  • @bobowen7861
    @bobowen7861 4 ปีที่แล้ว +2

    Why are so many shunts labeled as 75 mv? Why not use 100 mv shunts instead? 75 is an odd number. Seems like 100 would be an easer number to work with.

    • @robojax
      @robojax  4 ปีที่แล้ว

      The code I have written will work with any shunt resistor. I have never seen any other. For the past 5 years I have been searching and never saw anything else.

    • @bobowen7861
      @bobowen7861 4 ปีที่แล้ว

      @@robojax You are correct. The 75mv series of shunt resistors appear to be the norm. My guess is that this goes back to the days of analogue current meters providing an easy method of changing current scales. I enjoy watching and learning from your videos and look forward to many more. Should you decide to expand your collection of shunts search on Amazon for 50mv or 100mv base-mounted DC shunts.

  • @johnsonisaac4864
    @johnsonisaac4864 3 ปีที่แล้ว

    Pls how do I modify the code to upload the current value to Thingspeak using esp01 or just using esp8266 instead of Arduino uno?

    • @robojax
      @robojax  3 ปีที่แล้ว

      never heard of Thingspeak

  • @vengug7303
    @vengug7303 4 ปีที่แล้ว

    Great job 👍 if read the live current in display it's better

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      Thanks. I have already made two videos ONE for LCD and the other on LED display. Both has been posted for my Patrons on Patreon.com and in 1 or two weeks I will publish them on youTube.

    • @vengug7303
      @vengug7303 4 ปีที่แล้ว

      @@robojax thank you

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      you are welcome.

  • @rabihahmed3371
    @rabihahmed3371 3 ปีที่แล้ว

    thanks for your nice video. can I use this shunt resistor to measure current by an oscilloscope?

    • @robojax
      @robojax  3 ปีที่แล้ว

      If you watch this video fully, you will learn tones of concepts including your question. yes. you can but watch this video fully. I've spent over 2 weeks to make this video.

  • @ferozkhatri8565
    @ferozkhatri8565 3 ปีที่แล้ว

    excellen sir, can i use this 50a or 100a shunt with my Digital multimeter DT830D ?

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      Yes you can use it with any shunt . But you have to know the values. Is use home law to calculate and enter then in Arduino code.

  • @LukeyMe
    @LukeyMe 2 ปีที่แล้ว

    What would I need to change if I'm using a 100mV Shunt?

    • @robojax
      @robojax  2 ปีที่แล้ว +1

      With your question you made me watch the video. Just watch the video fully without skipping. I have not said anything extra. The answer is in the video.

  • @TheSchneidItworld
    @TheSchneidItworld 4 ปีที่แล้ว

    wooow, that's gonna be useful, thanks!

    • @robojax
      @robojax  4 ปีที่แล้ว

      Glad you think so!

  • @radenadrianrafliprasetyo2594
    @radenadrianrafliprasetyo2594 4 ปีที่แล้ว

    Can I add some shunt resistor in parallel to its current limit? for example using two 50A shunt resistors in parallel to measure current up to 100A. Is there any advantage or disadvantage for doing that?

    • @robojax
      @robojax  4 ปีที่แล้ว

      yes you can. You have to calculate the value using parallel resistor rule.

    • @radenadrianrafliprasetyo2594
      @radenadrianrafliprasetyo2594 4 ปีที่แล้ว

      @@robojax so the voltage drop must be same right? because its parallel

  • @toolcraftaustralia9386
    @toolcraftaustralia9386 2 ปีที่แล้ว

    hello it is not measuning the current below 15 amps what could be the reason for that?

    • @robojax
      @robojax  2 ปีที่แล้ว

      you didn't mention what sunt value you are using. But I have mentioned in the video that if your shunt of 100A has 10% tolerance, then, 10A is not going to be accurate. so calculate the 5% or 10% tolerance. Watch the video fully. I have spent over a week on this project.

    • @toolcraftaustralia9386
      @toolcraftaustralia9386 2 ปีที่แล้ว

      @@robojax I am using 200 amps 50 mv shunt resistor, i trying to get the values, but it calculating above 15 amps.

  • @learningpower9437
    @learningpower9437 3 ปีที่แล้ว

    Excellent presentation. There is still something bothering me..that is the ground for the Arduino....say that you have a battery bank of 48 volts made of 8 batteries in series (6 volt each)...hence your ground is just the reference...hence you can connect the ground cable to battery 6...but then the positive (A0)..must be at higher voltagec(battery 7 or 8) ...and obviously using the proper voltage divider to keep the voltage at A0 below 5 volts .... The issue here is that the Arduino has a ground coming from the USB...having another ground at a voltage level (36 volts) ...will that create a problem ??? Thanks.

    • @robojax
      @robojax  3 ปีที่แล้ว

      Hello, if you have 48V, then you have only two wire + and GND. The ground on Arduino is shared on all GND. so the USB GND is the same as other ground pins.

  • @abhijithkrishnan1613
    @abhijithkrishnan1613 2 ปีที่แล้ว

    Thank you sir for this vedio. Sir I need to find out current drawn from welding machine, there is a shunt resistor with 400A 75 mv. I can't directly connect shunt output to my Arduino Uno because of common ground problems. Once I connected and checked for some time but Arduino got burnout. Can you help me sir?

    • @robojax
      @robojax  2 ปีที่แล้ว

      use optocoupler to isolate the welding machine. I don' have a video on optocoupler at the moments.

    • @abhijithkrishnan1613
      @abhijithkrishnan1613 2 ปีที่แล้ว

      @@robojax Thank you sir for your valuable time.
      Actually I am used opamp (op07) differential amplifier for isolation. According to the design it should give output 0v for 0mv and 5v for 75mv. The welding machine give 30mv for around 160A, but when i connect shunt out to opamp the output of opamp rises above 3 or 4v and so it causes error in reading and also error voltage appears on output of opamp when there is no input . The exact output of opamp should be around 1.1 to 1.7v for 30mv. What should I need to do to reduce the hike in output of opamp and also to eliminate voltage when there is no input.

  • @aniketsawant8498
    @aniketsawant8498 4 ปีที่แล้ว

    Can we use this to make a energy meter

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      if you've watched the video, I mentioned it. If I find time and interest from people, I will make it. I would have to see if this video get 10,000 view then I know people want this kind of contents.

  • @robtribble9791
    @robtribble9791 4 ปีที่แล้ว

    how do i measure both plus and minus amps ?

    • @robojax
      @robojax  4 ปีที่แล้ว

      hello, with this code you can't do it. Use this sensor th-cam.com/video/sB6EULTix2k/w-d-xo.html

  • @electronic7979
    @electronic7979 4 ปีที่แล้ว +1

    👏👏👏

    • @robojax
      @robojax  4 ปีที่แล้ว +1

      🔔 😊.

  • @eligijuspranskunas3509
    @eligijuspranskunas3509 3 ปีที่แล้ว

    Great video!
    I'm using common GND to control H-Bridge, so it will burn my arduino I guess...

  • @Karl_Levine
    @Karl_Levine 4 ปีที่แล้ว

    Maybe I am missing something but it doesn't make sense to me.
    Even if you use the 100A shunt you'd be basically getting over 1.4A(!) steps on the Arduinos with just using this 75mv shunt.

    • @robojax
      @robojax  4 ปีที่แล้ว

      sorry. I did not understand the 1.4A. I have explained it fully. It would duplicated if I type it again here. with 100A shunt, you should not use to measure anything less than 10A with Arduino UNO.

  • @AI.AUTOMATION.
    @AI.AUTOMATION. 9 หลายเดือนก่อน

    Hii sir I need 1 help please sir help me please
    I facing a 1 problem in my project can I measure the 450v dc and 30a current shunt and Arduino it's possible?? And how please help sir

    • @robojax
      @robojax  9 หลายเดือนก่อน

      Hi
      Wrong video . See this
      How measure DC Voltage and Current and build Energy meter with LCD Display | Lesson 104
      th-cam.com/video/oufDb7AtvNk/w-d-xo.html

    • @robojax
      @robojax  9 หลายเดือนก่อน

      And search my channel

    • @AI.AUTOMATION.
      @AI.AUTOMATION. 9 หลายเดือนก่อน

      @@robojax but my voltage is hvdc 450v dc ⚡⚡

    • @AI.AUTOMATION.
      @AI.AUTOMATION. 9 หลายเดือนก่อน

      @@robojax please sir help me how to measure this current with MCU please help me i need isolation with low side and high side I can't connect the Arduino A0 pin derectily to high voltage DC shunt resistor pin

  • @azmerawabelie484
    @azmerawabelie484 3 ปีที่แล้ว

    how can i code in arduino to display negative current to lcd ???

    • @robojax
      @robojax  3 ปีที่แล้ว

      I have not verified it but watch this video someone has done on negative power supply th-cam.com/video/xIV4SodSdkY/w-d-xo.html

  • @eng.helenojose9641
    @eng.helenojose9641 ปีที่แล้ว

    É normal não ter precisão?

    • @robojax
      @robojax  ปีที่แล้ว

      El error del 5% o 10% depende del tipo de resistencia que compre. si es normal si compra una derivación de 50A y la usa para 3A, obtendrá un error del 50%. así que no lo hagas. derivación 5A utilizada para la medición 3A. y use la derivación 50A para 20A a 50A para obtener un resultado excelente.

  • @hatsunemiku6335
    @hatsunemiku6335 3 ปีที่แล้ว

    can i use this for esp8266?

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      I have exit it fully. If you watch it many times and learn it you can use it for anything and in any ways

    • @hatsunemiku6335
      @hatsunemiku6335 3 ปีที่แล้ว

      @@robojax ty for the tip

  • @mgames.222
    @mgames.222 4 ปีที่แล้ว

    감사합니다

    • @robojax
      @robojax  4 ปีที่แล้ว

      천만에요.

  • @vedforeal7835
    @vedforeal7835 4 ปีที่แล้ว

    Sir where do you get these components from

    • @robojax
      @robojax  4 ปีที่แล้ว

      Please what the video. I have mentioned them where I am getting them.

  • @cr0174
    @cr0174 3 ปีที่แล้ว

    Hello
    Very interesting. I am looking for a shunt with a logger! I would like to save volts and amps (time and date) Do you have any idea how to do that?
    Greeting
    Daniel

    • @robojax
      @robojax  3 ปีที่แล้ว

      It could be done in two ways, on microSD card or on cloud server. I have not video for that yet.

    • @robojax
      @robojax  3 ปีที่แล้ว

      Check my latest video dc energy meter

    • @cr0174
      @cr0174 3 ปีที่แล้ว

      @@robojax It is possible to buy one from you?!

    • @robojax
      @robojax  3 ปีที่แล้ว

      I have nothing for sale

    • @cr0174
      @cr0174 3 ปีที่แล้ว

      @@robojax
      Or can you help me to build such a shunt. I have no idea how to build something like this! :-( let alone program it!

  • @sahnatana6501
    @sahnatana6501 3 ปีที่แล้ว

    Hi sir, why is the current data not showing

    • @sahnatana6501
      @sahnatana6501 3 ปีที่แล้ว

      I've run the same tutorial as in the video

    • @robojax
      @robojax  3 ปีที่แล้ว

      Watch explained if the code . You must have disabled it. It can be disabled not to show on serial monitor.

    • @sahnatana6501
      @sahnatana6501 3 ปีที่แล้ว

      why the analog pin can't be read when connected to a shunt resistor, the data only reads 0

  • @vedforeal7835
    @vedforeal7835 4 ปีที่แล้ว

    Sir I want to make a radar using stepper motor and a hc sro4 please make

    • @robojax
      @robojax  4 ปีที่แล้ว

      please post this under the stepper motor or HC-SR04 and I will reply. this video is about shunt current.

    • @vedforeal7835
      @vedforeal7835 4 ปีที่แล้ว

      @@robojax ok

  • @omaral-halabiah2851
    @omaral-halabiah2851 4 ปีที่แล้ว

    شكراً على مشاركة هذه المعلومات القيمة

    • @robojax
      @robojax  4 ปีที่แล้ว

      عفوا

  • @terrancevangemert7508
    @terrancevangemert7508 3 ปีที่แล้ว

    WHen you show the current you are not showing the voltage you are working with. Is it 5 volts at 50 amps or is it 24 volts and measuring 50 amps.. It is hard to tell from your screen what you are proving here.
    Arduino will only accept up to 5 volts max to the A0 To A7 Pins. So single ended and pushing more than 5 volts will destroy the AD

    • @robojax
      @robojax  3 ปีที่แล้ว +1

      we are measuring voltage across the shunt resistor. if a shunt is made for 100A, this shunt will output 75mV. I have shown it. We don't care about the voltage we are working. 100V or 500V does not matter because the voltage will never be more than 75mV which is 66 times smaller than 5V. Please watch again. I have explained it fully and why we use shunt and how it works. stay safe.

    • @terrancevangemert7508
      @terrancevangemert7508 3 ปีที่แล้ว

      @@robojax I watched and your rampage that you applied is at 5 volts or less. 30 amps or 200 amps at 5 volts or less is safe with Arduino. anything over five volts will Damage the Arduino.
      you are not going over 3.5 VOLTS... even if you show 60 amps... on the current power supply through the shunt. try 24 volts and 60 amps and see what happens.

  • @Verial1966
    @Verial1966 2 ปีที่แล้ว

    the sketch doesn't work.

    • @robojax
      @robojax  2 ปีที่แล้ว

      You can’t just say it doesn’t work. Please provide error or details

  • @kkelectronics831
    @kkelectronics831 4 ปีที่แล้ว

    Hi sir i need your help

    • @robojax
      @robojax  4 ปีที่แล้ว

      Hi, I can help you only if it is related to the video I have posted here. So please post your question under the relevant video and I will try to replay.

    • @kkelectronics831
      @kkelectronics831 4 ปีที่แล้ว

      Thank you for reply sir My question is I am using a clone Ardiuno uno3 Hc340 before it was working fine. Com por is also ok but still error is coming.

    • @robojax
      @robojax  4 ปีที่แล้ว

      you are welcome. There is no such thing as clone or read. the chip in Arduino board is made by ONE manufacturer. So don't worry you have the right board. You have to post the error show what kind of error you are getting so I look at it.

    • @kkelectronics831
      @kkelectronics831 4 ปีที่แล้ว

      An error occurred while uploading the sketch avrdude: ser_open() : can't set com-state for "\\.\COM3" sir message is showing

    • @vedforeal7835
      @vedforeal7835 4 ปีที่แล้ว

      press reset on your arduino board
      it had also happened to me

  • @TheSchneidItworld
    @TheSchneidItworld 4 ปีที่แล้ว

    ohhh