openenergymonitor / EmonLib

Electricity monitoring library - install in Arduino IDE's libraries folder then restart the IDE
openenergymonitor.org
GNU Affero General Public License v3.0
589 stars 419 forks source link

how to calibrate current value? #24

Closed bhadanijaydeep closed 8 years ago

bhadanijaydeep commented 8 years ago

we can't get exact current value according to original current value......

i used below cod

include "EmonLib.h"

include

EnergyMonitor emon1;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() {
Serial.begin(9600); lcd.begin(16, 2); lcd.clear(); emon1.current(0 ,30); lcd.setCursor(0,0); lcd.print("Current(A)="); }

void loop() { double Irms = emon1.calcIrms(1480);

Serial.print(Irms*230.0);
Serial.print(" "); Serial.println(Irms);
lcd.setCursor(12,0); lcd.print(Irms);
}

please help me to resolve this problem....

glynhudson commented 8 years ago

Please post on our community forums: https://community.openenergymonitor.org/c/getting-started