Arduino Forum

Using Arduino => Sensors => Topic started by: Dudebird47 on Aug 26, 2013, 09:49 pm

Title: Problem with ACS712
Post by: Dudebird47 on Aug 26, 2013, 09:49 pm
Hi guys,

I am trying to read current produced by a small solar cell.  When I just hook up the cell in direct sunlight, it gets about 0.66 volts, which is about right.  But when I hook it up to the Arduino through the ACS712 Hall effect current sensor, it shows 5.0 volts.  I know that it should be printing about 2.5 volts, and therein lies the problem.  My diagnosis is that it is for some reason printing the voltage received from the Arduino; my question is how do I get it to print the voltage from the solar cell?

Thanks
Title: Re: Problem with ACS712
Post by: Erdin on Aug 27, 2013, 11:29 am
Do you want to know the current or the voltage of the solar cell ?
Can you upload your sketch ?
And please attach a diagram or photo of the wiring, so we can see how everything is connected.
Title: Re: Problem with ACS712
Post by: MarkT on Aug 27, 2013, 08:45 pm
You have checked the ground connection to the ACS712?
Title: Re: Problem with ACS712
Post by: Dudebird47 on Sep 16, 2013, 10:58 pm
Figured it out.  Turns out there were a couple screws for trimming, one was turned so it was reading high.
Thanks for your help!