I want to be able to tell if there is a/c current going through a line. If it is than I want a counter to keep track of how long it is on for in seconds, because I am planning on doing this with a pretty thick gauge wire I was thinking of using an a/c current clamp like this one:
I am wondering is this is possible? (I hope it is)
If I cannot use the clamp, what else can I use to sense the current? I don't need the sensor to be accurate since I just want to keep a time of when current goes through the wire.
How much current is going through the wire? It it's variable, consider the minimum current you'd like to detect...
The specs say -
Output: 40A: 1mV/0.1AC
400A: 1mV/1AC
On the most sensitive scale (40A), you'll need to have 1 Amp in order to get 10mV, which I would consider about minimum for the Arduino without amplification, assuming you use the optional 1.1V ADC reference.
You CANNOT put regular AC into the Arduino because it can be damaged by negative voltages. You can [u]bias[/u] the input at half the supply voltage (or half of the ADC reference) and then subtract-out the bias in software.
It's also a good idea to add some [u]protection diodes[/u] whenever connecting the the "outside world" where unexpected things can happen.
Measuring AC is not as easy as measuring DC.
The sensor has a 1mV/A setting. That is ~2.8mV peak/peak per amp.
That migh just be able to be detected with 1.1volt Aref in the code.
Remember that this is AC, so the sensor has to be "lifted" to mid-voltage.
And needs to be sampled many times per second.
Google "openenergymonitor Arduino"
Leo..
Pass live and neutral in opposite directions through the clamp for twice the output.
Or loop one wire multiple times through the clamp.
Correct answer depends on the current to be measured.
Leo..
It is powered from 5V, The output is at 2.5V, with no current flowing.
The output voltage increases for a current in one direction, and decreases for a current in the opposite direction.
So you can use it to measure AC or DC.
So it's for a welding machine. There is a negative and a positive wire coming form the front of the welding machine. If you put a multimeter to the positive wire it only shows current when the welder is welding. I want to capture the time that the welder is actually welding. So I'm not trying to get an exact measurement, I just want the arduino to see the current then keep a timing total in sec.
The welding machine has a switch to start the arc (trigger on a MIG and pedal on a TIG). Have you thought about using the switch as a trigger instead of trying to detect the current going through the positive lead? Just a thought...
chipreibel:
The welding machine has a switch to start the arc (trigger on a MIG and pedal on a TIG). Have you thought about using the switch as a trigger instead of trying to detect the current going through the positive lead? Just a thought...
If you aren't using an arc welder, this is your best option. Just find the hook up on the front of the feeder where the whip trigger wires plug in.