Вы находитесь на странице: 1из 3

Log in

Page Discussion Read View source View history Search Elecrow

ACS712 Current Sensor- 5A


Contents [hide]

Elecrow Bazaar 1 Description


2 Features
Manu 3 Usage
Main page 4 Resource
recent changes
Random page
Help about MediaWiki Description
Sensing and controlling current flow is a fundamental requirement in a wide variety of applications including, over-
Tools
current protection circuits, battery chargers, switching mode power supplies, digital watt meters, programmable current
What links here
sources, etc. This ACS721 current module is based on ACS712 sensor, which can accurately detect AC or DC current.
Related changes
The maximum AC or DC that can be detected can reach 5A, and the present current signal can be read via analog I / O
Special pages
port of Arduino.
Printable version
Permanent link Model:SEL7125A
Page information

Features
Supply Voltage: 4.5V~5.5V DC
Measure Current Range: -5A~ 5A
Sensitivity: 180mV/A ~190mV/A, Typical: 185mV/A

Usage
Arduino test the crrrent.

1.Hardware connection
600px

Notice:Current sensor can not directly connect on both ends of the power supply.

2.Connect the board to PC using USB cable.

3.Upload the following sample sketch:

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

void loop() {
float average = 0;
for(int i = 0; i < 1000; i++) {
average = average + (.0264 * analogRead(A0) -13.51);//for the 5A mode,
// average = average + (.049 * analogRead(A0) -25);// for 20A mode
// average = average + (.742 * analogRead(A0) -37.8);// for 30A mode
delay(1);
}
Serial.print("Current :");
Serial.print(average/1000);
Serial.println("A");
}

4.Open the serial monitor.You can see the current you test.
Resource
Demo code
ACS712.pdf

Category: Pages with broken file links

This page was last edited on 22 August 2019, at 05:09.

Privacy policy About Elecrow Disclaimers

Вам также может понравиться