Yes, actually i plan to measure the coffe machine's current.
Posts made by Omer Faruk Zorlu
-
RE: SCT-013-050 measuring current and appearance power
-
RE: SCT-013-050 measuring current and appearance power
Hi guys, i really need a help. Anyone?
-
SCT-013-050 measuring current and appearance power
Hi, i am trying to measure current and appearance power via SCT-013-050. Used diagram is below.
I used this without a burden because SCT-013-050 has a build in one(am i wrong?). Capacitor is 100uF. Resistors are 22k. Used sketch is below.
#include "EmonLib.h" // Include Emon Library EnergyMonitor emon1; // Create an instance void setup() { Serial.begin(9600); emon1.current(A0, 50); // Current: input pin, calibration. } void loop() { double Irms = emon1.calcIrms(1480); // Calculate Irms only Serial.print(Irms*230.0); // Apparent power Serial.print(" "); Serial.println(Irms); // Irms }
I am using NodeMCU and sending sensor value to iot hub. Measured sensor value is not stable and depends on power source. If i use a usb sockets on my mac, sensor value transformed in appearance(value*230) is around 80-120(I am measuring current of mac pro) but if i use an charging usb adaptor to power NodeMCU the sensor value is around 500-650.
Tried to disconnect SCT-013-050 from power cable the sensor value is nearly zero on mac's usb power supply. It seems correctly working. Disconnected sensor value via usb adaptor is nearly 500 (appearance power).
I am really stucked. How to solve this problem?