ACS712 Current Sensor Module
Measures AC or DC current for energy monitoring projects.
The ACS712 is a Hall-effect based linear current sensor IC that measures AC or DC current by sensing the magnetic field generated as current flows through an internal low-resistance conductor, with the input and output sides fully isolated. It outputs a simple analog voltage proportional to current, centered at half of the supply voltage, making it a popular building block for energy monitors, overcurrent protection circuits, and battery/motor current logging in maker projects.
Specifications
| Sensor type | Hall-effect linear current sensor with internal galvanic isolation |
| Operating voltage | 5V DC |
| Output | Analog voltage centered at Vcc/2 (~2.5V at 5V), scaling up or down with current direction |
| Current range variants | ±5A, ±20A, or ±30A, selected by the specific ACS712 part number |
| Sensitivity | 185 mV/A (5A version), 100 mV/A (20A version), 66 mV/A (30A version) |
| Bandwidth | 80 kHz typical, suitable for both AC and DC current sensing |
| Internal resistance | ~1.2 mΩ conductor path, minimal voltage drop and power loss |
| Interface | Analog output — read directly with an ADC / analogRead() |
Pinout
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power, 5V DC |
| 2 | GND | Ground |
| 3 | OUT | Analog output voltage, proportional to sensed current |
| 4 | IP+ | Current path input terminal — wire in series with the load/source being measured |
| 5 | IP- | Current path output terminal — completes the series current loop |
IP+ and IP- carry the actual load current and must be wired in series with the circuit being measured (not in parallel like a voltmeter); VCC/GND/OUT are the separate low-power signal side. Because the output rides on a Vcc/2 offset, most projects calibrate the zero-current reading in software before scaling by the sensitivity constant for their specific part variant.
Variants
Pick the ACS712 current range based on your expected peak current — oversizing the range (e.g. using the 30A part to measure a 500mA load) sacrifices resolution. If you'd rather skip analog calibration entirely and want power (watts) readings too, the INA219 is a solid I2C alternative.
| Variant | Temp range | Hum range | Accuracy | Protocol | Price |
|---|---|---|---|---|---|
| ACS712-05B (±5A) | ~$1-3 | ||||
| ACS712-20A (±20A) | ~$1-3 | ||||
| ACS712-30A (±30A) | ~$1-3 | ||||
| INA219 | ~$2-5 |