075582814553
What is ACS712 Current Sensor Module and How Does it Work?

FREE-SKY (HK) ELECTRONICS CO.,LIMITED / 07-20 20:14

The ACS712 current sensor module is a widely used Hall-effect–based device designed to measure both AC and DC current in electronic systems. This article will discuss the ACS712 module overview, pinout, specifications, features, wiring method, programming process, applications, comparison, and performance considerations.


Catalog

1. ACS712 Current Sensor Module
2. ACS712 Sensor Module Pinout
3. ACS712 Sensor Module Specifications
4. ACS712 Sensor Module Features
5. How to Utilize ACS712 Sensor Module
6. How to Program ACS712 Sensor Module
7. ACS712 Sensor Module Applications
8. Comparison: ACS712 Sensor vs INA219
9. Mechanical Dimensions
10. Advantages & Limitations
11. Conclusion
ACS712 Current Sensor Module

ACS712 Current Sensor Module

The ACS712 current sensor module is a compact device used to measure both AC and DC current in electronic circuits. It is based on the ACS712 Hall-effect current sensor IC developed by Allegro MicroSystems. This module converts the measured current into a proportional analog voltage, making it easy to interface with microcontrollers such as Arduino, Raspberry Pi, and other embedded systems.

The sensor works by detecting the magnetic field generated when current flows through its internal conductor. The output voltage is centered around half of the supply voltage (typically 2.5V when powered by 5V). When current flows in one direction, the output voltage increases; when it flows in the opposite direction, the voltage decreases. This allows accurate bidirectional current measurement. The ACS712 module is available in different current ranges, such as ±5A, ±20A, and ±30A (ACS712-05B, ACS712-20A , ACS712-30A).

If you are interested in purchasing the ACS712 Current Sensor Module, feel free to contact us for pricing and availability.

ACS712 Sensor Module Pinout

ACS712 Sensor Module Pinout
Pin / Terminal
Label on Module
Description
1
IP+ (Screw Terminal)
Connect to the positive side of the load or power source. Current enters here.
2
IP− (Screw Terminal)
Connect to the load or power source negative side. Current exits here.
3
VCC
Power supply input (typically +5V).
4
OUT
Analog output voltage proportional to measured current.
5
GND
Ground connection for power supply and signal reference.

ACS712 Sensor Module Specifications

Parameter
ACS712-05B (5A)
ACS712-20A
ACS712-30A
Supply Voltage (VCC)
5V DC (4.5V – 5.5V)
5V DC (4.5V – 5.5V)
5V DC (4.5V – 5.5V)
Measurement Range
-5A to +5A
-20A to +20A
-30A to +30A
Sensitivity (Scale Factor)
185 mV/A
100 mV/A
66 mV/A
Output Voltage at 0A
VCC/2 (≈2.5V)
VCC/2 (≈2.5V)
VCC/2 (≈2.5V)
Output Type
Analog Voltage
Analog Voltage
Analog Voltage
Isolation Voltage
2.1 kVRMS (minimum)
2.1 kVRMS (minimum)
2.1 kVRMS (minimum)
Bandwidth
80 kHz
80 kHz
80 kHz
Response Time
5 µs
5 µs
5 µs
Operating Temperature
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
Internal Conductor Resistance
1.2 mΩ
1.2 mΩ
1.2 mΩ
Chip Part Number
ACS712ELCTR-05B
ACS712ELCTR-20A
ACS712ELCTR-30A

ACS712 Sensor Module Features

Measures Both AC and DC Current

The ACS712 sensor module can measure both alternating current (AC) and direct current (DC). This makes it suitable for a wide range of applications such as power supplies, battery monitoring, motor control, and inverter systems.

Hall-Effect Based Sensing

The module uses Hall-effect technology to detect the magnetic field generated by current flow. Since it measures the magnetic field instead of making direct electrical contact, it provides safer and more reliable current detection.

Electrical Isolation

The ACS712 provides internal electrical isolation (up to 2.1kVRMS) between the current path and the output signal pins. This protects low-voltage microcontrollers from high-voltage circuits.

Analog Voltage Output

The sensor outputs a linear analog voltage proportional to the measured current. The output is centered at VCC/2 (around 2.5V when powered by 5V), making it easy to interface with ADC inputs of microcontrollers.

Multiple Current Ranges Available

The module is available in ±5A, ±20A, and ±30A versions. This allows users to choose the correct range based on their application requirements.

Low Internal Conductor Resistance

With an internal resistance of approximately 1.2 milliohms, the sensor introduces minimal power loss and heat generation in the circuit.

Fast Response Time

The ACS712 has a typical response time of 5 microseconds and a bandwidth of 80 kHz, making it suitable for detecting fast-changing currents.

Compact and Easy to Use Module

The breakout board includes screw terminals for high-current connections and standard header pins for signal output, allowing quick and simple integration into electronic projects.

How to Utilize ACS712 Sensor Module

The diagram shows how to properly connect and use the ACS712 Current Sensor Module in a circuit. The module is placed in series with the load, meaning the current that flows from the power source to the load must pass through the ACS712 sensor. One terminal of the sensor connects to the positive side of the power source, and the other terminal connects to the load. This allows the sensor to detect the magnetic field created by the flowing current and measure it accurately.

How to Utilize ACS712 Sensor Module

On the signal side, the module connects to a microcontroller. The VCC pin is connected to a 5V supply from the microcontroller, and the GND pin is connected to the system ground to ensure a common reference. The OUT pin is connected to an analog input pin of the microcontroller. This pin outputs a voltage proportional to the measured current.

When no current flows, the output voltage is approximately half of VCC (around 2.5V). As current increases or changes direction, the output voltage shifts higher or lower, allowing the microcontroller to calculate the current value.

How to Program ACS712 Sensor Module

The ACS712 current sensor module does not require programming inside the sensor itself. Instead, you connect its output to a microcontroller such as an Arduino Uno and read the analog voltage it produces. The sensor outputs a voltage centered at half of the supply voltage. If powered with 5 V, the output is about 2.5 V when no current flows.

To use it, connect VCC to 5 V, GND to ground, and the OUT pin to an analog input like A0. The load must be placed in series with the IP+ and IP– terminals. In the code, read the analog value using analogRead(), then convert that value to voltage by multiplying it by 5.0 and dividing by 1023. After that, subtract the zero-current offset (usually around 2.5 V). Finally, divide the result by the sensor’s sensitivity. The sensitivity depends on the module version: 185 mV/A for 5A, 100 mV/A for 20A, and 66 mV/A for 30A.

For better accuracy, take several readings and average them to reduce noise. You can also measure the actual zero-current voltage and use it as your offset for calibration. For AC measurements, sample repeatedly and calculate the RMS value. By following these steps, you can accurately measure current using the ACS712 module.

ACS712 Sensor Module Applications

• Power supply current monitoring

• Battery charging and discharging monitoring

• Solar power system current measurement

• Motor current monitoring

• Overcurrent protection circuits

• Uninterruptible Power Supply (UPS) systems

• Inverter current sensing

• Home energy monitoring systems

• Load detection systems

• Industrial equipment current measurement

• Robotics current control

• Electric vehicle current sensing

Comparison: ACS712 Sensor vs INA219

Feature
ACS712 Sensor
INA219 Sensor
Measurement Type
Measures AC and DC current
Measures DC current only
Output Type
Analog voltage output
Digital I2C output
Interface
Analog pin (ADC required)
I2C communication
Current Range
±5A, ±20A, ±30A versions
Depends on shunt resistor (commonly ±3.2A default)
Voltage Measurement
Current only
Measures both current and bus voltage
Power Calculation
External calculation required
Built-in power calculation
Isolation
Hall-effect isolation
No isolation (shunt-based)
Accuracy
Moderate
Higher accuracy
Noise Level
More sensitive to noise
More stable digital output
Calibration
Manual offset calibration
Software calibration via registers
Typical Applications
Motor control, AC monitoring, inverters
Battery monitoring, power management, DC systems
Microcontroller Load
Requires ADC processing
Minimal processing via I2C

Mechanical Dimensions

Mechanical Dimensions

Advantages & Limitations

ACS712 Module Advantages

• Measures both AC and DC current

• Provides electrical isolation (Hall-effect sensing)

• Simple analog output interface

• Easy to connect with microcontrollers

• Available in multiple current ranges (5A, 20A, 30A)

• Low cost and widely available

• Compact module size

ACS712 Module Limitations

• Moderate accuracy compared to digital sensors

• Output is sensitive to electrical noise

• Requires ADC and signal processing

• Needs manual zero-offset calibration

• Limited resolution due to analog output

• Temperature drift can affect accuracy

• Not ideal for very low current measurement

Conclusion

The ACS712 current sensor module with its hall-effect sensing technology provides electrical isolation, low internal resistance, and fast response, while its analog output allows easy integration with microcontrollers. By understanding its specifications, pin configuration, sensitivity values, and proper programming method, you can achieve accurate current measurement for power monitoring, protection circuits, and control systems.


Processed in 0.065402 Second , 24 querys.