Introduction
This Gravity Analog 20A current sensor is based on the Hall current sensing principle. It can be used for AC or DC current measurement, has a wide voltage range, a small footprint, requires no soldering and has a high level of precision.
We have added high-voltage isolation in the circuit design for safety reasons and a non-conductive acrylic plate has been attached to the bottom of the PCB to prevent accidents such as short circuits, electric shocks and any other potential danger.
This component is the newest member of our Gravity series. All Gravity components include a standard 3-pin interface to make it simple to use and easy to connect to all Arduino compatible boards. It is ideal for any automation control applications.
Note: It doesn't recommend measuring the current over 20A. And please be careful careful careful with the high voltage circuit. It is very dangerous!
Features
- Gravity 3 pin interface
- Analog voltage output
- High voltage isolation
- Measures DC and AC current
Specification
- Supply Voltage: 5.0V
- Current Range: 0 ~ ±20A DC, 0 ~ 17A(RMS) AC
- Measurement Endure: 220V AC, 311V DC
- Relative Error: ±3%
- Dimension: 39 * 22 * 17mm/ 1.53 * 0.87 * 0.67 inches
- Interface: Gravity PH2.0-3P
- Weight: 18g
Board Overview
Num | Label | Description |
---|---|---|
1 | - | GND |
2 | + | 5V Input |
3 | A | Signal Output |
4 | IN | Measuring current Input |
5 | OUT | Measuring current Output |
20A Current Sensor
Tutorial
This tutorial demonstrates the usage of the 20A current sensor.
Requirements
- Hardware
- UNO x1
- 20A Current Sensor module x1
- Gravity 3P Analog Wire x1
- Dupont Line Several
- Software
- Arduino IDE Click to Download Arduino IDE from Arduino®
Connection Diagram
Sample Code
Function Introduction: float readDCCurrent(int Pin) , this function is used to measure the DC current. float readACCurrent(int Pin) , this function is used to measure the AC current, and it returns the RMS of AC current. You could only use one of them according to the measured current. Do not use both of them at the same time.
FAQ
For any questions/advice/cool ideas to share, please visit DFRobot Forum