pyupm_ecs1030 module

class pyupm_ecs1030.ECS1030(pinNumber)[source]

Bases: object

API for the ECS1030 Non-Invasive Current/Electricity Sensor.

ID: ecs1030

Name: Non-invasive Current Sensor

Category: electric

Manufacturer: sparkfun

Link:https://www.sparkfun.com/products/11005

Connection: analog This non-invasive current sensor can be clamped around the supply line of an electrical load to tell you how much current is passing through it. It does this by acting as an inductor and responding to the magnetic field around a current-carrying conductor. This particular current sensor measures a load up to 30 A, which makes it great for building your own energy monitors.

ECS1030 Sensor image provided by SparkFun* underCC BY-NC-SA-3.0.

C++ includes: ecs1030.hpp

DELAY_MS = 40L
R_LOAD = 1L
VOLT_M = 0L
getCurrency_A()[source]

double getCurrency_A()

Returns electric current data for a sampled period

getCurrency_B()[source]

double getCurrency_B()

Returns electric current data for a sampled period

getPower_A()[source]

double getPower_A()

Returns power data for a sampled period

getPower_B()[source]

double getPower_B()

Returns power data for a sampled period

name()[source]

std::string name()

Returns the name of the component