SENSOR CORRIENTE CA SCT-013-000 30AMP. NO INVASIVO PARA TRAFOS DE NUCLEO DIVIDIDO
Descripción:
Intensidad: 30 Amp.
Tamaño de apertura: 13 mm x 13 mm
No linealidad 3% (10% -120% de corriente de entrada nominal)
Cable principal de 1,5 m, salida estándar de enchufe de 33,5 3 núcleos.
Dos formas de corriente de salida, voltaje (salida de voltaje incorporada en la resistencia de muestreo).
Temperatura de funcionamiento: -25 C ~ +70 C
SAMPLE CODE:
const unsigned int numReadings = 200; //samples to calculate Vrms.
int readingsVClamp[numReadings]; // samples of the sensor SCT-013-000
int readingsGND[numReadings]; // samples of the virtual ground
float SumSqGND = 0;
float SumSqVClamp = 0;
float total = 0;
int PinVClamp = A0; // Sensor SCT-013-000
int PinVirtGND = A1; // Virtual ground
void setup() {
Serial.begin(9600);
// initialize all the readings to 0:
for (int thisReading = 0; thisReading readingsVClamp[thisReading] = 0;
readingsGND[thisReading] = 0;
}
}
void loop() {
unsigned int i=0;
SumSqGND = 0;
SumSqVClamp = 0;
total = 0;
for (unsigned int i=0; i {
readingsVClamp[i] = analogRead(PinVClamp) - analogRead(PinVirtGND);
delay(1); //
}
//Calculate Vrms
for (unsigned int i=0; i {
SumSqVClamp = SumSqVClamp + sq((float)readingsVClamp[i]);
}
total = sqrt(SumSqVClamp/numReadings);
total= (total*(float)2/3); // Rburden=3300 ohms, LBS= 0,004882 V (5/1024)
// Transformer of 2000 laps (SCT-013-000).
// 5*220*2000/(3300*1024)= 2/3 (aprox)
Serial.println(total);
delay(1500);
}
Share this: