The ACS712-30A is a Hall effect-based linear current sensor designed to measure both AC and DC currents up to ±30A. It outputs an analog voltage proportional to the current flowing through it, allowing for precise current monitoring. The sensor is compact, easy to use, and widely employed in applications requiring current measurement and control.
Explore Projects Built with Sensor Arus (ACS712-30A)
Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
This circuit is designed to measure current using an ACS712 Current Sensor and temperature using a DS18B20 sensor, with an ESP32 microcontroller to process and possibly communicate the sensor data. The ACS712 sensor output is connected to one of the ESP32's analog input pins (D34), while the DS18B20's signal line is interfaced with a digital input pin (D23) through a pull-up resistor (4.7k Ohms). The ESP32 is powered through its Vin pin, and both sensors share a common ground with the ESP32.
This circuit features a Wemos S2 Mini microcontroller that controls a WS2812 RGB LED strip and communicates with a 0.96" OLED display and a 58mm mini thermal printer. The ACS712 Current Sensor is interfaced with the microcontroller to monitor current, and power is managed by a CD42 BMS connected to two 18650 Li-ion batteries, with a USB-C PD Trigger Board for power delivery. The circuit is designed for visual output (LED strip, OLED display), printing capabilities, and current sensing, likely for a portable, battery-powered monitoring and display device.
This circuit is designed to monitor voltage and current using ACS712 current sensors and voltage sensors, calculate power, and control lighting via relay modules. It features an Arduino Uno R3 for processing sensor data and executing control logic, which includes sending alerts via a GSM module (sim 800l) if power falls below a threshold and connecting to WiFi using an ESP8266 module. The circuit also includes a battery with a charging module (TP4056), a step-up boost converter, and multiple AC power supplies with circuit breakers for safety.
This circuit appears to be a multi-channel current monitoring system using several ACS712 current sensors to measure the current through different loads, likely bulbs connected to a 220V power source. The current readings from the sensors are digitized by an Adafruit ADS1115 16-bit ADC, which interfaces with an ESP32 microcontroller via I2C communication for further processing or telemetry. A buck converter is used to step down the voltage to power the ESP32 and the sensors, and the system is powered through a 2.1mm DC barrel jack, indicating it is designed for external power supply.
Power monitoring in household and industrial devices
Overcurrent protection in circuits
Battery management systems
Motor control and monitoring
Energy metering in renewable energy systems
Technical Specifications
The ACS712-30A sensor is built for high accuracy and reliability. Below are its key technical details:
Parameter
Value
Supply Voltage (Vcc)
4.5V to 5.5V
Current Measurement Range
±30A
Sensitivity
66mV/A
Output Voltage Range
0.5V to 4.5V
Zero Current Output
~2.5V
Response Time
5 µs
Bandwidth
80 kHz
Operating Temperature
-40°C to 85°C
Dimensions
27mm x 11mm x 13mm
Pin Configuration and Descriptions
The ACS712-30A module typically has three pins for interfacing:
Pin
Name
Description
1
Vcc
Power supply input (4.5V to 5.5V)
2
Out
Analog voltage output proportional to the current
3
GND
Ground connection
Usage Instructions
How to Use the ACS712-30A in a Circuit
Power the Sensor: Connect the Vcc pin to a 5V power supply and the GND pin to the ground.
Connect the Load: Pass the current-carrying wire through the sensor's onboard Hall effect sensing loop.
Read the Output: Measure the voltage at the Out pin using an analog-to-digital converter (ADC) or a multimeter. The output voltage will vary linearly with the current.
Important Considerations
Calibration: The sensor's output at zero current is approximately 2.5V. Ensure proper calibration in your circuit or software to account for this offset.
Noise Filtering: Add a capacitor (e.g., 0.1µF) between the Out pin and GND to reduce noise in the output signal.
Current Direction: Positive and negative currents are indicated by output voltages above and below 2.5V, respectively.
Avoid Overcurrent: Do not exceed the ±30A current rating to prevent damage to the sensor.
Example: Using ACS712-30A with Arduino UNO
Below is an example code to read current using the ACS712-30A sensor with an Arduino UNO:
// Define the analog pin connected to the ACS712 output
const int sensorPin = A0;
// Sensitivity of the ACS712-30A (66mV per Ampere)
const float sensitivity = 0.066; // in volts per ampere
// Zero current output voltage (approximately 2.5V)
const float zeroCurrentVoltage = 2.5; // in volts
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
// Read the raw analog value from the sensor
int rawValue = analogRead(sensorPin);
// Convert the raw value to voltage (assuming 5V reference)
float voltage = (rawValue / 1023.0) * 5.0;
// Calculate the current in Amperes
float current = (voltage - zeroCurrentVoltage) / sensitivity;
// Print the current to the Serial Monitor
Serial.print("Current: ");
Serial.print(current);
Serial.println(" A");
delay(1000); // Wait for 1 second before the next reading
}
Notes:
Ensure the Arduino's A0 pin is connected to the Out pin of the ACS712-30A.
Use a stable 5V power supply for accurate readings.
Adjust the zeroCurrentVoltage value if the sensor's zero-current output deviates from 2.5V.
Troubleshooting and FAQs
Common Issues and Solutions
Inaccurate Readings:
Cause: Improper calibration or noisy output.
Solution: Calibrate the sensor by measuring the zero-current output voltage and adjust the software accordingly. Add a capacitor (e.g., 0.1µF) between the Out pin and GND to filter noise.
Output Voltage Stuck at 2.5V:
Cause: No current is flowing through the sensor.
Solution: Verify that the current-carrying wire is properly passed through the sensor's loop.
Sensor Overheating:
Cause: Current exceeds the ±30A limit.
Solution: Ensure the current through the sensor does not exceed its rated range.
Fluctuating Output:
Cause: Electrical noise or unstable power supply.
Solution: Use a decoupling capacitor on the power supply and ensure a stable 5V input.
FAQs
Q1: Can the ACS712-30A measure both AC and DC currents?
Yes, the ACS712-30A can measure both AC and DC currents within the ±30A range.
Q2: What is the resolution of the sensor?
The resolution depends on the ADC used. For example, with a 10-bit ADC (e.g., Arduino UNO), the resolution is approximately 0.029A per step.
Q3: How do I protect the sensor from overcurrent?
Use a fuse or circuit breaker rated for 30A to protect the sensor from overcurrent conditions.
Q4: Can I use the ACS712-30A with a 3.3V microcontroller?
Yes, but ensure the Out pin voltage does not exceed the ADC input range of the microcontroller. Use a voltage divider if necessary.
Q5: What is the bandwidth of the ACS712-30A?
The sensor has a bandwidth of 80 kHz, making it suitable for high-frequency current measurements.