Detect current with coil round wire

Hi,

I'd like to detect current in a cable by wrapping a wire round it connected to the analogue input pin on an arduino uno.

The cable will have 240v AC at anywhere between 0 and 10A. My question is, how many times do i need to wrap the wire round the cable? If i just put a diode on the cable, could i detect the variation?

I only need to know if there is current running through the cable, I don't need any precision.

Thank you for any help.

Toby

What is the minimum current you want to detect?
That's going to determine how many windings you need. You'll anyway have to add some extra hardware to detect the minimum, without getting burned by the maximum.

Wire wrapped around a cable cannot be used to measure current flow, because the magnetic field lines are parallel to the wire. For AC current, you can use a "current transformer" (a toroidal transformer), with a single conductor passing through the core, or use a Hall sensor for AC or DC.

I don't mind if it only detects from 5A up... :slight_smile:

Smollett:
I don't mind if it only detects from 5A up... :slight_smile:

Use you digital VOM on the AC volt scale and measure the AC volts on your coil with 10 turns around the cable. The meter will show some voltage number when the current is flowing in the cable. That voltage value will tell you if you need more turns or fewer. Could not be easier.

Paul

The meter will show some voltage number when the current is flowing in the cable.

Whatever reading you get will be due to capacitive coupling, unrelated to the actual value of the current.

Something like this, with correct burden resistor?
https://www.aliexpress.com/item/NEW-21C-Micro-current-transformer-20A-20mA-measuring-0-1-Insulation-UL94-Vo-FD274/32609365005.html?spm=2114.search0104.3.137.rclr1N&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10065_5000015_10151_10344_10068_10130_10345_10324_10342_10547_10343_51102_10340_10341_10548_10545_5130015_10609_10541_10084_10083_10307_10610_5690015_5870020_5080015_10312_10059_10313_10314_10534_100031_10604_10603_10103_10605_10594_5060015_10142_10107,searchweb201603_32,ppcSwitch_5&algo_expid=56fc85e7-453c-4b48-8da2-c21d9dbec13e-21&algo_pvid=56fc85e7-453c-4b48-8da2-c21d9dbec13e&rmStoreLevelAB=5

Exactly! Excellent tutorial:
https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino

I must have 20 of these: SeeedStudio Non-Invasive AC Current Sensor (30A Max) - RobotShop

I like them because they snap on and off wires without disconnecting the wire.

Openenergy.org has a great tutorial about using them with an arduino.

Uh... cable diameter? :confused:

Cable diameter is irrelevant, as long as if fits through the CT.

1/2"

jremington:
Wire wrapped around a cable cannot be used to measure current flow, because the magnetic field lines are parallel to the wire.

Although you are correct in saying that OP's setup will not work, magnetic field lines circulate around a line current - not run parallel. If they ran parallel, OP's setup would work.

Here's a setup that will work instead:

OP, you should also take care that you only wrap the current sensing system around the supply wire ONLY and leave the return wire outside - else you will get close to 0A no matter what.

TKall:
1/2"

Well, that kills my suggestion, hole is only 0.1 inch. You are aware that only 1 conductor goes through the CT, not all wires in a multi conductor cable.

I think I created a confusion with my comment. The 1/2" refers to the opening in the current sensor. Sorry.

Although you are correct in saying that OP's setup will not work, magnetic field lines circulate around a line current - not run parallel. If they ran parallel, OP's setup would work.

Which is exactly why I wrote "wire" (for current sense wire) rather than "cable", as written in the OP. Evidently my attempt to avoid confusion failed. Indeed, the magnetic field lines due to the cable current run parallel to sense wire, so if the field lines change, cannot induce a voltage in the sense wire.

Thank you for posting the nice diagram illustrating my point!