So currently I am trying to read the current draw from a battery that is being run through a transformer to generate an arc to light a gas burner. I have a roughly 1 ohm piece of wire that I am measure the voltage drop across by having it at the end of the circuit between the ignition system and the battery where I have an Arduino uno analog input reading the voltage drop form one end while the other is connected to ground.
The issue I am having is that the transformer pops up the voltage to a several thousand and then the arc occurs like a normal igniter and the burner has a ground wire screwed into it that connects back to the ignition system/ battery but the voltage across the small wire I have is still showing up as a extremely high voltage and consistently screws with my micro-controller causing me to have to restart it.
I was looking at using optocouplers to measure voltage but it still doesn’t seem like it would help me finding the actual draw on the battery (when I took a current measurement-connected from the battery positive to the ignition system I read upwards to 20 A when the igniter is sparking but that doesn’t seem right for 4 AA batteries.
On the hand of optocouplers I was also looking at if they would actual give me an accurate voltage reading of the system or if the voltage would be too low when it wasn’t sparking to be read from(below 1 V I suspect).
If I can just get the voltage to a reasonable to expect value (considering right before it enters the battery’s negative node It should be roughly Zero volts if I connect the negative end also to the ground Pin if my microcontrollers. Then I have a 16 bit ADC that shouldn’t be able to read accuracy of up to 7.8125 uV or defiant at roughly 61 uV. This also makes me concerned though if the amount of amperage that “apparently” is in this circuit would fry the ADC. The multimeter was saying my analog input pins were hitting almost 1 A but again that seems way out of order considering my board isn’t a smoldering heap yet.
So really my questions are: Any idea what’s causing this high voltage/current that my multimeter is reading coming in and out of the battery?
Is this the actual voltage/current or is something off?
Would an optocouplers help reduce effect on the circuit from the transformer and if reading extremely low voltage values will that actually care across as a proportionate value to the other side of the optocouplers?
Thanks for the help!
Edit: I am measuring the current by taking the measured voltage across the 1 ohm wire with Ohms law on the microcontrollers. However the 20 A I measured was from a multimeter. Along with the 1 A I was getting through the analog pins.