MicroAmps and the INA169

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
soccerjmp
 
Posts: 1
Joined: Sun Mar 03, 2013 3:13 pm

MicroAmps and the INA169

Post by soccerjmp »

Hi all!

I am simply trying to measure the current that is flowing from a solar panel. I just purchased the INA169 current sensor from adafruit and was attempting to verify its functionality. Below is a schematic of what I am attempting to do. I just want the current flowing through the resistor. I know that it should be reading (5/1000) = 5mA. I am using the analog read for the signal input. This value fluctuates between 1 and zero. I have tried to Fmap the analog read and manually calculating the value ( 5 * AnalogSignal)/1023 . I simply want the serial com. to display the current. Any Ideas? THANKS
Attachments
Schematic
Schematic
Untitled.png (16.55 KiB) Viewed 948 times

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: MicroAmps and the INA169

Post by adafruit_support_bill »

The default output is 1v/A. So for 5mA, the output should be .005v. Since the Arduino A/D is 10 bits, using the 5v default analog reference, a 5v signal will give you a raw reading of 1023. A 0.005v signal will give you a raw reading of about 1. Exactly what you are seeing.

To get more resolution at for reading smaller currents, you need to increase the load resistance (default is 10K) and/or use a lower analog reference voltage. Doubling the load resistance will give you twice the resolution. Halving the reference voltage will do the same.

Another option is to go to a higher resolution A/D such as the ADS1115 : http://adafruit.com/products/1085

User avatar
dboechler
 
Posts: 4
Joined: Fri Mar 14, 2014 10:35 am

Re: MicroAmps and the INA169

Post by dboechler »

If your circuit drawing is acurate you have the current sense resistor in the wrong place. It should be across the VIN+/-

You have it down stream..

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”