Gravity Analog AC Current Sensor SKU:SEN0211
Part | Datasheet |
---|---|
![]() |
SEN0211 (pdf) |
PDF Datasheet Preview |
---|
Gravity Analog AC Current Sensor SKU:SEN0211 Contents • 1 Introduction • 2 Specification • 3 Board Overview • 4 Tutorial Requirements Connection Diagram Sample Code Connection Diagram with LiquidCrystal Sample Code with LiquidCrystal • 5 FAQ Introduction When you want to measure AC current it is impractical and hazardous to cut in to your live wiring. The analog AC current sensor developed by DFRobot is a good solution to this problem. Using induction you can measure AC current without intrusive methods. Place your AC wire inside the unit, connect the unit to the sensor board using the 3.5mm jack connector and connect the sensor board to an analog input on your microcontroller. Use this sensor to measure AC motors, lighting equipment, air compressors or any other devices that use AC current. Specification • Module Operating Voltage 3.3V - 5.5V Analog Output Voltage 0.2V - 2.8V DC AC Signal Input Range 0 - 1V AC Relative Error + 3% Interface PH2.0-3P Dimensions 32 * 27 mm/1.26 * inches • AC Current Sensor Probe AC Measurement Range 0 - 20A AC Signal Output 0 - 1V AC map onto 0-20 A Non-linearity ±3% 10% ~ 120% of the rated input current lead length meters Opening and closing times >= 1000 times Working temperature -25 to +70 Dimensions 13 * 13mm/ * inches Board Overview LABEL NAME 1 AC Transformer Connection 2 GND 3 VCC 4 Signal Output Function Description AC Transformer Input Signal GND Power Input + 3.3V-5.5V Signal Output Tutorial This tutorial will demonstrate how to use the AC transformer and AC sensor module to detect AC current Requirements • Hardware UNO x1 AC current transformer x1 AC current sensor module x1 LCD Keypad Shield For Arduino x1 PH2.0-3P cable x1 • Software Arduino IDE V1.6.5 Click to Download Arduino IDE from Connection Diagram The probe of the AC transformer can only clamp to one AC wire at a time. It cannot be clamped to two at the same time! Sample Code This example reads Analog AC Current Sensor. Created 2016-3-10 By berinie Chen GNU Lesser General Public License. See for details. All above must be included in any redistribution /***********Notice and Troubleshooting*************** 1.Connection and Diagram can be found here B.A3.E7.A0.81 2.This code is tested on Arduino Uno. float Vref = 0 const int ACPin = A2 #define ACTectionRange 20 nge 20A,30A,50A,100A void setup Serial.begin 115200 pinMode 13, OUTPUT Vref = readVref ; //set arduino signal read pin //set Non-invasive AC Current Sensor tection ra //Read reference voltage void loop float ACCurrentValue = readACCurrentValue //read AC Current Value Serial.println ACCurrentValue digitalWrite 13, HIGH delay 50 digitalWrite 13, LOW delay 50 ; float readACCurrentValue float ACCurrtntValue = 0; unsigned int peakVoltage = 0; unsigned int voltageVirtualValue = 0 //Vrms for int i = 0 i < 5 i++ peakVoltage += analogRead ACPin //read peak voltage delay 1 ; peakVoltage = peakVoltage / 5; voltageVirtualValue = peakVoltage * e to the Virtual Value of voltage //change the peak voltag |
More datasheets: EP12FPD1SAKE | EP12FPD1AKE | EP11SD1AKE | EP11SD1AVKE | EP11FPD1SAKE | EP12SD1SAKE | EP11SD1SAKE | EP12SD1AKE | EP11FPD1AKE | HMC349LP4CE |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0211 Datasheet file may be downloaded here without warranties.