Using the ACS712 Hall Effect Current Sensor Module (part 1)

  Рет қаралды 353,282

Julian Ilett

11 жыл бұрын

Using the ACS712 current sensor to measure current in a circuit. Benefits are that it can measure current in the high side of the circuit, adds just 1.2 milliohms to the cuicuit to be measured and includes all the amplification electronics on chip.
float amps = 0;
float maxAmps = 0;
float minAmps = 0;
float lastAmps = 0;
float noise = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
amps = (516 - analogRead(A0)) * 27.03 / 1023;
amps = (amps + lastAmps) / 2;
lastAmps = amps;
maxAmps = max(maxAmps, amps);
minAmps = min(minAmps, amps);
noise = maxAmps - minAmps;
Serial.print(amps);
Serial.print(" ");
Serial.println(noise);
if (Serial.read() != -1) {maxAmps = amps; minAmps = amps;}
delay(100);
}

Пікірлер: 143
@kipcrossing
@kipcrossing 4 жыл бұрын
I'm glad that I know this product exists! Thanks from 7 years later.
@petrovski1948
@petrovski1948 11 жыл бұрын
What a fantastic series of videos! Just ordered my Arduino UNO kit on the strength of your work. I am presently working on small solar projects and came across your videos. Keep it up.
@migry
@migry 9 жыл бұрын
I have bought a couple of these modules from Ebay, but just not got around to using them. Price from China (with postage) is amazing. Helpful video - once again.
@johnward7619
@johnward7619 4 жыл бұрын
Hey Julian, I've seen some suppliers place a wire shunt in those two now spare screw terminal holes to increase the current measuring capabilities. Thanks for your videos!
@guillaumelombard
@guillaumelombard 7 жыл бұрын
Great video, I like the step by step explanation
@brunobeloff5480
@brunobeloff5480 10 жыл бұрын
Thank you, that's brilliant!! I will try this out myself, but I'm interested in smaller solar panel currents, up to about 0.5 A. Do you have any advice for taking accurate measurements in this situation? (Like you, I'd rather not use a shunt resistor.) I'm using an Arduino as the recording device.
@mq.vertex
@mq.vertex 8 жыл бұрын
Hi, Thanks for the info, I am a mechanical guy I just want to know that can we use current sensor to measure displacement? can you suggest some of them?
@UseUsernameNotInUse
@UseUsernameNotInUse 11 жыл бұрын
Many thanks for this lucid explanation.
@JulianIlett
@JulianIlett 11 жыл бұрын
Hi, I've put the code for the sketch in the video description. You don't need a schematic - just connect the sensor to an analogue input.
@yoramstein
@yoramstein 7 жыл бұрын
Thanks for this serie of 3 video's i have learned a lot about that sensor and Arduino's functioning.
@chriscain2563
@chriscain2563 6 жыл бұрын
I think with all those ring terminals you’d be better with a soldered in low value resistor! But I can see that the purpose is to use it as a test rig and or demo. Just out of interest stick your Dmm set to mV across the 2 terminal sockets that you fitted to the end of the wooden test board when you have a high current flowing. Be interesting to see what drop you get. Great demo and thanks for sharing!
@fahadbaridwan2314
@fahadbaridwan2314 10 жыл бұрын
sir,i wanna ask how to measure the output voltage acs 712 5A? at the ground(5)and vout(7) or ground and pin 3,4?
@alexellis2
@alexellis2 9 жыл бұрын
Do you get a perfect 5.00V 5v from your power supply? If not, then I think some changes have to be made to scale for the ADC. In my use so far my USB ports give different 5v values - 4.78 on my PC and 4.68 on my Raspberry PI.
@kolinevans9127
@kolinevans9127 8 жыл бұрын
nice setup great video.
@AlAkhebarmaroc
@AlAkhebarmaroc 8 жыл бұрын
thnks for this video , can you please give me the reference of sensor voltage ??
@evahle
@evahle 9 жыл бұрын
Nice video, thank you!
@dejowe
@dejowe 11 жыл бұрын
Great video. Is it possible to meassure amps on AC 230voltage?
@sarahadams5469
@sarahadams5469 7 жыл бұрын
Hi Julian, I was wondering if you knew anything about needing to sense the current with 10 AWG wires? We are working on our senior design project but we feel those green terminal blocks are too small for the wire sizes we need. Do you have any recommendations?
@sarahadams5469
@sarahadams5469 7 жыл бұрын
Sorry, I guess I mean the connector!
@therealkrr1277
@therealkrr1277 10 жыл бұрын
Has anyone tested the 30A module? It seems impossible for me that those little connectors can hold this high current?!
@T-FLoWW
@T-FLoWW 6 жыл бұрын
Where we put the multimeter to see the voltage that you see on your screen?
@acqurius-gx8lr
@acqurius-gx8lr 5 жыл бұрын
is it possible to measure ac current of signal with frequence of 1kHz with ACS712?
@T-FLoWW
@T-FLoWW 6 жыл бұрын
Why in datasheet it talks about mV? It measures amperage related to voltage difference?
@TheMailojah
@TheMailojah 4 жыл бұрын
hi, you have a sensor with big terminal! Where Can I foud this model? thank you
@JohnSmith-ed1sr
@JohnSmith-ed1sr 6 жыл бұрын
What is the resolution of the chip? Say you want to measure 20mA vs 25mA
@raym9691
@raym9691 10 жыл бұрын
Which microcontroller are you using on that project, it looks neat?
@dixonchen5060
@dixonchen5060 7 жыл бұрын
what voltage sensor are you using? i'm planning to build a 100W (2x50W solar modules). do you think i can buy the same component as yours?
@RizwanSaeed
@RizwanSaeed 5 жыл бұрын
Please suggest me to measure th DC voltage upto 500V and Current of 20A I want to make power meter for my solar panals whcih are capable of giving volage upto 300V and current upto 5A please suggest me the sensors
@janakdave4350
@janakdave4350 6 жыл бұрын
Any Voltage sensor for sensing AC voltage upto 230V ?
@Akshaybroota
@Akshaybroota 8 жыл бұрын
Hi sir. Can acs712 be used to measure current through an AC load like an oven or a bulb connected to 230V AC ? Also can you tell me how to connect the sensor ? i am not able to get any reading when i connect the sensor with load or at no load it stays at 2.5V . please help
@SirArghPirate
@SirArghPirate 6 жыл бұрын
Is it really possible to pull 30 amps through those traces?
@shivendraramchurran3863
@shivendraramchurran3863 10 жыл бұрын
Hi Julian. I'm not sure on how to program the output of the microcontroller to a 16x2 LCD screen. Please help
@banzie74
@banzie74 11 жыл бұрын
Neat. Any idea on how this compares with a current-sensing transformer based approach ?
@khoulodghanem1435
@khoulodghanem1435 8 жыл бұрын
Hallo, That was really brilliant I need to measure a current (0A to 10A) and give it as input to my arduino I wanted to use a shunt resistance 0.02 ohm to get a voltage with 10mV max the use an amplifier to make to 5V max Can I use this module instead all this steps ؟؟
@dongolahmed
@dongolahmed 8 жыл бұрын
hello Julian ... What if I want to measure current higher than 30A .... can I use 2 of these in parallel?
@JulianIlett
@JulianIlett 11 жыл бұрын
I've not done any research into current sensing transformers, but I'm pretty sure they're only for AC current - most of my work is with DC systems
@andreaschristodoulou4274
@andreaschristodoulou4274 9 жыл бұрын
Did anyone have try this module with ac loads? Does at out of this ic gives 2,3Volts when only a current flows?? and at no flow no voltage...?? i ask that because there is no point having all the time voltage, how can a current flow be detected then ??
@christopherhemmings
@christopherhemmings 7 жыл бұрын
you can just use the map function in Arduino. it's something along the ljnes of map(0,1023,0,5).
@VolthausLabElectronics
@VolthausLabElectronics 8 жыл бұрын
I checked the comments and didn't see this addressed so i will say: the lack of solder on the terminal block must have been an oversight. Or did the torque of the screw turning break the solder joint?
@HoBrian
@HoBrian 10 жыл бұрын
HI Mr. llett, I am trying use this to measure the 230V input, even though the specification listed the isolation up to 2.1KV. I still hesitate whether my connection to 230V is workable and not damage my circuit. of course i can use experiment to prove it. but more conservative way I would like to ask your opinion. I watch your demo is using 12V. did you try the more high voltage like 110V...etc
@HoBrian
@HoBrian 9 жыл бұрын
this was done
@dansmoncuq8727
@dansmoncuq8727 9 жыл бұрын
The 2.1kVrms insulation is for the ACS712 chip only. Since the manufacturer of this module has added some conductors between the inputs and the outputs of the chip, the actual insulation is less than that. In fact, this module does not meet the minimum security requirements in several countries, and should not be used in a 230Vac device.
@HoBrian
@HoBrian 9 жыл бұрын
thanks and noted
@pulesjet
@pulesjet 5 жыл бұрын
@@HoBrian Old Post but pertinent to some. This circuit would not function on AC current. The magnetic Phase Change would end up as ZERO. You would have nothing to measure. You would need to convert your voltage to DC and that would nullify your true values.
@LiteVolt
@LiteVolt 5 жыл бұрын
@@pulesjet ACS712 provides economical and precise solutions for AC or DC current sensing
@hansdegroot652
@hansdegroot652 4 жыл бұрын
Hi Julian. good vid. But to me (so far) the acs712 is pretty useless. I have 4 of those mini boards but the readings are so silly unstable. With no load it is hopping between 08 amps and -08 amps. Some times I even see reading above 2 amps. I also have the ina219 whis is suposed to be much better but that one does only handles max 3 amps. When having 200 watts of solar on 12 vols... well I need a lot more amps! Eventually I like trying to "record" the current/wattshours going in and out of the battery so I can determine of it is running low or not. I need this since just measuring the battery voltage under high load is pretty useless because of the voltage drops under load. So any one any suggestions for a (cheap!) +-20 amps braekout board for arduino similar too the ina219?
@emiliomarcano7640
@emiliomarcano7640 10 жыл бұрын
En el minuto 3:17 esta parte que tiene el sensor de voltaje y el de corriente conectado a unos terminales amarillos,rojo y negros para que es eso.
@gopiy6579
@gopiy6579 6 жыл бұрын
can i use this sensor for 12 volts circuit
@thewaveringwarrior
@thewaveringwarrior Жыл бұрын
How do the Shelly Em modules know which direction ac current flows? They only have two wires on the CT.
@alanjohnstone8766
@alanjohnstone8766 3 жыл бұрын
I know it is a long time since you posted this but one thing to know is that you have to measure the zero point in the position you will use the module because it is affected by magnetic fields in the vicinity.
@carymcdonald6985
@carymcdonald6985 11 жыл бұрын
You can construct a simple circuit to monitor AC current, but the sensor is not designed to monitor AC directly. Since you mention 230VAC, I take it there is high current involved as well; in this case, depending on current expectation, I would place a few wraps of insulated wire around the (insulated) hot line, partially rectify it (that is: insert a diode) which would leave you with a small pulsed DC signal. The sensor should do fine detecting this signal. Current levels would dictate design.
@ralvarezb78
@ralvarezb78 10 жыл бұрын
heh, you confirmed my hypothesis. As I guess from datasheet, it can be perturbed by intense magnetic field. Lol
@ArugaPH
@ArugaPH 8 жыл бұрын
what is the minimum current it senses?? can it sense 200mA?
@MrNams
@MrNams 9 ай бұрын
Can i use this to measure current for 3phase motor,440v?
@ceech123
@ceech123 10 жыл бұрын
Thank you.
@user-cq4yh9wr2v
@user-cq4yh9wr2v 11 жыл бұрын
Yes, you right! sketch is in the part 2. anyway I have a lot of idea by your favor. Thank you.
@jogomez1988a
@jogomez1988a 5 жыл бұрын
Could you measure AC current with this module? Did you use any control of 50/60Hz pulses to measure in AC?
@hussain55019
@hussain55019 5 жыл бұрын
Yes without any problem
@ManojPatil-gy8lv
@ManojPatil-gy8lv 10 жыл бұрын
very helpfull video!!!
@glebgleb169
@glebgleb169 6 жыл бұрын
Why "(516 - analogRead(A0)) * 27.03 / 1023" but not a "(512 ..." is it a calibration?
@danielleleever2541
@danielleleever2541 4 жыл бұрын
Julian, you stated the isolationvoltage of the acs712 is 1200V. According to the specs of Allegro it is 2.1 kV RMS (60Hz) for the duration of max. 1 minute. Did you test the 1200V as a continuous DC voltage during, lets say, 1 day?
@jeffreyho6625
@jeffreyho6625 6 жыл бұрын
Hi, may I know is there any current transformer/sensor to measure 240V AC and able to interface with arduino? This will helps a lot....thanks
@shubhamtapdia9934
@shubhamtapdia9934 6 жыл бұрын
Hey..Jeffrey Ho did u get the solution for this..i am also facing same problem..tell me if u got d ans..ty in advance
@marcosmoura911
@marcosmoura911 9 жыл бұрын
How well can it read 100mA ??? How much does the noise makes it oscilate like from 90ma to110ma if you are reading 100ma or worse ? With this I meant to ask how accurate is it?
@millenia2222
@millenia2222 7 жыл бұрын
Hi Mr ilett?how did you connect the gnd for the middle output? thanks
@guillaumelombard
@guillaumelombard 7 жыл бұрын
It is the same ground for both, the 5V input that powers up the chip and the 5V output that gives the reading
@hamedj9053
@hamedj9053 8 жыл бұрын
Thanks
@Axel-ro7dn
@Axel-ro7dn 9 жыл бұрын
What about accuracy ?
@JulianIlett
@JulianIlett 10 жыл бұрын
Read my article "How to use Intelligent Alphanumeric LCDs". Links are on Wikipedia page for the HD44780.
@afailalnaoufal4517
@afailalnaoufal4517 7 жыл бұрын
how to convert courant sensor(ACS712) value rawvalue to amper , in my circuit , i have capacity and a LED
@RuslanKoptiev
@RuslanKoptiev 6 жыл бұрын
For those who accustomed to the convenience of libraries for arduino: github.com/rkoptev/ACS712-arduino
@JulianIlett
@JulianIlett 11 жыл бұрын
Many thanks Peter. Enjoy Arduino!
@internetstreets
@internetstreets 11 жыл бұрын
hello where do you get the Voltage Sensor at?
@arionono
@arionono 11 жыл бұрын
Sir, why my prjoect doesn't work? for the first calculation without the load, V = 2,5 v. When i put the load its still 2,5 V ? why its happened? I try to calculate the AC current thank you before for your great video
@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?) YOurs looks beefier than what I bought -- nicer terminals also. Where did you get it?
@ljl451
@ljl451 9 жыл бұрын
Hi, the sensor works well for currents of around 1A and above (due to sensitivity/accuracy). Do you know a sensor that can be used in a similar fashion but for currents in the 100 mA to 1A arrange (even dc only)? Thanks!
@carmitarbb2
@carmitarbb2 9 жыл бұрын
+lajolo tenes que acondicionar tu señal para terner mayor sensiblidad el datasheet te da algunas opciones para eso
@rachitpradhan8397
@rachitpradhan8397 8 жыл бұрын
+lajolo If a lower bandwidth suits your application, you can use the WCS2702.
@ljl451
@ljl451 8 жыл бұрын
+Rachit Pradhan Thanks. I had a look at the datasheet and it looks interesting. Much more accurate (1 mV/mA) and low operating current (3 mA).
@JulianIlett
@JulianIlett 11 жыл бұрын
Yes, according to the datasheet, but I couldn't help you with the maths!
@adaminsanoff
@adaminsanoff 10 жыл бұрын
Voltage sesor? Even I didn't know about existence of it! Where you bought?
@YimboSlice_Official
@YimboSlice_Official 8 жыл бұрын
Mr Ilett, my acs712 is reading all over the place. it's not connected to anything yet reads anywhere from 495 - 530, where yours reads 513-515. do you know why this might be? thank you so much for your videos, to say they have been helpful is an understatement!
@JulianIlett
@JulianIlett 8 жыл бұрын
Try increasing the value of the filter capacitor
@YimboSlice_Official
@YimboSlice_Official 8 жыл бұрын
+Julian Ilett thanks for the quick response, I'm using a 474nf filter cap as per your suggestion in video 3
@coold8d
@coold8d 8 жыл бұрын
your signal could be dirty
@jonathanrjpereira
@jonathanrjpereira 6 жыл бұрын
Can I test this sensor with a supply of 220V using a 11W bulb?
@gizmoguyar
@gizmoguyar 6 жыл бұрын
Yes, an 11 watt bulb should draw about 50 mA, so you won't get very high resolution. It should output an AC voltage of 26 mV peak to peak, centered around 2.5 volts. That's going to be quite hard to read, so you probably would be better with something else but it shouldn't be dangerous. Please do be super careful when messing with high voltage! That Sh!t will kill you faster than a rogue US navy drone.
@hugoalanmooregalarza2712
@hugoalanmooregalarza2712 9 жыл бұрын
What's the name of the voltage sensor?
@kattejuice
@kattejuice 7 жыл бұрын
I'm guessing "voltage divider" ;)
@samp6992
@samp6992 6 жыл бұрын
kattejuice ..search on ZMPT 101B
@syedaizaz1249
@syedaizaz1249 6 жыл бұрын
hello sir ! i am measuring power factor through ATmega8 micro controller.. i used "zero cross detection" technique to find power factor.. but the output wave of this "ACS712" sensor does not touch zero (ground level) , it give me output wave form from "2.5" to "5". i want to get its output symetrical across zero... what i need to do... ? plz give me sugeestion to solve this problem..?
@gizmoguyar
@gizmoguyar 6 жыл бұрын
Delving into the world of split rail (or dual rail) power supplies is very tricky. You could make a power supply that outputs negative voltage and make amplifiers that operate from the positive to the negative rail to remove the DC offset of this device. And then make protection circuits because the ATmega8 can't withstand negative voltages. That would give you your plus and minus signal centered about ground. Or you could make a rail to rail amplifier circuit that removes the DC offset, in which case the negative half of the signal would simply be lost. My suggestion is to do it in software. There are two possible ways to do this. If you know that your signal is symmetric (i.e. +5 to -5) then you can simply record the max and min values in software and use the point halfway between them as your reference (3.75 in your example). If the signal you expect is not symmetrical, then you can calibrate your software by measuring the signal with no current flowing, and using that value as your reference. All of these methods above will require physical or software calibration anyway, so I personally would't bother making any additional circuit if you're going to have to write the software anyway. Just do it all in software. Let me know if that helps.
@syedaizaz1249
@syedaizaz1249 6 жыл бұрын
gizmoguyar thank you sir...
@ahmetaa1988
@ahmetaa1988 5 жыл бұрын
you cant just use 185mv/amp value because it is the nominal value. you have to find the value of yours own
@harisshaukat4780
@harisshaukat4780 10 жыл бұрын
Can you please tell the name of that voltage sensor you have used there? can't seem to find anything like that on google.
@harisshaukat4780
@harisshaukat4780 10 жыл бұрын
found it! thanks
@GeorgiosDiamantis
@GeorgiosDiamantis 9 жыл бұрын
so, can you tell the name of that voltage sensor plz?
@harisshaukat4780
@harisshaukat4780 9 жыл бұрын
Georgios Diamantis acs712. its in the video description
@karansahil2735
@karansahil2735 4 жыл бұрын
Can I connect 230v AC supply neutral to 10A Current Sensor ACS712-10A
@surajsurya1928
@surajsurya1928 4 жыл бұрын
Neutral or phase no issues.
@stereojos86
@stereojos86 8 жыл бұрын
a question this module is rms o is a instant current sensor?
@RuslanKoptiev
@RuslanKoptiev 6 жыл бұрын
Try this library for RMS measurements: github.com/rkoptev/ACS712-arduino
@habibishtiaq7662
@habibishtiaq7662 9 жыл бұрын
Julian Ilett plz answer my question ASAP . I want to measure power of ac line by formula P=V x I. by the help of this tutorial i am able to measure current but now my mind is stuck that how to measure voltage Plz let me know which IC are you using to measure voltage.......????????????
@JulianIlett
@JulianIlett 9 жыл бұрын
Habib Ishtiaq Use a simple potential divider, but I can't help you with the calculations for AC power
@mohamadnizarkhattab6601
@mohamadnizarkhattab6601 9 жыл бұрын
Kishan Prudhvi Guddanti you can use this one www.ebay.com/itm/390902157627Voltage Transformer Module Active Single Phase Voltage Sensor Module AC output
@drkastenbrot
@drkastenbrot 8 жыл бұрын
The voltage depends on where you live, typically 110, 120 or 230 volts. You dont need a second chip as the voltage should stay the same.
@AndyWJP
@AndyWJP 8 жыл бұрын
+Habib Ishtiaq For power measurement, you need to integrate over the waveform because of phase shift between voltage and current waveforms. It is not a simple multiplication of v x I. You will need to do some study of power electronics to get the necessary knowledge of how to do it. For example, the current waveform my be in the form of distorted pulses whilst the voltage waveform is more of a sine wave.
@peaceandlove5855
@peaceandlove5855 8 жыл бұрын
does it work with AC curent ?
@coold8d
@coold8d 8 жыл бұрын
yes
@cesarcoronel2724
@cesarcoronel2724 8 жыл бұрын
hi, Only measure Ac current or I can measure Dc current?
@ryandunn7056
@ryandunn7056 8 жыл бұрын
+Cesar Coronel it will do both :)
@alexlee2663
@alexlee2663 5 жыл бұрын
there is a type of AC/DC current transducer. You input the AC current, you get AC signal output.,and you input the DC current, get the DC signals. see g-sensor.net/signal-conditioner/Synchro-Tracking-Transducer//2018/0307/151.html
@habibishtiaq7662
@habibishtiaq7662 9 жыл бұрын
Julian Ilett Sir this ic works for dc current in this fassion........ i want to measure ac current how can i do that.....??? when i measure Output of this sensor by connection an ac load to this the DMM reads constant 2.50 V at (V dc ) irrespective of how much heavy load i connect to it ......... Plz let me know ASAP........ nd if possible make a video of that to.......Thanx
@Fennecbutt
@Fennecbutt 9 жыл бұрын
Habib Ishtiaq God, Indians and Arabs are always the ones demanding videos and schematics and code. Do your final project yourself.
@habibishtiaq7662
@habibishtiaq7662 9 жыл бұрын
i have done it by my self thanx for your very late reply...
@andreaschristodoulou4274
@andreaschristodoulou4274 9 жыл бұрын
+Habib Ishtiaq Did you try out this module with ac loads?When a current going thru the connector there is a voltage and no current no voltage at out??
@victorlin4645
@victorlin4645 6 жыл бұрын
Why do you want to only measure current on the high side? The amount of current flowing directly out of the positive end should be the same flowing into the negative end (reverse if you're talking about electrons), so measuring current at both ends should work the same, no?
@gizmoguyar
@gizmoguyar 6 жыл бұрын
The reason is not because the amount of current will change, it's because of the use of common grounds. This chip has a nominal 1.2 mOhm internal resistance. If you put 20 amps through it, it will drop 24 mV. There are some situations where you need the ground potential of your device being powered to be exactly equal to the ground potential of your power supply. If you put this device on the high side, then the ground of your power supply and the ground of your load stay the same, and it makes everything much easier as you no longer have to account for that 24 mV difference. For example if you also need to measure the voltage across your load, putting this device on the low side would required taking voltage measurements on both sides of the load, and subtracting. If you put this device on the high side, you only have to measure the voltage at the positive rail of your load, because you know that the ground of your voltage measurement is the same potential as the ground of your load.
@victorlin4645
@victorlin4645 6 жыл бұрын
gizmoguyar Awesome, thank you! If you have no need for a common ground between components (such as no serial communication between them) then there should be no issue with placing this on the low side, right? Although I suppose placing this on the high side would be a best practice regardless.
@gizmoguyar
@gizmoguyar 6 жыл бұрын
Yes, that's absolutely right. It would be fine to place it on the low side if you want. Although since it doesn't change anything, I would place it on the high side anyway as you said.
@munch15a
@munch15a 7 жыл бұрын
Can some one assist me Im trying to make a ardunio driven device that causes a led to turn on if the current in the circuit goes above a pre defined level the circuit will be drawing 5v and a low amount of current tho not 100 sure how much yet. two questions will this be able to perform this task. and also does anyone have any links to any code I can look at to get an idea how to start programming this
@ThatGuy-nv2wo
@ThatGuy-nv2wo 7 жыл бұрын
learn C
@munch15a
@munch15a 7 жыл бұрын
does not really answer the question tho I asked not just how I can do it but if I can do it.
@tularem
@tularem 7 жыл бұрын
Yes, it'll work for what you want. There's code in the video description. Add a simple if/then statement and you're done.
@munch15a
@munch15a 7 жыл бұрын
cheers thank you should be able to go fine from here then
@RuslanKoptiev
@RuslanKoptiev 6 жыл бұрын
Try this library: github.com/rkoptev/ACS712-arduino
@dtec5993
@dtec5993 4 жыл бұрын
U r great
@jsmythib
@jsmythib 9 жыл бұрын
Monitor any 30a load or less for about 3$..0-5v analog output to your microcontroller ..how cool is that! :)
@artbyrobot1
@artbyrobot1 4 жыл бұрын
problem is your voltage has to be under 8v... what if you want to monitor amps for a brushless dv 48v motor at 30a...?
@jsmythib
@jsmythib 2 жыл бұрын
@@artbyrobot1 I bought some of these and put them in a box years ago :) Max input internal power 5v- 8v MAX. current being measured has no potential, just current. 48v 30amps is redline. Use 2 or redo the math and use a shunt :) To anyone who might find this useful.
@JulianIlett
@JulianIlett 11 жыл бұрын
eBay - search for "arduino voltage divider"
@bell1095
@bell1095 7 жыл бұрын
Pls try to avoid erratic panning, it hurts viewing, and spoils the best content message, restricting to a tripod is a must in close-ups.
@tularem
@tularem 7 жыл бұрын
Judging by all none of the videos you've contributed to the community, you clearly have all the reason in the world to bitch...
@user-cq4yh9wr2v
@user-cq4yh9wr2v 11 жыл бұрын
Hello. It's useful video. now I'm doing graduate project. so may i get this sketch and Schematic diagram??
@RuslanKoptiev
@RuslanKoptiev 6 жыл бұрын
For those who accustomed to the convenience of libraries for arduino: github.com/rkoptev/ACS712-arduino
@jwarnes71
@jwarnes71 9 жыл бұрын
Bloody hell Habib do your own research and development and test these for youself its the best way to learn how to use these for yourself. No one taught me i just tested one. Now i have a solar online system with 3 ASC712s that auto calibrate and are accurate.
@ArifRahmanMY
@ArifRahmanMY 9 жыл бұрын
ahahaha chinese economics is very interesting indeed ;)
@Ziplock9000
@Ziplock9000 5 жыл бұрын
He's measuring apples to oranges though. He should have compared the price of the chip in china too.
@dalewhitmore143
@dalewhitmore143 8 жыл бұрын
Dam it!! Just watched your vid and done exactly what you did but i had my earth being measured, changed leads and my module just went up in smoke using a 12v 2A fluorescent lamp. I swear i get every dodgy china part lol. Smell of buring IC lingers....mmmmmm.
@BAMFWrangler
@BAMFWrangler 8 жыл бұрын
Lol never understood those Chinese economics
@dalewhitmore143
@dalewhitmore143 8 жыл бұрын
Dont burn your house down with a $2 module buy a real display.
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 56 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 1,9 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,2 МЛН
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Игорь Линк
Рет қаралды 125 М.