Atur jumlah dan catatan
Stok Total: 300
Subtotal
Rp39.000
(0_0) ACS712 Current Sensor 30A Current Sensor Arus for Arduino ("_")
Rp39.000
- Kondisi: Baru
- Min. Pemesanan: 1 Buah
- Etalase: Semua Etalase
AV(AILABLE)
ACS712-30A
//Mengukur arus pada tegangan AC 220V dengan ACS712
const int sensorIn = A0;
int mVperAmp = 66;
// use 185 for ACS712 5A
// use 100 for ACS712 20A
// use 66 for ACS712 30A
double Voltage = 0;
double VRMS = 0;
double AmpsRMS = 0;
void setup(){
Serial.begin(9600);
}
void loop(){
Voltage = getVPP();
VRMS = (Voltage/2.0) *0.707;
Serial.print(AmpsRMS);
Serial.println(" Amps RMS");
}
float getVPP()
{
float result;
int readValue; //value read from the sensor
uint32_t start_time = millis();
{
readValue = analogRead(sensorIn);
// see if you have a new maxValue
if (readValue > maxValue)
{
/*record the maximum sensor value*/
maxValue = readValue;
}
if (readValue < minValue)
{
/*record the maximum sensor value*/
minValue = readValue;
}
}
// Subtract min from max
result = ((maxValue - minValue) * 5.0)/1024.0;
return result;
}
((NOTE:UNTUK WARNA ATAU SIZE MOHON DITULIS DI KOLOUM KETERANGAN ORDER))
ACS712-30A
//Mengukur arus pada tegangan AC 220V dengan ACS712
const int sensorIn = A0;
int mVperAmp = 66;
// use 185 for ACS712 5A
// use 100 for ACS712 20A
// use 66 for ACS712 30A
double Voltage = 0;
double VRMS = 0;
double AmpsRMS = 0;
void setup(){
Serial.begin(9600);
}
void loop(){
Voltage = getVPP();
VRMS = (Voltage/2.0) *0.707;
Serial.print(AmpsRMS);
Serial.println(" Amps RMS");
}
float getVPP()
{
float result;
int readValue; //value read from the sensor
uint32_t start_time = millis();
{
readValue = analogRead(sensorIn);
// see if you have a new maxValue
if (readValue > maxValue)
{
/*record the maximum sensor value*/
maxValue = readValue;
}
if (readValue < minValue)
{
/*record the maximum sensor value*/
minValue = readValue;
}
}
// Subtract min from max
result = ((maxValue - minValue) * 5.0)/1024.0;
return result;
}
((NOTE:UNTUK WARNA ATAU SIZE MOHON DITULIS DI KOLOUM KETERANGAN ORDER))
Ada masalah dengan produk ini?
ULASAN PEMBELI

Belum ada ulasan untuk produk ini
Beli produk ini dan jadilah yang pertama memberikan ulasan