Using Allegro ACS758 Current Sensor with Arduino for 50A to 200A

  Рет қаралды 64,918

Robojax

Robojax

Күн бұрын

Пікірлер: 176
@subhobroto
@subhobroto 4 жыл бұрын
@Robojax: is the second output a unit gain buffer? On a scope or meter do both output the same value? The ADC are usually high impedance and should not load the sensor. The risk of the buffer output is additional noise, drift and offset
@robojax
@robojax 4 жыл бұрын
which output are you referring to you? The chip has only one output which we read.
@subhobroto
@subhobroto 4 жыл бұрын
@@robojax output of the module. It seems it has one output direct from the 758 while the other one goes through the opamp? Thank you for the fast response
@robojax
@robojax 4 жыл бұрын
if you see here on page 2, there is only ONE output robojax.com/download/datasheet/robojax_ACS758_current_sensor_datasheet.pdf
@QuiddelQuaddel
@QuiddelQuaddel 4 жыл бұрын
Hi there. OU1 is connected to the VOUT of the Allegro via 120 Ohm series resistor -> unbuffered output that should also work for 3V3 to connect to high impedance ADC inputs. It also has a small bypass to GND. OU2 is connected to the output of op-amp 1. Op-amp 1 is in „voltage follower“ configuration -> it will buffer VOUT to allow for low impedance measurement inputs. That is actually useful in high noise environments, because having current on the measurement wire will make it less susceptible to EM noise. The op-amp can drive up to 50mA, but it requires a supply of >=4.4V. Op-amp 2 in the same package is unused. The op-amps are TI 2272 low noise types.
@QuiddelQuaddel
@QuiddelQuaddel 4 жыл бұрын
@Robojax If you stick to the 5V voltage reference of the Arduino, it is probably better not to hard code 5V into your code. If e.g. your 5V rail is 4.8V (e.g. due to USB supply) you already have an error of 4%. Since this device features a linearity of < 1.25%, it is more robust to just say 1023 equals +100A and 0 equals -100A (that probably neglects offsets, just as an example).
@bobsort
@bobsort 4 жыл бұрын
9:04 Hall effect sensor doesn't have positive or negative, it can measure from both side, thus you can connect it in anyway you like between any of the wires, either high side or low side in any direction, depending on the way you have connected you will have reducing or increasing voltage on current in output
@robojax
@robojax 4 жыл бұрын
this module can't measure from both side. only the modules with letter B can do it. Of course hall effect can work both way. but the chip will not work if it is not made for bidirectional. see datasheet.
@MyBluetti
@MyBluetti 8 ай бұрын
Thank you for this great video. One thing I don't see from your video or from the data-sheet is the min-max voltage range on the IP+ pin. I'm looking to connect this to solar, which in my case can go up to 150v DC, max 15amps. Do you know if the ACS758 will work with this?
@pablofpv
@pablofpv 2 жыл бұрын
I'm a bit late to the party, but awesome video and great explanation thank you. I’m building an RC motor thrust stand, I have the Arduino outputting the PWM and thrust (weight in grams) working. I just need to combine a way of measuring up to 35V DC and 40A, I can use your video and code to combine with mine. This is the good side of KZbin; people can share their skills and knowledge. 😊
@robojax
@robojax 2 жыл бұрын
Hi, here is voltage and current used energy meter kzbin.info/www/bejne/pabJdZVtdtmphM0 or may be this one kzbin.info/www/bejne/Y6HKaJ2YoMZ1bKM by the way here the ACS sensors with library which makes the code very clean kzbin.info/www/bejne/qXOZdoiCic6raM0
@pablofpv
@pablofpv 2 жыл бұрын
@@robojax Thanks so much! 😃
@GEORGE-jf2vz
@GEORGE-jf2vz 4 жыл бұрын
Thank you for making these videos. I enjoy watching them.
@robojax
@robojax 4 жыл бұрын
Glad you like them!
@jeriellopez4927
@jeriellopez4927 4 жыл бұрын
Does this work with AC? Is there no maximum voltage for the load? I could not find it in the datasheet or in this entire video.
@robojax
@robojax 4 жыл бұрын
Hello, yes I missed to motion that. It works and I have shown the datasheet on this page robojax.com/learn/arduino/?vid=robojax-allegro_ACS758 where you get the code
@Kageitenshi
@Kageitenshi 5 жыл бұрын
Thanks, nice explanation. Needed something with greater current capacity for RC battery use than the 10/20/30A that were usually available. I was also surprised by the small connectors, but the pads underneath seem pretty big, so I think I'll remove the resist layer from the pads with a glass fiber brush to get a bigger contact area once I receive my order.
@robojax
@robojax 5 жыл бұрын
You are welcome. I am glad you found it useful. Yes modify it and make good connection and it should work.
@adamelkoumy5141
@adamelkoumy5141 6 жыл бұрын
Thank you Jack for answering my request and making this video :)
@robojax
@robojax 6 жыл бұрын
You are welcome.
@BagasTand
@BagasTand 3 жыл бұрын
Nice video, I've try this sensor U-type for 50A for current sensing of DC Load that I used in a DC to AC inverter, so when the battery and inverter connected and sensed by this sensor, in serial monitor of Arduino the displayed current is unstable. I assumed the inverter used a MOSFET so the ON OFF current consumption make it unstable. Please help to solve about this case, to make stable reading on Serial monitor. thank you
@gyroplane
@gyroplane 2 жыл бұрын
the asc758 200 amp bidirectional outputs 1mV per amp, so at 200amp I will get 2 volts out of the 5V supply voltage reference, in order not to loose precision it would be better to use a 2.5 volt exernal reference I think , it could better the accuracy ..iMHO
@lalithkumar2474
@lalithkumar2474 5 ай бұрын
Hi, Can i use this in a 70V battery line. I read the datasheet but wasnt able to get the input voltage range.
@robojax
@robojax 4 ай бұрын
Hi, there is virtually no limit. Works with all standard voltages.
@DerKrawallkeks
@DerKrawallkeks 4 жыл бұрын
Hello, Thanks, I am having trouble with the ACS 100A bidirectional. I can measure 0,55V on the Current sensing pin, even tho it should be 2,5V with no amps flowing. I have bought several boards now, but also a sensor without a board, and they all have this issue. I am almost certain I'm doing something wrong, but I did it just like in your video. The output voltage is in some way proportional to the current, so the sensor kind of works, but it's not the right gain and offset. I connected 5V, GND and sensing pin. Is it neccessary to switch to DC maybe? Thanks!:)
@robojax
@robojax 4 жыл бұрын
You are welcome. This has two version The one with "B" in the name means bidirectional and that is for AC and DC. Check your chip. But you said the voltage is right, this is strange. I have explained it in the video. Try not to modify the code and do it again.
@DerKrawallkeks
@DerKrawallkeks 4 жыл бұрын
@@robojax thanks:) i know the B is bidirectional and can measure positive and negative current, around 2,5V voltage. But all my 3 chips I have give me 0,55V... I was sure I am doing something systematically wrong, but it's all correct...
@robojax
@robojax 4 жыл бұрын
Either you have selected wrong chip in the code, so check it again or code is modified. Please check the chip and see if it is totally different chip which is not defined in the code.
@antonistravlantonis7581
@antonistravlantonis7581 6 жыл бұрын
Excellent work, nice video. professional level. Thank You !!!
@robojax
@robojax 6 жыл бұрын
You are welcome.
@shehriyarbinak3776
@shehriyarbinak3776 4 жыл бұрын
how you are selecting quiescent output voltage for unidirectional and bidirectional it is mentioned in the datasheet?
@robojax
@robojax 4 жыл бұрын
Of course I have considered it. Perhaps you have not watched the video.
@pkp8559
@pkp8559 5 ай бұрын
hi bro. 200 amps continues load capable? . leads looks so small.what is the resistance of the current leads.
@robojax
@robojax 5 ай бұрын
Here Using Winson WCS Current Sensors with LCD and Arduino kzbin.info/www/bejne/Y6HKaJ2YoMZ1bKM
@felangga
@felangga 5 жыл бұрын
Can I measure AC Line with 220v using this module ?
@robojax
@robojax 5 жыл бұрын
I forgot to mention this in video but if you visit the page where I have provided the code, you will see and I have mentioned it.
@cinibar
@cinibar 4 жыл бұрын
Excellent video THANKS! I have a question, can the proper current type be used to measure the charge voltage from an alternator to the battery in a vehicle? I'm thinking 100 amp since my alternator is 100 amp. I understand the problem with the high power connections and can over come that easily. I've tried a shunt type system and that did not work, even though it did fine on the test bench. This method looks much better. Thanks again!
@robojax
@robojax 4 жыл бұрын
You are welcome. Yes it can be used. I have written library for this so it can be used easily. Good luck with your project. Here is the video and Library kzbin.info/www/bejne/jmqukmClop58eK8
@kirtikumari8959
@kirtikumari8959 Жыл бұрын
urgent help why this code shows random current values under load can you please help me out with this issue
@robojax
@robojax Жыл бұрын
Pelase weatch this video which I used a library I 've written kzbin.info/www/bejne/qXOZdoiCic6raM0
@PirateWasHere
@PirateWasHere 4 ай бұрын
thank you for awesome deep explanation
@gtag174
@gtag174 6 жыл бұрын
Excellent job. Can we use the same Variables and constants for Other sensors like the Tamura ?
@robojax
@robojax 6 жыл бұрын
No. They are different. I would have to have one to write code for it.
@gtag174
@gtag174 6 жыл бұрын
Robojax thanks for clarifying. I don’t see a sensitive data in the sensor L06P800S05
@zytriesthings4540
@zytriesthings4540 5 жыл бұрын
Hello. Does the ACS758 measure both the voltage and current? or does it only measure the current?
@robojax
@robojax 5 жыл бұрын
Hello, Only current. Because voltage is easy to measure, they have not included it.
@vap_blackfox7652
@vap_blackfox7652 6 жыл бұрын
Great Video. So what is your recommendation on the connection to the sensor if you want to measure up to 50A DC? I want to monitor the current of a solar system. Therefore I need a reliable connection of the sensor to the cable. Thanks for the help. LW
@robojax
@robojax 6 жыл бұрын
In order to reduce the voltage drop and power loss on the wire, try to use thicker wire . Please see this page where it show AWG 10 is suitable for 55A www.powerstream.com/Wire_Size.htm. Solder it directly on the pin of the sensor.
@asherhaque9981
@asherhaque9981 3 жыл бұрын
Can this be used as a non invasive sensor using a clamp?
@robojax
@robojax 3 жыл бұрын
it can only be used the way explained and wired.
@sjdtmv
@sjdtmv 5 жыл бұрын
How do you add to the code and pins on the UNO if you want to run 4 of these ACS758 100a bi-directional current sensors
@robojax
@robojax 5 жыл бұрын
Hi, Here is solution. I assume you have got 4 exact module. for 1 module you have the following variables: VIN voltage_raw voltage current Everywhere you see these variables, change them to for 1 module you have the following variables: VIN1 voltage_raw1 voltage 1 current 1 Then every where these are used, make copy of them in the code for example the line that was initialy #define VIN A0 make should look #define VIN1 A0 now duplicate them for 2nd sensor like #define VIN2 A1 and (for example) the original line float voltage_raw = (5.0 / 1023.0)* analogRead(VIN); which you changed to float voltage_raw1 = (5.0 / 1023.0)* analogRead(VIN1); now make copy of it as float voltage_raw2 = (5.0 / 1023.0)* analogRead(VIN2); and do this for all 4 sensors. good luck.
@sjdtmv
@sjdtmv 5 жыл бұрын
@@robojax , I have changed everything so that 4 sensors are now listed and changed VIN, Voltage_raw, voltage, current, one each for each sensor, but have an error now of Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\Owner\OEM\Software\Libraries\sketch_aug04a\sketch_aug04a.ino: In function 'void loop()': sketch_aug04a:82:11: error: expected ';' before numeric constant voltage 1 = voltage_raw1 - QOV + 0. 007 ;// 0.007 is a value to make voltage zero when there is no current ^ sketch_aug04a:83:13: error: expected ';' before numeric constant voltage 2 = voltage_raw2 - QOV + 0. 007 ;// 0.007 is a value to make voltage zero when there is no current ^ sketch_aug04a:84:15: error: expected ';' before numeric constant voltage 3 = voltage_raw3 - QOV + 0. 007 ;// 0.007 is a value to make voltage zero when there is no current ^ sketch_aug04a:85:17: error: expected ';' before numeric constant voltage 4 = voltage_raw4 - QOV + 0. 007 ;// 0.007 is a value to make voltage zero when there is no current ^ sketch_aug04a:86:17: error: expected initializer before numeric constant float current 1 = voltage 1 / FACTOR; ^ sketch_aug04a:87:17: error: expected initializer before numeric constant float current 2 = voltage 2 / FACTOR; ^ sketch_aug04a:88:17: error: expected initializer before numeric constant float current 3 = voltage 3 / FACTOR; ^ sketch_aug04a:89:17: error: expected initializer before numeric constant float current 4 = voltage 4 / FACTOR; ^ sketch_aug04a:94:18: error: 'current' was not declared in this scope Serial.print(current,2); // print the current with 2 decimal places ^ exit status 1 expected ';' before numeric constant This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
@robojax
@robojax 5 жыл бұрын
You can not have a variable as "voltage 2" In arduino variables have no space and can't start with numbers. I am sorry I did not type or KZbin remove it. make them voltage2, current2 etc. no space. I have made the code for you in the same page at the bottom: bit.ly/rjx-757
@sjdtmv
@sjdtmv 5 жыл бұрын
@@robojax, thanks for the code, i couldn't have done it myself as i am a bit unwise on coding , I have deleted "if(abs(voltage) > cutOff )" and also "else{ Serial.println("No Current"); } " Also added a missing " ; " at float voltage3// internal variable for voltage3 I have been able to calibrate each sensor by adding or subtracting at voltage1 = voltage_raw1 - QOV + 0.022 ;// 0.007 is a value to make voltage zero when there is no current voltage2 = voltage_raw2 - QOV + 0.012 ;// 0.007 is a value to make voltage zero when there is no current voltage3 = voltage_raw3 - QOV - 0.012 ;// 0.007 is a value to make voltage zero when there is no current voltage4 = voltage_raw4 - QOV + 0.007 ;// 0.007 is a value to make voltage zero when there is no current So far it is going well on bencktop test, i hope later to add a LCD readout and try and data log the data, but work is awaiting me this week. I have created a link of my changes if you want to look over it? www.dropbox.com/s/2wugj0ffdlfiw7o/4SensorsUtube.ino?dl=0
@ilmkreis6993
@ilmkreis6993 5 жыл бұрын
cheers for this video... i got a question? i want to measure amps from solar into my 24v batts with a ads1015- may you know this board can i power/run the arduino with a buck converter from the same batts where i measure too... or does it blow up, and i need an extra power supply... thanx so far, would be nice to hear from you cheers, from the green heart of germany
@robojax
@robojax 5 жыл бұрын
Yes you can power Arduino from the same source if you bring the voltage to 15V or lower and connect to the power connector. cheers from Canada, Ahmad. Thanks
@logicielslri1729
@logicielslri1729 4 жыл бұрын
Thanks for this video! I have use it with accurate result on an arduino uno, but when i use the same code on my "arduino uno wifi rev 2" it always said "no current"... Is there something i have to change in the code to make it work on the "uno wifi rev 2"?
@robojax
@robojax 4 жыл бұрын
you are welcome. test the Analog pin shown in this video kzbin.info/www/bejne/ipOvlXSHpapnoKc after the issue is resolved, use this latest code and library I've written that makes the code more clean kzbin.info/www/bejne/qXOZdoiCic6raM0
@bashiralao9172
@bashiralao9172 2 жыл бұрын
Hi robojax. I bought this sensor ACS758KCB-150B to sense AC current but the sensor only senses DC current and not AC. When a 200W AC load passes through the sensor, the Vout of the sensor still remains as 2.5V Pls help with suggestions
@robojax
@robojax 2 жыл бұрын
Hi, please try this updated code with library shown in this video kzbin.info/www/bejne/aXSWZHemmLiqf9k
@bashiralao9172
@bashiralao9172 2 жыл бұрын
@@robojax it's not about the code or Library. It's the sensor itself, it the 2.5V offset never increases no matter how Amps of AC current passes through it, and I powered it with 5V
@robojax
@robojax 2 жыл бұрын
measure the supply voltage and see if it is 5V.
@bashiralao9172
@bashiralao9172 2 жыл бұрын
@@robojax yes it's 5.1V
@bashiralao9172
@bashiralao9172 2 жыл бұрын
@@robojax and the offset is 2.557V, but it remains that way no matter how much AC current passes through it
@bashiralao9172
@bashiralao9172 2 жыл бұрын
If vcc must be 5v, does that mean I can't use ESP32 for this project? Esp32 is 3.3v and 12bits adc
@robojax
@robojax 2 жыл бұрын
First eso32 has 5v. Even if it doesn’t, you can supply external 5v to the module so it operates.
@bashiralao9172
@bashiralao9172 2 жыл бұрын
@@robojax yes I know esp32 has 5v, but it ADC channels can only measure upto 3 3v.
@faizurrahman2399
@faizurrahman2399 4 жыл бұрын
Thank you for your contribution. But I think 1st you should measure the lower ending Current like 0.2A, then we can understand how much precision it is.
@robojax
@robojax 4 жыл бұрын
you are welcome. First if you are measuring 0.2A, then use 1A or 5A version. this module is not suitable for less than 10A. I have explained the error and datasheet. By the way you are you watching very old video and have written library for Allegro current sensor. use the library in this video kzbin.info/www/bejne/qXOZdoiCic6raM0
@yd1cuj
@yd1cuj 6 жыл бұрын
Have you measure 50A or above with ACS758-x50B or x100B? Do you get overheat problem on sensor IC on that current?
@robojax
@robojax 6 жыл бұрын
Yes I have shown it with 60A. No problem at all. It doesn't have voltage drop to create heat. that is the beauty of this.
@yd1cuj
@yd1cuj 6 жыл бұрын
@@robojax 60A? Did you use x100B or x50B? CMIIW, x50B's max rating is 50A...and for 60A you have to use x100B with max rating 100A...
@robojax
@robojax 6 жыл бұрын
I have shown that in the video. I don't remember now the exact model. When I explained different models I mentioned which I one was used in this video.
@yd1cuj
@yd1cuj 6 жыл бұрын
@@robojax i guess it was x100B, kzbin.info/www/bejne/iZqrl52wmNahi5Y
@lLisanderl
@lLisanderl Жыл бұрын
Hello! Can I use VOUT with 3.3 v logic like stm32 ?
@robojax
@robojax Жыл бұрын
Hello, it seems you either missed the part that I explained or skipped the video. you can use it I belive with 3.3V. Here is the the better video where you can use the library to have clean and simple code kzbin.info/www/bejne/qXOZdoiCic6raM0 or just watch the current video. you can set you sensor voltage to 3.3V.
@mesquitamk1681
@mesquitamk1681 4 жыл бұрын
Cool very good your work would you have a video similar to my project? I have a screwdriver project where I use Arduino mini or attiny85. and SSD1306 mini LED display. with ACS758 50-or-200A module. of amperage. with an H Bridge and 4 touch button 2 to increase and decrease the amperage that the engine will be turned off. and 2 button to turn the motor to the left and to the right so the screwdriver will not blow the screw .... which I will tighten, be it small or large ... for arduino I only know how to write the code. thanks in advance
@robojax
@robojax 4 жыл бұрын
Hi, your projects involves so manything LED display, touch, motor, H-bridge, current sensing and pubhs buttons. I have them all but separate. you would have to put them together. Search it by clicking on Robojax under the this video and then click on "Videos" or go directly here kzbin.infovideos
@ahmadhamizan2160
@ahmadhamizan2160 4 жыл бұрын
hi robojax, i have followed your instruction and set it up according to my sensor settings which is for 50B and i got negative current output after adding ESP8266, a Relay and a Microwave sensor to my project, i am not sure why, can you help me? it was a nice video tho
@robojax
@robojax 4 жыл бұрын
hi, it will not work with ESP8266. yo have to understand the Analog input of the module.
@pravinraj3987
@pravinraj3987 5 жыл бұрын
Hello, thank you for the wonderful video. It was very helpful. I have a question. what is the op-amp circuit diagram of the current sensor used ?
@robojax
@robojax 5 жыл бұрын
you are welcome. I don't have the diagram. I believe you can draw it easily.
@bjornroesbeke
@bjornroesbeke 4 жыл бұрын
The opamp is used as a voltage follower. "OU1" is a direct connection to the analog output of the sensor, which is only able to source 3mA or sink 1mA. "OU2" is buffered through the opamp, a TLC2272C which is able to source or sink an absolute maximum of 50mA. Even though an arduino has a high input impedance, i'd recommend to use the "OU2" solder pad.
@christinemendis6710
@christinemendis6710 2 жыл бұрын
Thanks for your details. very useful program.
@robojax
@robojax 2 жыл бұрын
You might like the Winson current sensors kzbin.info/www/bejne/sF7WaYiseLx6rrs
@davidgalaviz3301
@davidgalaviz3301 Жыл бұрын
Is it ok for me to change the value of 0.007 to 0.27?
@robojax
@robojax Жыл бұрын
Here the eight better video Measuring 50A to 200A using Allegro ACS770 Current Sensor with Robojax Arduino Library kzbin.info/www/bejne/qXOZdoiCic6raM0
@onehandedclapping
@onehandedclapping 6 жыл бұрын
Excuse me, can you please tell me where to buy this ACS758 100B Module? Thanks
@robojax
@robojax 6 жыл бұрын
You can get it from Amazon or eBAy www.ebay.ca/sch/i.html?_&_nkw=ACS758
@onehandedclapping
@onehandedclapping 6 жыл бұрын
@@robojax thanks man.
@JohanDegraeveAanscharius
@JohanDegraeveAanscharius 5 жыл бұрын
As you say: for 100 Amps, the mounting system should be VEEEERY different. It will melt in no time. Did you find an alternative
@robojax
@robojax 5 жыл бұрын
The sensor is prefect. it is the item sold as module with PCB that has issue. You can solder your own wire directly to the sensor pins and it should be fine.
@didit6952
@didit6952 3 жыл бұрын
how about using stm32 bluepill program?
@robojax
@robojax 3 жыл бұрын
not comment. I haven't written code for that. but if you listen to my explanation, I have left nothing without explaining. you should be able to write your code for stm32.
@harroldjamillarosahuaman3609
@harroldjamillarosahuaman3609 4 жыл бұрын
of what value is the resistor in minute 17.11 thanks
@robojax
@robojax 4 жыл бұрын
I watch the video at 17:11 and watched 3 times but could not read the resistor. it was not important that's why I did not mention it. We just needed to see the result form this sensor and compare it with meter.
@anukeshambatkar6255
@anukeshambatkar6255 4 жыл бұрын
Sir can you please make a tutorial on WCS 1500 current sensor
@robojax
@robojax 4 жыл бұрын
it is very expensive and I don't know why people like it. if someone sends it to me, I will make video.
@anukeshambatkar6255
@anukeshambatkar6255 4 жыл бұрын
@@robojax ok sir Sir we can measure large current without cutting wire using wcs1500
@anythingunderthesun9930
@anythingunderthesun9930 5 жыл бұрын
Which is more accurate ACS712 or ACS758?
@robojax
@robojax 5 жыл бұрын
ACS758 is very accurate.
@anythingunderthesun9930
@anythingunderthesun9930 5 жыл бұрын
@@robojax Thanks. Can ACS758 measure small current via Arduino Uno in the range of 1mA to 1000mA value both in AC and DC current? Can you please suggest a part number of ACS758 that can measure small current accurately? THANKS!
@subhobroto
@subhobroto 4 жыл бұрын
@@anythingunderthesun9930 the nojse is 10mv/A but the error is 2 precent of full scale, so 1A for the smallest 50A version. As a result you'll get more accurate readings as the current increases
@juanarysantana
@juanarysantana 3 жыл бұрын
Can you use this sensor with ESP32?
@robojax
@robojax 3 жыл бұрын
I have explained it fully as how it works so if you learn how it works you should be snake to do it. Check for latest video where I’ve written library to make is better
@sjukdom77
@sjukdom77 5 жыл бұрын
Excellent video, could you tell me what the pin diameter is?
@robojax
@robojax 5 жыл бұрын
I have provided the link to the datasheet. Here once again, it is in the last pages robojax.com/download/datasheet/robojax_ACS758_current_sensor_datasheet.pdf
@sjukdom77
@sjukdom77 5 жыл бұрын
i mean the holes on pcb for fitting wires,datasheet is about Acs758 only.
@monitorcamera1697
@monitorcamera1697 4 жыл бұрын
Can it measure small current in milli amp ac source?
@robojax
@robojax 4 жыл бұрын
If you see here in the datasheet on page 10 for example it show 2% error. robojax.com/download/datasheet/robojax_ACS758_current_sensor_datasheet.pdf and also it has drift of 200mA magnetic offset error. if you want to measure millampere use a sensor that measure to maximum of 5A. like ACS712 kzbin.info/www/bejne/aXSWZHemmLiqf9k
@noorfaezah6318
@noorfaezah6318 5 жыл бұрын
What type of load we need to use if the battery is 9v?
@robojax
@robojax 5 жыл бұрын
Battery voltage does not matter. it is the current (Ampere) that limits the measurement. It can measure up to 200A depending on your sensor.
@guywhoknows
@guywhoknows 2 жыл бұрын
The PCB holes are to the side of pads, it's easy to sand off the paint and the pads are fairly decent. I think maybe these are higher voltage sensor for main power as they are rated to 1.2kv thus a thinner wire be typical with main power, but still too small for decent mounts. 50a PCB screw mounts would fit if that is your limit. Is the ou1 for 5v and ou2 for 3.3?
@faidularcs
@faidularcs 5 жыл бұрын
Thank you very much For very helpful explaining
@robojax
@robojax 5 жыл бұрын
You are welcome. فیض الاسلام شیخ سلام احمد
@gazzmatazz4867
@gazzmatazz4867 5 жыл бұрын
very good tells me a lot i want to build a power supply for ham radio and like to put this on some of the pass transistors
@robojax
@robojax 5 жыл бұрын
Good to hear that.
@zikermu
@zikermu 4 жыл бұрын
Thanks a lot for this interesting video .
@robojax
@robojax 4 жыл бұрын
My pleasure
@kakopappa
@kakopappa 6 жыл бұрын
Is it possible to measure AC currant ?
@robojax
@robojax 6 жыл бұрын
This has been explained in the page you can download the code. Yes.
@mokshpatel6986
@mokshpatel6986 4 жыл бұрын
Sir can you add display in feature voltage , current and also mah value Thank you 🙂
@robojax
@robojax 4 жыл бұрын
I have video with display. search for the same sensor .
@mokshpatel6986
@mokshpatel6986 4 жыл бұрын
@@robojax yes I was see that but now can you add mah value , so find out how much used battery , thank you
@robojax
@robojax 4 жыл бұрын
I have written new library for ACS current sensor . Use the library from this latest video kzbin.info/www/bejne/jmqukmClop58eK8 and I will update library to calculate energy
@RicardoPenders
@RicardoPenders 3 жыл бұрын
Thank you so much for making this video and providing the code and library for this sensor, this will save me a ton of time and I didn't even know about all the extra calculations necessary to do accurate measurements so again thanks for adding all that to the code. I'll use your code as part of my program and do some testing and if I get it to work properly I'll give you a donation for saving me a ton of time which I appreciate very much. Ow, by the way I wanted to get the library and used the link you provide in the description and it says that the video is not available so I would appreciate a link to the library so I can download that too, thanks.
@robojax
@robojax 3 жыл бұрын
Hello, the code and library okay excep I removed the video. I will remove this video too . Here is the latest video used with library kzbin.info/www/bejne/qXOZdoiCic6raM0
@harroldjamillarosahuaman3609
@harroldjamillarosahuaman3609 4 жыл бұрын
how much is the resistance you put friend please
@robojax
@robojax 4 жыл бұрын
sorry which resistor? please say the time like 2:30 so I can I watch it. Thanks
@3dmixer552
@3dmixer552 6 жыл бұрын
can this measure 12v car battery as well?
@robojax
@robojax 6 жыл бұрын
Yes you can. But you have to use the 150A or 200A module. Also you should have very strong cable the same that is in car battery.
@3dmixer552
@3dmixer552 6 жыл бұрын
This is exactly why I'm asking because those connectors on that IC seem too thin. Even the 200A one is very thin compared to a 200A wire. I'm a little bit sceptical. Thanks
@N00General
@N00General 4 жыл бұрын
Thanks for the video bro
@justineaaron333
@justineaaron333 5 жыл бұрын
How to control relay state using this?
@robojax
@robojax 5 жыл бұрын
you would do something if (current >2.5){digitwlWrite (8, HIGH). 2.5 is the current you want to control pin 8 that is connected to relay. If your relay module is low triggered, then use LOW instead of HIGH. I assumed "current" is the variable holding the current value. Watch the video to see which variable has the value of current.
@saltland23
@saltland23 4 жыл бұрын
Excellent video. Thanks
@robojax
@robojax 4 жыл бұрын
You are welcome. Please watch the latest video with library. Get the library here kzbin.info/www/bejne/qXOZdoiCic6raM0
@jpcme2002
@jpcme2002 5 жыл бұрын
Hi for AC measuring the advance codes don´t work propely :( with the basic code I get values pretty close ) using the Output Voltage 1 because using the OV2 the readings are crazy even without any consuption. in the serie monitor I get always two readings... one positive and other negative what makes sense because I reading AC current, check readings : ibb.co/n8JjsWF
@robojax
@robojax 5 жыл бұрын
Hi, You can increase the delay time in loop so it read much slower. Or change the cufOFFLimit float cutOffLimit = 1.00;// so ignore the values you don't need. But the best option would be to get the average of reading of let's say 10 reading or 100 reading and average it. there are tones of loop code the average the reading available. You can can find it for Temperature and other parameters.
@jpcme2002
@jpcme2002 5 жыл бұрын
Robojax thanks, I will do it ;)
@robojax
@robojax 5 жыл бұрын
You are welcome.
@abdallahhegazy2526
@abdallahhegazy2526 Жыл бұрын
Not working with me it shows 62A at no load
@robojax
@robojax Жыл бұрын
please watch updated video with library I have written kzbin.info/www/bejne/qXOZdoiCic6raM0
@omoivo6525
@omoivo6525 6 жыл бұрын
I get no current! What is wrong? Model is same.
@robojax
@robojax 6 жыл бұрын
first use the simple code. Make sure you supply the voltage. Print the voltage , not the current. You should get something. let me know so I help you.
@omoivo6525
@omoivo6525 6 жыл бұрын
Robojax I got 0.005v
@aisuruharuki
@aisuruharuki 11 ай бұрын
ACS758LCB-050B-PFF-T can measure such a mini current like a led bulb current.
@robojax
@robojax 11 ай бұрын
No. The led bulb current is much lower than the minimum amount. It is less than 0.5A.
@kaleurodrigues8535
@kaleurodrigues8535 6 жыл бұрын
hello help please is Ac or DC input
@robojax
@robojax 6 жыл бұрын
Thank you for pointing this important fact which I have not mentioned. It works with AC and DC and I have updated the page (where the code is) on Robojax.com to display that.
@renatofandino1000
@renatofandino1000 3 жыл бұрын
Excelent. Thank you!!
@robojax
@robojax 3 жыл бұрын
You are welcome. Please subscribe. I appreciate it and helps my channel grow. Thank you
@renatofandino1000
@renatofandino1000 3 жыл бұрын
@@robojax ok!👏🏻👏🏻✌🏻
@engineerfrankkofiagbota
@engineerfrankkofiagbota 2 жыл бұрын
Good job.
@robojax
@robojax 2 жыл бұрын
and here is the version with library which is very clean and better kzbin.info/www/bejne/qXOZdoiCic6raM0
@alyssontiagovieirapaula5135
@alyssontiagovieirapaula5135 2 жыл бұрын
Excelente aula
@Jxxfdasilva
@Jxxfdasilva 6 жыл бұрын
Can I use to measure 230VAC current?
@robojax
@robojax 6 жыл бұрын
Yes, follow the link to page where I have provided datasheet and other resources. It can measure AC or DC current.
@spwim
@spwim 4 жыл бұрын
Thank you for finally pointing out the idiotic design regarding the hight currents and the way connections are made!
@robojax
@robojax 4 жыл бұрын
you are welcome. Yes many people have no idea of the high current concept. they think any wire can pass any current. By the way I have written library for Alegro sensors. you can see it here kzbin.info/www/bejne/qXOZdoiCic6raM0
@anonhollmuller4032
@anonhollmuller4032 Жыл бұрын
thx ++! best regards:)
@heemagauss8691
@heemagauss8691 2 жыл бұрын
downloaded
@omoivo6525
@omoivo6525 6 жыл бұрын
Robojax I got 0.005v
@robojax
@robojax 6 жыл бұрын
what what current measurement you are getting 0.005? if at zero. Then it is about right. Check the main voltage to the VCC pin using a multimeter. snag.gy/AHhRpV.jpg
@MaazQaiser
@MaazQaiser 5 жыл бұрын
Very nice video JazakAllah kaseeran. Please check your LinkdeIn profile. I send you one query there. Thanks
@robojax
@robojax 5 жыл бұрын
Shukara,. I have replied.
@MaazQaiser
@MaazQaiser 5 жыл бұрын
@@robojax I ask another question there please check there again. Thanks
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
How to use Allegro ACS712 AC/DC Current Sensor with Arduino
16:47
DEC #04 High precision current measurement - ACS758 and Arduino with ADS1115 16-bit ADC
20:25
Digital Electronics Circuits Lab
Рет қаралды 16 М.
Arduino based current meter with i2c LCD screen
12:50
Electronoobs
Рет қаралды 114 М.
I2C Part 1 - Using 2 Arduinos
25:51
DroneBot Workshop
Рет қаралды 425 М.
How to protect circuits from reversed voltage polarity!
6:46
Afrotechmods
Рет қаралды 2,2 МЛН
Using the ACS712 Hall Effect Current Sensor Module (part 1)
6:45
Julian Ilett
Рет қаралды 354 М.
ACS712 Current Sensor with Arduino - Measure AC and DC up to 30 amps
14:05
Measuring AC Current with Arduino
19:29
misperry
Рет қаралды 78 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН