欢迎来到查IC网

101020027,Other,开发板

价格 40.25元/个
厂商型号
101020027
品牌名称
Seeed Studio
类别:
Other
描述:
Grove交流电流传感器模块 电力电流开关arduino/Raspberry pi
公司区域
北京
供应总量
30000 个
交货期:
自买家付款之日起 2 天内发货
买家还在看
  • 1
  • 2
  • 3
好货推荐

7132SA100P,存储器,现货供应

¥1.00/个

CSRA67065DA01-CQQH-T,射频收发器,现货供应

¥1.00/个

NYC0102BLT1G,单路,现货供应

¥1.00/个

MAX15059AETE+,专用稳压器,现货供应

¥1.00/个

AO4419,FET - 单路,现货供应

¥1.00/个

IS42S16160J-6TL,存储器,现货供应

¥1.00/个

店铺信息

产品详情
类别: Other

Electricity sensor 模块是 Grove 系列的成员。它基于 TA12-200 型电流互感器,这种电流互感器可将幅度调低。您可以使用它来测试高达 5A 的交流电。 Grove 接口MAX输入 : 5A准确率高体形小巧 创意应用交流电测量设备状态监测 关键参数PCB 尺寸:2.0cm*4.0cm接口:2.0mm 间距引脚IO口:SIG,NC,NC,GNDRoHS认证  中文wiki  请复制链接至浏览器打开下载更多技术文档http://wiki.seeedstudio.com/cn/Grove-Electricity_Sensor/  使用方法与 Arduino 一起使用以下工程演示了测量交流电压幅度的简单应用。SIG引脚将根据测量的交流电流输出交流电压。您可以使用 ADC 来测量该值。将模块连接到 Grove - base shield 的 A0。把交流电线缆穿过电流互感器的孔。复制并粘贴下面的代码到一个新的 Arduino 工程。       //  Function: Measure the amplitude current of the alternating current and    //            the effective current of the sinusoidal alternating current.    //  Hardware: Grove - Electricity Sensor            //  Date:    Jan 19,2013    //  by www.seeedstudio.com    #define ELECTRICITY_SENSOR A0 // Analog input pin that sensor is attached to     float amplitude_current;               //amplitude current    float effective_value;       //effective current     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/800*2000000;        effective_value=amplitude_current/1.414;//minimum_current=1/1024*5/800*2000000/1.414=8.6(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);    }        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)            {                                sensorMax = sensorValue;            }        }        return sensorMax;    }上传代码。Note代码可以检测的最小有效电流可以使用下面的公式计算 : minimum_current=1/1024*5/800*2000000/1.414=8.6(mA)打开串口监视器,结果如下 : 与 Raspberry Pi 一起使用1.准备一个 Raspberry pi 和一个 Grovepi 或 Grovepi+.2.完成配置开发环境,否则请遵循 这里。3.连接将传感器用 Grove 线缆插入 Grovepi A0 插口。4.跳转到演示目录 :   cd yourpath/GrovePi/Software/Python/演示代码如下 :    nano grove_electricity_sensor.py   # "Ctrl+x" to exit #     import time    import grovepi     # Connect the Grove Electricity Sensor to analog port A0    # SIG,NC,NC,GND    sensor = 0     grovepi.pinMode(sensor,"INPUT")     # Vcc of the grove interface is normally 5v    grove_vcc = 5     while True:        try:            # Get sensor value            sensor_value = grovepi.analogRead(sensor)             # Calculate amplitude current (mA)            amplitude_current = (float)(sensor_value / 1024 * grove_vcc / 800 * 2000000)             # Calculate effective value (mA)            effective_value = amplitude_current / 1.414             # minimum_current = 1 / 1024 * grove_vcc / 800 * 2000000 / 1.414 = 8.6(mA)            # only for sinusoidal alternating current             print "sensor_value", sensor_value            print "The amplitude of the current is", amplitude_current, "mA"            print "The effective value of the current is", effective_value, "mA"            time.sleep(1)         except IOError:            print "Error"5.运行代码。    sudo python grove_electricity_sensor.py
制造商: Seeed Studio 最小包装量: 1
封装: 包装:
类别: Other 无铅情况/RoHS: 符合
产品描述: Grove交流电流传感器模块 电力电流开关arduino/Raspberry pi
参数 数值
商品目录 其它传感器
主芯片编码 TA12-200
站内同类商品
"101020027,Other,开发板"相关资源
相关类目
IGBT模块 智能功率模块IPM GTR模块 复合功率模块PIM 晶闸管智能模块 发电机励磁装置 接触器 电动机保护器 静电感应器件 通讯模块 电源模块
相关商机
免责声明

本网页所展示的有关【101020027,Other,开发板】的信息/图片/参数等由的会员【 】提供,由查IC网会员【 】自行对信息/图片/参数等的真实性、准确性和合法性负责,本平台(本网站)仅提供展示服务,请谨慎交易,因交易而产生的法律关系及法律纠纷由您自行协商解决,本平台(本网站)对此不承担任何责任。您在本网页可以浏览【101020027,Other,开发板】有关的信息/图片/价格等及提供 【101020027,Other,开发板】的商家公司简介、联系方式等信息。

在您的合法权益受到侵害时,请您致电400-861-9258,我们将竭诚为您服务,感谢您对查IC网的关注与支持!

查IC网

服务热线

400-861-9258

客服企业微信