MicroAmps and the INA169

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

Moderators: adafruit_support_bill, adafruit

MicroAmps and the INA169

Postby soccerjmp » Sun Mar 03, 2013 2:26 pm

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
Untitled.png
Schematic
Untitled.png (16.55 KiB) Viewed 138 times
soccerjmp
 
Posts: 1
Joined: Sun Mar 03, 2013 2:13 pm

Re: MicroAmps and the INA169

Postby adafruit_support_bill » Sun Mar 03, 2013 2:41 pm

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
adafruit_support_bill
 
Posts: 16056
Joined: Sat Feb 07, 2009 9:11 am


Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]