Hello guys.
A little background on my project:
I made a voltage and current sensing project with netduino plus 2. I used a simple voltage divider setup to for the voltage input which goes into A3. I have 2 hall effect current sensors to that go into A4 and A5. One measures current from the solar charge regulator to the battery bank (solar sensor), and the other measures current from the battery bank to the inverter (inverter sensor). I am also using a freetronics LCD shield and it uses A0. I grounded A1 and A2 because I am not using them.
Now the problem.
When I try to measure the current from the solar sensor, I get good and stable measurements. When I measure the current from the inverter sensor, I get wildly varying values! I'm taking about input values from 1996 to 2436! Maybe even more.
Here's what I've done to trouble shoot. I swapped the input ports for the current sensors, the measurements from the solar sensor was stable in both A4 and A5 input ports. But when I connect the inverter sensor, I get the wildly varying values I was talking about, both in A4 and A5. I have tried changing the inverter sensor just in case it was defective and used one that I've tested and verified as not having any shorts with the wiring and still I get the same wildly varying values. The only thing I have not done yet was to actually swap the solar sensor and the inverter sensor. I will do that tomorrow (I've run out of time today). I was just thinking that I maybe doing something else wrong.
Any help would be greatly appreciated!