Measuring 5A-30A AC and DC current using Allegro ACS712 with Robojax Library (code added into video)

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

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

  • @Raafiu4
    @Raafiu4 3 หลายเดือนก่อน

    Watching you make videos about things i need help with makes me so happy. Because i know i am getting help for sure Thanks!!!

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

    I might have looked at all the sketches on the internet but non was accurate as for thos video. Thank you for making a library for this. Keep up the good work

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

      I need some help getting the data onto a Oled, im using Adafruit_SSD1306.h and cant figure out what i need to put for display.print (); if you can assist

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

    u always make my projects easy to make . thanks ahamd

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

      Glad to hear that. you are welcome.

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

    Thank you sir, this really help me

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

      Most welcome!

  • @mejoradajr.timoteoponce786
    @mejoradajr.timoteoponce786 2 หลายเดือนก่อน +1

    Thankkkk youu Robojax

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

      you are welcome

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

    Thanks your video solved my big problem ❤❤❤

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

      Glad to hear that

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

    It was a nice video with useful information. thank you for sharing.

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

      you are welcome.

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

    Always the best👌👌

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

      Thanks.

  • @Althu-blog
    @Althu-blog ปีที่แล้ว

    Powerful amazing brother

  • @gpigna
    @gpigna 4 หลายเดือนก่อน

    Thanks for this excellent video. Do you know what the maximum distance of the cable that connects the ACS to the Arduino board can be?... Thank you

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

    Thank you for the video.
    I have tried it out however i am getting fluctuating current when i compare to a digital multimeter, is there something that needs to be added on the circuit to get a constant current reading?

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

    Grate job Robojax

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

    Thank you for your tutorial about ACS712 this is awesome 👍 do you have a video for ACS712 with ESP8266/nodemcu board and also measuring Energy in Wh, Voltage, current and power ?

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

      You are welcome. For now I don't have video this. I might make video. here is my video on Energy Meter th-cam.com/video/UK8Kvk8wFmw/w-d-xo.html and how to measure any voltage using Arduino th-cam.com/video/t8xwrVj2aFs/w-d-xo.html . You could search without waiting for my response.

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

    awesome work you are really amazing

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

      Thanks. So are you.

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

    thx for the library, now I'm looking to turn this into a Energy meter that I can integrate in a bigger project, any tips on how to do that

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

      Just search my channel , I have energy meter .

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

    Hello,
    I'm using an ESP-8266 nodemcu to measure the current on an AC load(230V, 50Hz). I connected NodeMCU via USB to laptop, and I'm powering the ACS712 trough 5V on breadboard. I connected GND of ESP-8266 to GND of ACS712. Using your code and library I get 13Amps with no load, and no change when I put a 700W load...

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

      Hi, first should use this Arduino. I have not tested it with ESP8266 but it might work. I have no idea what you do wrong. So try it on Arduino UNO make sure it works then try it on ESP module.

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

      @@robojax hi can i use ACS712-30A on an AC load (220 v , 50hz ) !?
      and thank u

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

    Can this ESP32 library be used with ESP32 and still give correct results? I"ve used another ACS712 library and it was not compatible with ESP32 Wroom causing incorrect results. I look forward to hearing from you soon. Thank you!

    • @robojax
      @robojax  29 วันที่ผ่านมา

      No. it won't work.

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

    tiny! love it!

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

      Yes. Very accurate.

  • @Karan-k8n
    @Karan-k8n 6 หลายเดือนก่อน

    Need Help with connection of ACS712, L298N, Arduino, DC Motor

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

    Where can I buy the cables shown at 7:18?

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

      I watched the video at 7:18 the code is explained.

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

    With acs712 30A version, how can we use robojax library for a current limiting circuit at 30 kHz fixed according to current values. Can you give the code for this?

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

      Code and library is there and the library works based the data sheet. The link in description

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

    i using a nodemcu my Vin = 5 volt but my pins IN are 3.3 volt must i change the Vcc in 3;3 volt or stay with 5 volt the max amp that i going use
    is max 2.8 amps DC

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

    I need to download the library now please !

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

      Link in description. Also you could got the to Robojax.com and get it.

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

    @Robojax, what does the 2.1KVrms voltage isolation mean? can it be use to measure current for 415V(AC)?

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

      it means if you try to measure the current for 2kV, you are okay. above that might be dangrous.

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

      @@robojax Thank you for the clarification Sir.

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

      you are welcome.

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

    Hi Thank you for this video. The Title heads keep blocking the view of important parts of the explanations my advice is to display them at the very bottom of the screen and as a single line sentence .

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

      Hi, are you referring to the subtitle? Just turn it OFF by clicking on cc when you click on gear ⚙️

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

    Hello Mr. Ahmad SHAMSHIRI
    I am glad to see your video.
    I have one concern, I tried to use your library to determine the power of a piece of equipment but it did not work.
    Please how to use your library to calculate the power of the equipment connected with ACS712-5A sensor.

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

      Hello, of course it should not work. It is only current sensor. For power you need voltage then P=v*I where is I is current in ampere. So measure voltage using code in this video Measure any DC voltage with Arduino
      th-cam.com/video/t8xwrVj2aFs/w-d-xo.html

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

      I have the same difficulty. I want to use it in an program but,i don't known how i can use you library.

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

    You indicate in your video and the allegro data sheet that this device can measure both AC and DC current. I have an application where the current to be measured is sometimes AC and sometimes DC. Do I need to specify which current I am measuring or does it matter.

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

      no you don't. your sensor does it for you. Just select the right sensor.

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

      @@robojax When you say just select the right sensor you are referring to the amperage correct?

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

    Hello I'm still having issues with my sensor getting a phase current waveform from my motor. Is it possible that the voltage is too high at 24v 15A?

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

      this can work with 2000V I believe. See the datasheet but it is very high.

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

      @@robojax I can't think of any reason why the sensor wouldn't notice the power change. It has a current reading and then when I turn the power on the sensor outputs seems as if nothing has happened.

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

      I think because I need PWM rejection for inline motor current sensing

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

    how to show the wattage in serial monitor too

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

      Please see this video th-cam.com/video/oufDb7AtvNk/w-d-xo.html

  • @rameshk.pandey6883
    @rameshk.pandey6883 8 หลายเดือนก่อน

    Can I use current transformer for 230 voltage

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

      Yes . Make sure to select the right sensor. Some of them are only for DC.

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

    great video, i wanted to make an under/over voltage DC load protection on my arduino where i use DC source as input. is it possible to do so. if yes, can you please help me with it.

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

      I have written library for Winsin sensors. Here is the protection video th-cam.com/video/vs7Nw107AOo/w-d-xo.html buy this is video requires you to watch the main Winson sensors video. You can apply the same method mention with this video to read any voltage using Arduino th-cam.com/video/t8xwrVj2aFs/w-d-xo.html

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

    Thank you for your video. can you help me to writing micro c code to use ACS712 30A with microcontroller

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

      Arduino is microcontroller, if you want it from other platforms, download library and see how it works and use it for your purpose

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

    Should I buy an R4 or R3? Will your libraries be compatible with R4? I'm interested in current sensing, for the moment.

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

      Current sensing is done by measuring voltage. So we use analog input. it does not mater if you use R3 or R4. I have not used the R4 and just purchased it. it seems better for other reasons.

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

    Hello thank you for this video. I'm using a WEMOS D1 ESP8266 board and my max Voltage measurement is 3.2, I want to measure around 5V input, what would you suggest I do? I tried to convert it with a factor but I'm not sure it is the correct way to do this. what would you suggest?

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

      Just set the voltage to 3.3v and it should work

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

      @@robojax Hello, I tried measuring 4V and the serial monitor shows 1024 corresponding to 3.2V which is the limit. Only lower voltages give correct values on serial monitor. Higher than 3.2 V it shows just 3.2 as it is the limit.
      How can I keep manipulate this so that it shows the correct values without changing my board.

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

    Thank you for the video Sir. I would like to ask how to connect the ACS712 if the input is from solar panel, because the input is in a power form, which have voltage and current. and also the arduino code for that, is it different? I'm waiting for your reply. Thank You

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

      This works for any pier source.

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

      @@robojax do I have to connect it with some load, to get the current to be read by the acs712? Or it will be fine without the load because the current is already exist? Thank You

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

      @@dorothyp9186 current should be zero or close to zero and constant if no load is connected. Ive made small solar datalogger with this exact sensor and it works perfectly

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

    Can I use ACS712 for monitoring motor DC 36V?

  • @mayanklanke859
    @mayanklanke859 4 หลายเดือนก่อน

    I want robojax library where is it I have searched the website you provided in description

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

      Yh link is in th description

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

      I have clearly stated in the description "Download library and code this video"

    • @mayanklanke859
      @mayanklanke859 4 หลายเดือนก่อน

      Gotcha man thanks a lot 😊😊

  • @permadi8397
    @permadi8397 5 หลายเดือนก่อน

    Can you show me with ESP32 please

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

    I have a question for you. I have made a 16 channel relay module and using16 switches (three wires using separate resistors) and was wondering if i could further use the 16 channel multiplexer to further reduce the wiring and still be able to toggle all the 16 channels independently? in your video you said only one relay at a time? BTW LOVE all you videos and have made so many projects because of them

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

      Hi Dave, Thank you for your nice and kind comment. Would you please post your question under the relevant video "16 channel multiplexer"? this way when I answer, other people will also learn. snipboard.io/Fq5oST.jpg

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

    thank you, how i can make read only maximum value my current sensor ?

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

      every time it read at that moments that is the maximum. if you want to just get the peak (maximum) and stop. for example if you expect to have 8.5A as max do this if(robojax.getCurrentAverage(300) >=8.5)
      {
      Serial.println("MAX 8.5 reached");
      while(1);
      }
      the while(1) will keep the code stopped at that line. I hope this helps. Thank you for not skipping the ads and keep watching them. This will help me a lot.

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

      thank you very much; sir, I want to measure the load current only >=15 and display on the LCD but it reads minimum and maximum value.
      thanks.

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

    Hi, thanks for the nice video and explanation. Can you also tell if the input is isolated from the output pins on the module. I mean would it be safe if I measure AC current and I connect this to the Arduino which will run on its own DC power.

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

      Yes, absolutely

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

      I know Im kind of off topic but do anyone know of a good site to stream new series online?

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

      @Asa Ryland flixportal :D

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

      @Marcellus Orlando Thanks, I signed up and it seems to work :D I appreciate it !

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

      @Asa Ryland no problem :D

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

    Thanks, Sir i have a question , I want to measure a bulb and show the watt but the problem is the result is not correct.
    Thanks.

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

      You are welcome. You either have the wrong module or selected the wrong module . If you follow the instruction and got the right wiring and module it should work. Watch the video again and look at your wiring.

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

    Hi Robojax! Im doing my final career project and Im building an EPS for a Cubesat. I have to use this type of current sensors with Arduino and MATLAB (college requirement) and I tried to measure 20mA current from Solar Array, but I couldnt read anything (because sensitivity I guess). Im using ACS712 30A with 66mV/A. Is is possible to use the 30A unit or the 5A unit for measurements of 20mA to 500mA? I guess this values are to low that the sensitivity doesnt variate the voltage enough to give measures.
    Thanks in advance! :)

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

      Hi,
      Even 5A range is too high for 30mA. Use 2% resistor to measure very accurately. I have another video showing how to measure the voltage. The current would be voltage value of the resistor. Just search my channel

  • @rameshk.pandey6883
    @rameshk.pandey6883 8 หลายเดือนก่อน

    Can I check for AC voltage 230 Voltage

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

      I have shown the word "AC" on the title, on the image and in the video. Yes you can please watch carefully. or watch again. I mentioned it.

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

    Will You also teach AVR along with Atmega328p?

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

      uno , mega , nano aboard s are AVR arduino.stackexchange.com/questions/1048/whats-the-difference-relationship-between-arduino-and-avr

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

    Hello,
    Is it normal for arduino to display values ​​in my Serial Monitor even if the sensor is not connected to the board?
    Current: 25.956A Avg: 25.919A
    Current: 25.882A Avg: 25.909A
    Current: 25.956A Avg: 25.910A
    I receive values ​​without the sensor being connected, and when I connect it it doesn't change anything.

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

      yes. when the Analog pin is not connected you will get some value .it should be connected.

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

    Can you connect it with a ads1115 and if they answer is yes are thé caculations then more correct and how do you do that ?

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

      I chececk ADS1115 and found it is gain amplifier. Why would you need gain amplifier? for Arduino you don't need anything else. But if you want to use it without arduino, then here my initial video on this module where I have explained the calculation and no library th-cam.com/video/DVp9k3xu9IQ/w-d-xo.html

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

      @@robojax thanks for thé intel

  • @DavidBen-i8s
    @DavidBen-i8s ปีที่แล้ว

    please sir can this work for esp 32

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

    Hello sir..my reading show hex number instead of decimal...did you know how to fix this?? Thank you in advance

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

      the provided library will output decimal. you must have changed something. here is the lesson on serial monitor th-cam.com/video/WyWRGoACWFs/w-d-xo.html

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

    Super

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

      shukran.

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

    What do I need to change to use it on ESP32

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

      if you watched the explanation, you should know by now that we are measuring voltage from the sensor which represents the current. Search my channel to learn how to measure the voltage using ESP32. Here is how to find Specific TH-cam Video in a channel bit.ly/findTH-camVideo

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

    Can I measure both voltage and current using this module?

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

      no. the title says current. so you to use other code and components to do that. but I have energy/power meter code. search my channel. here is the video th-cam.com/video/UK8Kvk8wFmw/w-d-xo.html

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

      @@robojax ohhhh okay thanks because I my project is to measure both voltage and current of the battery, charge by solar panel. I kinda having problems. But thanks for the insight. You really help does who comments. Subs!

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

      No problem, my other channel is focusing only on energy like battery solar and charger

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

    I have a question: What if I want to use more than one sensor?

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

      define another sensor object for another sensor. Watch again if you missed it when I explained the code and mentioned "object". good luck

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

      @@robojax Thank you for your answer. I missed it.

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

    i want to measure the current from the solar directly , so what i can do ? please help

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

      this is the example that you use. didn't understand why you didn't get it from this video? I showed power supply. your power supply is solar panel. to measure you need load. so your solar panel must be connected to a load to measure current. without load, there is no current.

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

      @@robojax can i contact you in personal to describe to you my problem?

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

      @@robojax what kind of load i need to use ? max amp that i will get from solar is 6A

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

      you made me watch my video and at 6:25 I've shown how to connect it. and if you don't know load, then you need to start from A, B, C of electricity.

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

      You didn't understand me well
      I create solar data logger with temperature, voltage, current and LDR sensor
      I used load which is one lamp 12v 55 watt and my solar max output 100 watt
      The current sensor didn't read well so this the problem

  • @jomfawad9255
    @jomfawad9255 8 หลายเดือนก่อน

    will this work on esp32?

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

      No

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

    Thank you for the tutorial. I still have a problem when I have zero input current but my 5A sensor read it around 1 A, how can I fix that? and how to convert from A into mA?

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

      if at 0A you get1A and test it if at 3A you are reading 4A, then subtract 1. I know there was issue and addressed it with another sensor and library that I wrote. th-cam.com/video/z-s8UvCWGxY/w-d-xo.html I might update this library, but am very busy now.

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

    I get the following error message in the serial monitor. I have set the correct Vin, model 0 and left the voltage at 5.04. Please advise. Thanks in advance for any help.
    Robojax Tutorial
    ACS770 Current Sensor
    Current: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC : 0x400d14db PS : 0x00060c30 A0 : 0x800d1564 A1 : 0x3ffb21d0
    A2 : 0x00000000 A3 : 0x0005b49a A4 : 0x00000000 A5 : 0x00000000
    A6 : 0x3ffb833c A7 : 0x00000000 A8 : 0x800d69df A9 : 0x3ffb2180
    A10 : 0x00000000 A11 : 0x00000b5b A12 : 0x3ffb21cc A13 : 0x00060023
    A14 : 0x00060020 A15 : 0x00000001 SAR : 0x0000001d EXCCAUSE: 0x0000001c
    EXCVADDR: 0x00000008 LBEG : 0x400862c1 LEND : 0x400862d1 LCOUNT : 0xfffffffd
    Backtrace: 0x400d14d8:0x3ffb21d0 0x400d1561:0x3ffb2200 0x400d154d:0x3ffb2220 0x400d1561:0x3ffb2250 0x400d146f:0x3ffb2270 0x400d30e5:0x3ffb2290

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

      This is not printed by the library I have written. Code has changed

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

      @@robojax Where can I download the correct code?

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

    after connecting load , my readings(amps) decreases instead of increasing. Using esp32

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

      This has not need tested to work with esp mcu

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

      This can't work correct with esp because it uses 3.3v and this works best on 5v. You need to connect it to 5v and use 5 to 3v logic level conventer to work with esp modules.

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

    Sir can you please share AC Current measurement Arduino code

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

      This is for AC and DC. It depends on the sensors . I have explained it . Please watch carefully.

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

      @@robojax thank you so much

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

    I bought one of these modules and it seems to me there is no way you should run high current through those traces on the pcb -- has anyone done it? It says good for 20 amps ! (no way?)

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

    please how to Measuring high voltage arduino

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

      Here th-cam.com/video/FaoKzi7tgME/w-d-xo.html you can measure any DC voltage .

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

    It's good you mentioned the bad design of the PCB....
    In addition to the problem with high current you mentioned, there appears to be terrible separation between the 5V measurement side and the potentially high voltage side.
    The chip boasts a 2.1kV isolation, but that PCB looks like it could easily fail well below that (possibly even at 240v mains once it gets a bit of dust on it).

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

      yes. My job was to educate and now it is up them.

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

    I'm surprised that you don't have any video about ESP 01

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

      I did not find it interesting and don't know why people are using it.

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

      Robojax It's chip !!! Also good for one or two relays.

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

      Robojax you have lot of video, so I'm surprised why not you showing us how to program ESP01

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

      Yes. I will look into it. I them in my lab. Will look into it. Thanks. Thank you for not skipping the ads and keep watching them. This will help me a lot.

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

      Robojax Thanks, your videos is reliable. So I want to follow you to make my WiFi controlled relay for my home.

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

    Hladám skúsenosti ohladne merania AC prúdu s ACS712. Ale tu nachádzam kadečo, (kdejaké odkazy) , napr učenie s arduino..... Proste nedá sa v tomto vyznať, hoci názov je jasný: "Meranie striedavého a jednosmerného prúdu 5A-30A pomocou ACS712" a nie nejaké učenie arduina. A hlavne , tu by stačil jeden riadok : odkaz na robojax

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

    ive tried your code but there seems to be an error. Im not even trying to upload it yet, just compiling the code and error came up. Im putting the error here. Hope you can help. Thanks in advance
    Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"
    In file included from C:\Users\mdhar\AppData\Local\Temp\arduino_modified_sketch_444235\Allegro_Current_reading-1.ino:93:0:
    D:\Smart Home Automation\Arduino\arduino-1.8.12\portable\sketchbook\libraries\Robojax-AllegroACS-Current-Sensor/Robojax_AllegroACS_Current_Sensor.h:71:2: error: #endif without #if
    #endif
    ^~~~~
    exit status 1
    Error compiling for board Arduino Uno.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

      Hi Danial, Thank you for letting me know. I just fixed the link with new library. Please try it and let me know if there is issue. Thank you for not skipping the ads and keep watching them. This will help me a lot.

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

      @@robojax thank you very much for your fast reply and your help. I've tested the codes and its working wonderfully. The readings are very stable even when its set to 30. One problem though, the starting value is too high, at no current, it shows around 150mA. Is there any way i can make this value go down a bit?

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

      just subtract the amount you want. like robojax.getCurrentAverage(300) -0.150

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

    The AC current should be measured in RMS, not in average. That's why the reading is less than the actual value. Assuming that the current is a sine wave, a simple fix is to multiply the average by 1.11

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

      You may be right, but the datasheet does not say anything about extra factor for AC or DC. I have implemented whatever was in datasheet. Thanks for the comment on the matter.

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

    Zero ===0.13 amper ?????

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

      السلام علیکم. سوال تانرا نفهمیدم

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

      @@robojax سلام .شما فارسی بلد هستین ؟
      چرا در حالت بدون استفاده ۰.۱۳ آمپر نمایش میده .
      البته بنده کتابخانه شما را چک کردم و کاملا دقیق هست .
      اما این مشکل را دارد

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

      عوامل مختلف باعث خطا در خواندن مقدار میشود. ۵٪ خطا در‌این کشاف (سنسور ) طبیعی است.
      من فازسی زبان از خراسان بزرگ‌هستم که مشتمل بر تاجیکستان،ازبکستان،افغانستان، نصف ترکمنستان و قسمتهای شرقی ایران امروزی است. سلامت باشبد

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

      @@robojax از هم زبانی و اشنایی با شما خوشبختم .برای برطرف کردن این مشکل راهی هست ؟؟

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

      بلی است. باید کشاف با دقت بالا بگیرید. و ساده ترین راه آن است که شما اگر 100ملی آمپر را مثلا میخواهید اندازه گیری کنید از کشاف مثلا 5 آمپر استفاده کنید نه از 20 آمپر. هر قدر مقدار حد اکثر کشاف بالا برود به همان اندازه خطای 2 تا 5% بزرگتر ظاهر میشود.

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

    You didn't explain absolutely anything about the wiring. Oh yeah, and your library is full of mistakes and doesn't work :) Good job buddy

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

      when you skip the video this is what happens. I have just watch it and wiring is explained wire by wire and even wire color is explained. Library has been tested and works according to the datasheet. Good luck agne.