Component guide · Beginner · 3 min read
Hall Current Sensor Modules (WCS2720, ACS723, DFRobot 20A and 50A, MAX471)

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These modules measure DC or AC current and give an analog voltage that an Arduino can read. Hall types such as the WCS2720, ACS723 and DFRobot Gravity boards are isolated from the load and centre the output at half supply. The MAX471 is a high-side shunt amplifier for up to 3 A that is not isolated. Choose the range closest to your real current for the best resolution.
Key specs at a glance
- WCS2720
- 0 to 20 A, Hall, through-hole conductor
- ACS723 (SparkFun)
- +/-5 A, 400 mV/A, gain and offset trimmers
- DFRobot Gravity
- 20 A or 50 A AC/DC, Hall, PH2.0 connector
- MAX471 (GY-471)
- 0 to 3 A, 1 V/A high-side, plus voltage output
- Supply
- 3.3 to 5 V
- Output
- Analog
This part can carry many amps. Use wire thick enough for the current, put a fuse close to the battery, check that connectors are rated for the load and give drivers and motors room to cool. A short at these currents melts wires in seconds.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1DFRobot Gravity Analog 20A Current Sensor AC/DC – Gravity PH2.0-3P Interface₹1,109
Option 2DFRobot Gravity Analog Current Sensor 50A AC/DC V2 – Hall Effect Module w/ 3P Connector₹1,789
Option 3Winson WCS Hall Effect Linear Current Sensor₹435
Option 4SparkFun ACS723 Current Sensor Breakout – 5A AC/DC Hall Effect, 400mV/A Sensitivity₹1,619
Option 5GY-471 MAX471 Current and Voltage Sensor Module, 3A₹267
What the Hall effect current sensor module is
For Hall modules the reading at zero current sits near Vcc/2 (or a set offset), so take a zero reading at start-up. Sensitivity is in mV per amp from the datasheet or module label.
The MAX471 passes the current through a small shunt and outputs 1 V per amp, so it reads only one direction and shares ground with the load.
Hall effect current sensor module pinout
The pins on the Hall effect current sensor module and what each one does.
| Pin | Function |
|---|---|
| VCC / GND | Supply |
| OUT / AOUT | Current signal |
| IP+ / IP- or screw terminals | Load current path |
| VT (MAX471) | Voltage divider output |
- VCC / GND
- Supply
- OUT / AOUT
- Current signal
- IP+ / IP- or screw terminals
- Load current path
- VT (MAX471)
- Voltage divider output
Wiring the Hall effect current sensor module
Connect the Hall effect current sensor module like this.
| Hall effect current sensor module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V | 3V3 (check module) |
| GND | GND | GND |
| OUT | A0 | GPIO 34 |
| Load | In series through the terminals | In series through the terminals |
- VCC
- Arduino Uno:
- 5V
- ESP32:
- 3V3 (check module)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- OUT
- Arduino Uno:
- A0
- ESP32:
- GPIO 34
- Load
- Arduino Uno:
- In series through the terminals
- ESP32:
- In series through the terminals
Example code
Set SENS: ACS723 0.4, MAX471 1.0 (and zero = 0), DFRobot and WCS2720 from the module datasheet.
const float SENS = 0.100; // V per A: set from your module
float zero;
float volts() { long s = 0; for (int i = 0; i < 200; i++) s += analogRead(A0); return s / 200.0 * 5.0 / 1023.0; }
void setup() { Serial.begin(9600); zero = volts(); }
void loop() {
Serial.print((volts() - zero) / SENS, 2);
Serial.println(" A");
delay(500);
}Setup and tuning
measure at start-up with no current.
a 50 A module reading 1 A gives poor resolution; pick a smaller range.
sample over whole cycles and compute RMS.
use Hall types, not the MAX471, when the load is at a different potential.
What you need
Shop this list9 of 10 found in our store · ₹6,123
DFRobot Gravity Analog 20A Current Sensor AC/DC – Gravity PH2.0-3P Interface: the part this guide coversDFRobot Gravity Analog 20A Current Sensor AC/DC – Gravity PH2.0-3P Interface₹1,109
DFRobot Gravity Analog Current Sensor 50A AC/DC V2 – Hall Effect Module w/ 3P Connector: another version this guide coversDFRobot Gravity Analog Current Sensor 50A AC/DC V2 – Hall Effect Module w/ 3P Connector₹1,789
Winson WCS Hall Effect Linear Current Sensor: another version this guide coversWinson WCS Hall Effect Linear Current Sensor₹435
SparkFun ACS723 Current Sensor Breakout – 5A AC/DC Hall Effect, 400mV/A Sensitivity: another version this guide coversSparkFun ACS723 Current Sensor Breakout – 5A AC/DC Hall Effect, 400mV/A Sensitivity₹1,619
GY-471 MAX471 Current and Voltage Sensor Module, 3A: another version this guide coversGY-471 MAX471 Current and Voltage Sensor Module, 3A₹267- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
ADS1115 16-bit 4-channel ADC module: better analog readings, especially on ESP32ADS1115 16-Bit 4-Channel ADC Module₹199
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- ACS758: 50 to 200 A.
- ACS712 vs INA219: the classic low-current modules.
- INA219: digital current and voltage over I2C.
Common mistakes to avoid
- Skipping the zero reading.
- Using a 50 A module for milliamp loads.
- MAX471 on the low side or with reversed current.
- Thin wires on the load side.
Frequently asked questions
Which is most accurate for small currents?
ACS723 (5 A) or MAX471 (3 A) among these.
Can they measure AC?
Hall types can; MAX471 cannot.
Do I need isolation?
For mains or high-voltage loads, use Hall types and keep mains wiring to qualified people.
3.3 V boards?
Some modules run on 3.3 V; others need 5 V and a scaled output.
Why is my reading not zero with no load?
Offset and magnetic fields nearby; take a zero at start-up.
Parts for this guide
Keep learning
Sources
- Winson WCS2720 datasheet
- Allegro ACS723 datasheet
- Maxim MAX471 datasheet
- DFRobot Gravity current sensor wiki
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

