Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer
Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer
The Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer is a type of current sensor designed for measuring alternating current (AC) flowing through a conductor without making physical contact with the conductor. This split-core current transformer (CT) is a popular choice for various IoT applications, including energy monitoring, industrial automation, and smart home systems.
The SCT-013 30A AC Sensor Split Core Current Transformer operates on the principle of electromagnetic induction, where an alternating magnetic field is generated by the current flowing through the primary conductor (e.g., a wire). The sensor's split-core design allows it to be easily installed around the primary conductor without disrupting the original circuit. The secondary coil within the CT senses the magnetic field and induces a proportional voltage output, which is directly related to the primary current.
0-30A AC
1% (typical)
50-60 Hz (nominal)
0-50mV/A (dependent on burden resistor)
External, recommended value 10 ohms to 50 ohms
10mW (typical)
-20C to 85C
-40C to 125C
3000V AC (rms)
32mm x 16mm x 12mm
The Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer is suitable for a wide range of IoT applications, including |
Energy monitoring and smart grid systems
Industrial automation and process control
Smart home and building automation systems
Power quality analysis and monitoring
Electric vehicle charging infrastructure
Renewable energy systems
The SCT-013 30A AC Sensor Split Core Current Transformer is a versatile and accurate solution for measuring AC currents in a variety of applications. Its non-invasive design, high accuracy, and compact size make it an ideal choice for IoT developers and engineers seeking reliable current measurement solutions.
Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer
Overview
The Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer is a popular, low-cost, and easy-to-use current sensor module that measures AC currents up to 30A. It's a split-core design, allowing for easy installation around an existing wire without disrupting the circuit.
Technical Specifications
Input Current Range: 0-30A AC
Output Voltage Range: 0-50mV AC
Sensitivity: 50mV/A
Frequency Range: 50-60Hz
Accuracy: 1%
Operating Temperature: -20C to 80C
Dimensions: 38 x 23 x 18mm
Pinout
The SCT-013 sensor has two output pins:
VOUT (Analog Output): Provides a proportional analog voltage output (0-50mV AC) that corresponds to the measured current.
GND (Ground): Provides a common ground connection.
Code Examples
### Example 1: Arduino-based Current Monitoring with Serial Output
This example demonstrates how to use the SCT-013 sensor with an Arduino board to measure AC currents and display the readings on the serial monitor.
```cpp
const int sensorPin = A0; // Analog input pin for the SCT-013 sensor
float current = 0.0;
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue = analogRead(sensorPin);
float voltage = sensorValue (5.0 / 1023.0); // Convert ADC value to voltage
current = voltage / 0.05; // Calculate current (A) using the sensitivity (50mV/A)
Serial.print("Current: ");
Serial.print(current);
Serial.println(" A");
delay(1000); // Update every 1 second
}
```
### Example 2: ESP32-based IoT Current Monitoring using Wi-Fi
This example demonstrates how to use the SCT-013 sensor with an ESP32 board to measure AC currents and send the readings to a remote server using Wi-Fi.
```cpp
#include <WiFi.h>
const char ssid = "your_wifi_ssid";
const char password = "your_wifi_password";
const char serverUrl = "http://your_remote_server.com/iot/api/current";
WiFiClient client;
const int sensorPin = 32; // Analog input pin for the SCT-013 sensor
float current = 0.0;
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
}
void loop() {
int sensorValue = analogRead(sensorPin);
float voltage = sensorValue (3.3 / 4095.0); // Convert ADC value to voltage
current = voltage / 0.05; // Calculate current (A) using the sensitivity (50mV/A)
if (client.connect(serverUrl, 80)) {
String httpRequest = "GET /iot/api/current?current=" + String(current) + " HTTP/1.1
Host: " + String(serverUrl) + "
";
client.print(httpRequest);
client.println("Connection: close");
client.println();
}
client.stop();
Serial.print("Current: ");
Serial.print(current);
Serial.println(" A");
delay(10000); // Update every 10 seconds
}
```
### Example 3: Raspberry Pi-based Current Monitoring using Python
This example demonstrates how to use the SCT-013 sensor with a Raspberry Pi (Python) to measure AC currents and display the readings on the console.
```python
import time
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.IN) # Analog input pin for the SCT-013 sensor
def read_current():
value = GPIO.input(18)
voltage = value (3.3 / 1023.0) # Convert ADC value to voltage
current = voltage / 0.05 # Calculate current (A) using the sensitivity (50mV/A)
return current
while True:
current = read_current()
print("Current: {:0.2f} A".format(current))
time.sleep(1) # Update every 1 second
```
These examples demonstrate the basic usage of the Non-Invasive SCT-013 30A AC Sensor Split Core Current Transformer with various microcontrollers and platforms. You can modify and extend these examples to fit your specific IoT project requirements.