Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use SparkFun_ACS723_Current_Sensor_Breakout: Examples, Pinouts, and Specs

Image of SparkFun_ACS723_Current_Sensor_Breakout
Cirkit Designer LogoDesign with SparkFun_ACS723_Current_Sensor_Breakout in Cirkit Designer

Introduction

The SparkFun ACS723 Current Sensor Breakout is a versatile and robust module designed for measuring AC or DC currents. Utilizing the Allegro ACS723 Hall effect current sensor, it provides an analog voltage output that is proportional to the current passing through the sensor. This breakout is ideal for applications such as power supply monitoring, battery chargers, and current monitoring in various electronic projects.

Explore Projects Built with SparkFun_ACS723_Current_Sensor_Breakout

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Wemos S2 Mini Controlled Smart Device with OLED Display, Thermal Printing, and RGB LED Strip
Image of DT NEA - Noah Patel: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA
Image of bencana banjir: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
This circuit is a sensor network powered by a LiPo battery through a step-down buck converter, which supplies power to multiple ESP32 microcontrollers, a BNO055 IMU, an ultrasonic sensor, and a pressure sensor. The ESP32 microcontrollers handle data acquisition from the sensors and are programmed to process and transmit this data. The sensors are connected to the ESP32s via I2C and GPIO pins for communication and data collection.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Current Monitoring and Temperature Sensing System
Image of SISTEMA DE MONITOREO: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Energy Monitoring and Control System
Image of smart: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
This circuit utilizes an ESP32 microcontroller to read from an ACS712 current sensor, a voltage sensor, and a DHT11 temperature and humidity sensor. It displays information on a 16x2 I2C LCD and controls a DC motor through a relay, with a buzzer for audible notifications. The circuit is powered by a 3.7V power source.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with SparkFun_ACS723_Current_Sensor_Breakout

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of DT NEA - Noah Patel: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
Wemos S2 Mini Controlled Smart Device with OLED Display, Thermal Printing, and RGB LED Strip
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of bencana banjir: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA
This circuit is a sensor network powered by a LiPo battery through a step-down buck converter, which supplies power to multiple ESP32 microcontrollers, a BNO055 IMU, an ultrasonic sensor, and a pressure sensor. The ESP32 microcontrollers handle data acquisition from the sensors and are programmed to process and transmit this data. The sensors are connected to the ESP32s via I2C and GPIO pins for communication and data collection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SISTEMA DE MONITOREO: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
ESP32-Based Current Monitoring and Temperature Sensing System
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of smart: A project utilizing SparkFun_ACS723_Current_Sensor_Breakout in a practical application
ESP32-Based Smart Energy Monitoring and Control System
This circuit utilizes an ESP32 microcontroller to read from an ACS712 current sensor, a voltage sensor, and a DHT11 temperature and humidity sensor. It displays information on a 16x2 I2C LCD and controls a DC motor through a relay, with a buzzer for audible notifications. The circuit is powered by a 3.7V power source.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Over-current protection circuits
  • Battery chargers and management systems
  • Power supply monitoring
  • Energy metering
  • Motor control feedback

Technical Specifications

Key Technical Details

  • Supply Voltage (VCC): 4.5V to 5.5V
  • Sensing Current Range: +/-31A
  • Output Sensitivity: 400 mV/A
  • Bandwidth: 80 kHz
  • Isolation Voltage: 2.4 kV
  • Operating Temperature: -40°C to 150°C

Pin Configuration and Descriptions

Pin Number Name Description
1 VCC Supply voltage for the sensor (4.5V to 5.5V)
2 GND Ground reference for the sensor
3 OUT Analog voltage output proportional to the current
4 FLTR Output filter pin, can be left unconnected for default filter settings
5 IP+ Current input, connect to the positive side of the current path
6 IP- Current input, connect to the negative side of the current path

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Sensor: Connect the VCC pin to a 4.5V to 5.5V power supply and the GND pin to the common ground.

  2. Current Sensing: Place the sensor in series with the load such that the current you wish to measure flows through IP+ to IP-.

  3. Reading the Output: Connect the OUT pin to an analog input on your microcontroller to read the voltage proportional to the current.

Important Considerations and Best Practices

  • Ensure that the current does not exceed the maximum rating of +/-31A to prevent damage to the sensor.
  • Avoid placing the sensor near strong magnetic fields that could interfere with the Hall effect measurement.
  • Use twisted pair wires for IP+ and IP- to minimize the effect of external noise on the current measurement.
  • If higher resolution is needed, consider using an operational amplifier to amplify the sensor output before reading it with a microcontroller.

Example Code for Arduino UNO

// SparkFun ACS723 Current Sensor Example for Arduino UNO

const int analogInPin = A0; // Analog input pin connected to OUT

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 bits per second
}

void loop() {
  int sensorValue = analogRead(analogInPin); // Read the sensor output
  float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage
  float current = voltage / 0.4; // Convert voltage to current (sensitivity is 400mV/A)

  // Print the current reading to the Serial Monitor
  Serial.print("Current: ");
  Serial.print(current);
  Serial.println(" A");

  delay(1000); // Wait for a second before taking another reading
}

Troubleshooting and FAQs

Common Issues

  • Inaccurate Readings: Ensure that the sensor is properly calibrated and that there are no strong magnetic fields interfering with the sensor.
  • No Output Voltage: Check the connections to ensure that the sensor is powered and that the current path is correctly set up through IP+ and IP-.

Solutions and Tips for Troubleshooting

  • If the output seems noisy, consider adding a capacitor between the FLTR pin and ground to adjust the filter settings.
  • For more stable readings, average multiple sensor readings.
  • Ensure that the power supply is stable and within the specified voltage range.

FAQs

Q: Can I measure current in both directions? A: Yes, the ACS723 can measure both positive and negative currents up to +/-31A.

Q: What is the resolution of the sensor? A: The resolution depends on the analog-to-digital converter (ADC) of the microcontroller. For a 10-bit ADC like on the Arduino UNO, the resolution is approximately 4.9 mA per bit (5V/1023 steps/0.4 V/A).

Q: Is the sensor isolated from the high current path? A: Yes, the sensor provides galvanic isolation up to 2.4 kV between the current path and the sensor outputs.