

The SCT-013 is a non-invasive current sensor designed to measure alternating current (AC) by clamping around a conductor. Manufactured by Arduino under the part ID Sen0211 with SCT-013, this sensor outputs a voltage proportional to the current flowing through the conductor. It is widely used in energy monitoring systems, home automation, and industrial applications for tracking power consumption and optimizing energy usage.








The SCT-013 sensor uses a 3.5 mm audio jack for its output. The pinout is as follows:
| Pin | Description |
|---|---|
| Tip | Signal output (voltage proportional to AC current) |
| Ring | Ground |
| Sleeve | Shield (optional, for noise reduction) |
Connect the Sensor:
Voltage Divider Circuit:
Connect to Arduino UNO:
Calibration:
// Example code for using the SCT-013 current sensor with Arduino UNO
// This code reads the sensor output and calculates the RMS current.
const int sensorPin = A0; // Analog pin connected to SCT-013 signal output
const float calibrationFactor = 100.0; // Adjust based on your sensor model
const int numSamples = 1000; // Number of samples for RMS calculation
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
float sum = 0; // Variable to store the sum of squared readings
// Take multiple samples to calculate RMS
for (int i = 0; i < numSamples; i++) {
int rawValue = analogRead(sensorPin); // Read the analog value
float voltage = (rawValue / 1023.0) * 5.0; // Convert to voltage
float current = (voltage - 2.5) * calibrationFactor;
// Subtract 2.5 to remove bias, then scale by calibration factor
sum += current * current; // Square the current and add to sum
delay(1); // Small delay between samples
}
float rmsCurrent = sqrt(sum / numSamples); // Calculate RMS current
Serial.print("RMS Current: ");
Serial.print(rmsCurrent);
Serial.println(" A"); // Print current in amperes
delay(1000); // Wait 1 second before next reading
}
No Output Signal:
Inaccurate Readings:
High Noise in Output:
Arduino ADC Saturation:
Q1: Can the SCT-013 measure DC current?
A1: No, the SCT-013 is designed for AC current measurement only. It cannot measure DC current.
Q2: What is the maximum current the SCT-013 can measure?
A2: The maximum current depends on the specific model variant. Common models measure up to 30 A, 50 A, or 100 A.
Q3: Can I use the SCT-013 with a Raspberry Pi?
A3: Yes, but since the Raspberry Pi lacks an analog-to-digital converter (ADC), you will need an external ADC module (e.g., MCP3008) to interface the SCT-013.
Q4: How do I know if my SCT-013 has an internal burden resistor?
A4: Check the model number printed on the sensor or refer to the datasheet. Models with an internal burden resistor typically have a voltage output specification (e.g., 1 V or 0.333 V).
By following this documentation, you can effectively integrate the SCT-013 current sensor into your projects for accurate and reliable AC current measurement.