Description
Description
This breakout board will solve all your current-monitoring problems. Instead of struggling with a multimeter, you can just use the handy INA169 chip on this breakout to both measure both the DC current draw and have a handy analog output that is with respect to ground. The analog output makes this an ideal breakout for feedback-loop control.
Most current-measuring devices such as our current panel meter are only good for low side measuring. That means that unless you want to get a battery involved, you have to stick the measurement resistor between the target ground and true ground. This can cause problems with circuits since electronics tend to not like it when the ground references change and move with varying current draw. This chip is much smarter – it can handle high side current measuring, up to +60VDC!
A precision amplifier measures the voltage across the 0.1 ohm, 1% sense resistor. The resistor is rated for 2W continuous so you can measure up to +5A continuous. The output is a current that is drawn through the on-board 10K resistor so that the output voltage is 1V per Amp. So for 2A draw, the output will be 2V. You can change out the load resistor to be larger or smaller by cutting the traces next to it and soldering a thru hole resistor over. If you solder in a 20K resistor you’ll get 2V per Amp, with a 5K resistor, 0.5V per Amp.
We include a 5-pin header (so you can easily attach this sensor to a breadboard) as well as a 3.5mm terminal plug so you can easily attach and detach your load. Usage is simple. Power the sensor with 2.7-60V to VCC, and connect V+ to the high side of your power supply, then connect V- to your grounded load. Then use a multimeter to measure the voltage output, that’s it!
Arduino code example
/*
Hardware connections:
Uno Pin INA169 Board Function
+5V VCC Power supply
GND GND Ground
A0 VOUT Analog voltage measurement
VIN+ and VIN- need to be connected inline with the positive
DC power rail of a load (e.g. an Arduino, an LED, etc.).
*/
// Constants
const int SENSOR_PIN = A0; // Input pin for measuring Vout
const int RS = 10; // Shunt resistor value (in ohms)
const int VOLTAGE_REF = 5; // Reference voltage for analog read
// Global Variables
float sensorValue; // Variable to store value from analog read
float current; // Calculated current value
void setup() {
// Initialize serial monitor
Serial.begin(9600);
}
void loop() {
// Read a value from the INA169 board
sensorValue = analogRead(SENSOR_PIN);
// Remap the ADC value into a voltage number (5V reference)
sensorValue = (sensorValue * VOLTAGE_REF) / 1023;
// Follow the equation given by the INA169 datasheet to
// determine the current flowing through RS. Assume RL = 10k
// Is = (Vout x 1k) / (RS x RL)
current = sensorValue / (10 * RS);
// Output value (in amps) to the serial monitor to 3 decimal
// places
Serial.print(current, 3);
Serial.println(" A");
// Delay program for a few milliseconds
delay(500);
}
1 x Pin
Reviews
There are no reviews yet.