Electricity Meter AC Current Sensor Current Transformer 5A for
Electricity Meter AC Current Sensor Current Transformer 5A for

Electricity Meter AC Current Sensor Current Transformer 5A for

Price:   $1.66

  • Model: icchipcn0008287
  • Shipping Weight: 0.1kg
  • 9999 Units in Stock

(0 reviews)
(complete orders today,deliverd around 25/04/2025)
  • Shipping time
    Shipping Worldwide.About 5-15 days.
  • means of transportation
    EMS,DHL,FEDEX,HK Post
  • Payment
    Paypal,T T,
  • Email us
    [email protected]
  • New Products
    4pcs Cute Cartoon Thumb Grip Stick Cap For Nintendo Switch Oled Lite Joy Con Controller Soft Silicone Joystick Cover Accessories
    $6.24
    For Switch Pro Game Controller Silicone Case Protective Skin Cover Wrap Case
    $7.16
    Aislador USB a USB de baja velocidad, aislamiento de concentrador usb digitalaislamiento de audio de potencia de se?al
    $46.23
    Industrial RS485 Isolator RS485 Relay Amplifier Distance Extension
    $22.35
    • Details
    • Reviews
    • Tags
    • FAQ
    Brand Name:icchipcn.com
    Condition:New
    Type:Logic ICs
    Application:Computer
    Operating Temperature:0-85
    Supply Voltage:3-5v
    Dissipation Power:1w
    Package:TQFP
    is_customized:Yes

    Text code:
    Link the S port of this sensor connect to A0 port of the board, use the following procedure to read analog values. And then display on the computer through the serial port.
    #define ELECTRICITY_SENSOR A0 //
    float amplitude_current; //
    float effective_value; //
    void setup()
    Serial.begin(9600);
    pins_init();
    void loop()
    int sensor_max;
    sensor_max = getMaxValue();
    Serial.print("sensor_max = ");
    Serial.println(sensor_max);
    //the VCC on the Grove interface of the sensor is 5v
    amplitude_current=(float)sensor_max/1024*5/200*1000000;
    effective_value=amplitude_current/1.414;
    //Minimum current value can be detected=1/1024*5/200*1000000/1.414=24.4(mA)
    //Only for sinusoidal alternating current
    Serial.println("The amplitude of the current is(in mA)");
    Serial.println(amplitude_current,1);//Only one number after the decimal point
    Serial.println("The effective value of the current is(in mA)");
    Serial.println(effective_value,1);
    void pins_init()
    pinMode(ELECTRICITY_SENSOR, INPUT);
    /*Function: Sample for 1000ms and get the maximum value from the SIG pin*/
    int getMaxValue()
    int sensorValue; //value read from the sensor
    int sensorMax = 0;
    uint32_t start_time = millis();
    while((millis()-start_time) < 1000)//sample for 1000ms
    sensorValue = analogRead(ELECTRICITY_SENSOR);
    if (sensorValue > sensorMax)
    /*record the maximum sensor value*/
    sensorMax = sensorValue;
    return sensorMax;

    aeProduct.getSubject()

    aeProduct.getSubject()