ACS712 Low Current Sensor Hookup Guide

This Tutorial is Retired!

Note: This tutorial is for the ACS712 Current Sensor Breakout Boards. If you are using either of the newer ACS723 Breakout Boards, please refer to the new Current Sensor Breakout (ACS723) Hookup Guide.

View the updated tutorial: Current Sensor Breakout (ACS723) Hookup Guide

Pages
Contributors: AGlass0fMilk
Favorited Favorite 1

Hardware Overview

This section will explore the various segments of the breakout.

ACS712 Board Picture

ACS712 Breakout Details:

  • Analog output with bandwidth adjustable to 80kHz.
  • The bandwidth on the ACS712 Low Current Sensor Breakout with filter has been set to 34kHz to reduce noise when using at high gains. The full 80KHz bandwidth that the sensor is capable of can be recovered by removing C1. See schematic for more details.
  • Measures DC and AC currents from around 10mA up to 5A
  • Adjustable sensitivity with on-board amplifier, gain from 4.27 to 47 V/V
  • The version without the op-amp has a base sensitivity of 185mV/A
  • Full electrical isolation of measured and sensed circuits
Please Note: Although the chip itself is rated for up to 2.1kV (RMS) of isolation, the board has not been designed for such high voltage applications.

Below is a list of all the pins broken out on the ACS712 and their function.

SymbolDescription
IP+High side of current sensor
IP-Low side of current sensor
GNDMust be connected to ground
VoVoltage output proportional to current flowing through IP+ and IP-
5V5V power supply

To measure a current using this device, the current must flow through the IP+ terminal and out the IP- terminal (it will work in the other direction, but the measurement will be negative). IE: These terminals must be in series with the circuit the measured current is flowing through. Note that both IP+ and both IP- terminals are connected to each other, you can use either (or both) of them.

This amplified version of the breakout board has two potentiometers on it: Vref and Gain

The Vref potentiometer sets the baseline voltage output. In other words, it adjusts the voltage seen at Vo when there is no current flowing through the sensor (0 mA). This allows the sensor to output negative current readings as well as positive.

ACS712 Vref Potentiometer

Vref potentiometer, highlighted

The gain potentiometer sets the sensitivity of the device. For example, if the gain is set high, then a smaller current will cause the voltage output to increase more, giving you higher sensitivity and allowing you to sense smaller currents.

ACS712 Gain Potentiometer

Gain potentiometer, highlighted

However there are a couple caveats:

  1. With higher gain you will see more noise (spikes) on the output, so smaller currents will be harder to measure accurately.
  2. If you are trying to measure larger currents with a high gain setting, your output will saturate or clip and reach the maximum 5V or 0V.

With that in mind, to get meaningful data from the current sensor, you must configure the Vref and gain potentiometers properly.