SZYTF ACS712

Contents

ACS712 Hall Current Sensor Module User Manual

Model: ACS712

1. Introduction

The SZYTF ACS712 Hall Current Sensor Module is a high-precision current measurement solution designed for Arduino projects and various electronic applications. It accurately measures AC/DC currents up to ±30A with a resolution of 66mV/A, making it ideal for monitoring motor drives, power supplies, and energy systems.

This module utilizes Hall Effect technology to ensure stable and precise readings. Its plug-and-play design allows for easy integration with microcontrollers like Arduino and Raspberry Pi.

ACS712 Hall Current Sensor Module, top view showing green terminal block and 3-pin header
Figure 1: ACS712 Hall Current Sensor Module (Top View)

2. Safety & Warnings

Please read and understand these safety instructions before using the module to ensure safe operation and prevent damage to the device or injury.

  • Overcurrent Risk: Do NOT exceed the maximum rated current of ±30A. Overload may damage the module permanently.
  • Power Connection: Ensure correct wiring. Reversed power/ground connection may destroy the module.
  • Magnetic Interference: Avoid placing the module near strong magnetic fields (e.g., motors, transformers) to prevent inaccurate readings. The ACS712 is based on the Hall detection principle, and external magnetic fields can affect its performance.
  • High Voltage Warning: This module is designed for low-voltage applications only (max 26V). Do NOT use for high-voltage systems.
  • Handling Caution: Wear insulated gloves when measuring currents above 10A to prevent electric shock.

3. Setup

3.1. Wiring Guide

Follow these steps to correctly wire your ACS712 module:

  1. Power Supply: Connect 5V to the module's VCC pin and GND to the ground.
  2. Current Input: Pass the current-carrying wire through the sensor's central hole (ensure full insertion). The module has terminals labeled IP+ and IP- for current input.
  3. Signal Output: Connect the OUT pin to an analog input pin (e.g., A0) on your Arduino or microcontroller.
ACS712 Hall Current Sensor Module, bottom view showing current ratings 5A, 10A, 20A, 30A, 40A, 50A
Figure 2: ACS712 Module Bottom View with Current Range Selection (Note: This manual focuses on the 30A range module)

3.2. Configuration

Before taking measurements, ensure the module is correctly configured:

  • Calibration: With no current flowing through the sensor, the output voltage (from the OUT pin) should be approximately VCC/2 (e.g., 2.5V if powered by 5V). This is the zero-current output.

4. Operation

4.1. Current Calculation Formula

The output voltage (Vout) from the sensor is proportional to the detected current. You can calculate the current using the following formulas:

  • Output Voltage (Vout) = (Vcc / 2) + (Current × 0.066 V/A)
  • Current = (Vout - Vcc / 2) / 0.066

Where:

  • Vout is the analog voltage read from the OUT pin.
  • Vcc is the supply voltage (typically 5V).
  • 0.066 V/A (or 66mV/A) is the output sensitivity for the ±30A version of the ACS712.

4.2. Example Code for Arduino

Here is an example Arduino sketch to read current from the ACS712 module:


int sensorPin = A0; // Analog input pin connected to OUT
float voltage, current;

void setup() {
  Serial.begin(9600);
}

void loop() {
  voltage = (analogRead(sensorPin) * 5.0) / 1024; // Convert analog reading to voltage (assuming 5V reference)
  current = (voltage - 2.5) / 0.066; // Calculate current in amps (assuming 2.5V zero-current output for 5V VCC)

  Serial.print("Current: ");
  Serial.print(current);
  Serial.println(" A");

  delay(1000);
}

        

Note: The analogRead() function returns a value from 0 to 1023 for a 10-bit ADC. The 5.0 in the voltage calculation assumes a 5V analog reference. Adjust 2.5 if your VCC is different (it should be VCC/2).

5. Maintenance & Storage

  • Cleaning: Use a dry, soft cloth to wipe the module. Do NOT use liquids or solvents, as they may damage the electronic components.
  • Storage: Keep the module in a dry environment with relative humidity below 75% and a temperature between -20°C to +70°C. For long-term storage, wrap the module in anti-static packaging to prevent dust, moisture damage, and electrostatic discharge.

6. Troubleshooting

  • Inaccurate Readings:
    • Check for nearby strong magnetic fields (motors, transformers) that might interfere with the Hall Effect sensor.
    • Ensure the current-carrying wire is fully inserted through the sensor's central hole.
    • Verify your VCC/2 reference voltage in the code matches your actual supply voltage.
    • Confirm the correct output sensitivity (66mV/A for the ±30A version) is used in your calculations.
  • No Output/Module Not Working:
    • Check power connections (VCC and GND) for correct polarity and voltage (5V).
    • Ensure the module is not damaged by overcurrent or reversed polarity.
    • Verify the OUT pin is correctly connected to an analog input on your microcontroller.
  • Module is not decreasing amperage consumption: This module is a current sensor designed to measure the current flowing through a circuit. It does not actively control, limit, or decrease the amperage consumption in a circuit.

7. Specifications

Parameter Specification
Sensor Chip ACS712ELC-30A
Supply Voltage (VCC) 5V DC
Measurement Range ±30A (AC/DC)
Output Sensitivity 66mV/A
Zero Current Output VCC/2 (e.g., 2.5V at 5V VCC)
Operating Temperature -40°C to +125°C
Dimensions (L x W x H) 31mm x 13mm x 5mm

8. Disposal & Recycling

Please dispose of this product responsibly to protect the environment.

  • Environmental Compliance: Dispose of electronic waste in accordance with local regulations.
  • Recycling: Recycle PCB components through certified e-waste recycling programs.
  • Hazardous Materials: Do NOT landfill or incinerate the module, as it contains lead (Pb) and other hazardous materials in solder.

9. User Tips

  • Understand its Function: Remember that the ACS712 is a current sensor, meaning its primary function is to measure the current flowing through a circuit. It does not actively control, limit, or decrease the amperage consumption in a circuit.
  • Minimize Magnetic Interference: Due to its Hall Effect principle, the sensor is susceptible to external magnetic fields. Always try to position the module away from motors, transformers, or other sources of strong magnetic fields to ensure accurate readings.
  • Check Zero-Current Output: Before taking critical measurements, always verify the zero-current output voltage (VCC/2) to ensure proper calibration and baseline.

10. Warranty & Support

For detailed warranty information and technical support, please refer to the official product page or contact the seller directly. Additional resources, including a user manual in PDF format, may be available for download from the product listing or the manufacturer's website. You can find a PDF user manual here.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.