Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
O

Omer Faruk Zorlu

@Omer Faruk Zorlu
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SCT-013-050 measuring current and appearance power
    O Omer Faruk Zorlu

    Yes, actually i plan to measure the coffe machine's current.

    Hardware

  • SCT-013-050 measuring current and appearance power
    O Omer Faruk Zorlu

    Hi guys, i really need a help. Anyone?

    Hardware

  • SCT-013-050 measuring current and appearance power
    O Omer Faruk Zorlu

    Hi, i am trying to measure current and appearance power via SCT-013-050. Used diagram is below.

    alt text

    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?

    Hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular