Hello, I'm developing a Power Meter with the help of a clamp.. The problem is:
Energy (Wh) is calculated by the formula: (E= Power*Time/3600). I want this time1 starting only when it detects a power greater than 0. If the power goes to 0, the counter stops...and re-activates again when the sensor returns a value.
How can I do this?