The MAX471 is complete, bidirectional, high-side current-sense amplifiers for portable PCs, telephones, and other systems where battery/DC
power-line monitoring is critical. High-side power-line
monitoring is especially useful in battery-powered systems since it does not interfere with the ground paths
of the battery chargers or monitors often found in
The MAX471 has an internal 35mΩ current-sense resistor and measures battery currents up to ±3A. For applications requiring higher current or increased flexibility,the device has a current output that
can be converted to a ground-referred voltage with a
single resistor, allowing a wide range of battery voltages and currents.
An open-collector SIGN output indicates current-flow
direction, so the user can monitor whether a battery is
being charged or discharged. Both devices operate
from 3V to 36V, draw less than 100µA over-temperature, and include a 18µA max shutdown mode. and its scale factor as it outputs 1 volt per amp measured.
This tutorial will walk you through some of the basics necessary to put this MAX471 to use.
There a few varieties available, but they are basically the same.
MAX471 Current Sensor Module Pin Outs
There are five pins of interest for this device. The image below, identifies them.
RS+: This connects to the positive pole of your supply source.
RS-: This connects to the high side of your load.
GND: This is circuit common on both the input and the output side.
OUT: This is an analog output that provide 1 volt DC per amp measured. The device can measure up to 3 amps DC.
How the MAX471 is Installed in the Circuit
As a high side current sensor, positioning is important, especially since the chip gets its power from the load’s source.
The picture below is intended to help you to visualize that requirement.
Notice how the power supply positive terminal is connected to R+. Also notice how R- is connected to the positive side of the load. Finally, take a gander a the module ground connection. It is connected to the negative side of the power source.
Arduino MAX471 Current Sensor Module Arduino Tutorial
Make the Tutorial Connections
I’m using my trusty Minghe B3603 to drive a 10W LED. I like the B3603 because I can monitor the relative validity of the results seen on my serial monitor. The 10W LED for this tutorial as well.
Copy, Paste and Upload the MAX471 Arduino Sketch
The sketch is nothing more than a Simple Arduino Voltmeter that has been modified for this device. At a scale factor of 1V per Amp, it is very convenient.
const int max471In = A0;
int RawValue= 0;
float Current = 0;
RawValue = analogRead(max471In);
Current = (RawValue * 5.0 )/ 1024.0; // scale the ADC
Serial.print("Current = "); // shows the voltage measured
Serial.print(Current,3); //3 digits after decimal point
Serial.println(" amps DC"); //3 digits after decimal point
Verify Your Tutorial Results
Open your serial monitor and verify your results. If you’re successful, you should see current readings that are close to what you expected.