30A Hall Current Sensor Module ACS712


৳ 210.00

The ACS712 Current Sensor is a product of Allegro MicroSystems that can be used for precise measurement of both AC and DC currents. This sensor is based on Hall Effect and the IC has an integrated Hall Effect device.

Coming to the output of the ACS712 Current Sensor, it produces an analog voltage that is proportional to AC or DC currents (whichever is being sensed).

Feataures

  • The current sensor chips: ACS712ELC-30A
  • Pin 5V power supply, on-board power indicator
  • The module can be measured plus or minus 30A current,
  • No test current through the output voltage is VCC / 2;
  • PCB board size: 31 (mm) x13 (mm);

 

 

Code

#include <LiquidCrystal.h>

LiquidCrystal lcd(7, 6, 5, 4, 3, 2);

const int currentPin = A0;
int sensitivity = 66;
int adcValue= 0;
int offsetVoltage = 2500;
double adcVoltage = 0;
double currentValue = 0;

void setup()
{
Serial.begin(9600);
lcd.begin(16, 2);
lcd.print(” Current Sensor “);
lcd.setCursor(0,1);
lcd.print(” with Arduino “);
delay(2000);
}

void loop()
{
adcValue = analogRead(currentPin);
adcVoltage = (adcValue / 1024.0) * 5000;
currentValue = ((adcVoltage – offsetVoltage) / sensitivity);

Serial.print(“Raw Sensor Value = ” );
Serial.print(adcValue);

lcd.clear();
delay(1000);
//lcd.display();
lcd.setCursor(0,0);
lcd.print(“ADC Value = “);
lcd.setCursor(12,0);
lcd.print(adcValue);

delay(2000);

Serial.print(“\t Voltage(mV) = “);
Serial.print(adcVoltage,3);

lcd.setCursor(0,0);
lcd.print(“V in mV = “);
lcd.setCursor(10,0);
lcd.print(adcVoltage,1);

delay(2000);

Serial.print(“\t Current = “);
Serial.println(currentValue,3);

lcd.setCursor(0,0);
lcd.print(“Current = “);
lcd.setCursor(10,0);
lcd.print(currentValue,2);
lcd.setCursor(14,0);
lcd.print(“A”);
delay(2500);
}

Based on 0 reviews

0.0 overall
0
0
0
0
0

Be the first to review “30A Hall Current Sensor Module ACS712”

There are no reviews yet.