A miniature current transformer (CT) is a compact, non-invasive sensor that steps down high alternating current (AC) to a safely measurable milliamp or voltage signal for microcontrollers and energy monitors. By clipping around a single insulated conductor, it fundamentally changes how we interact with mains circuits: it provides galvanic isolation, meaning your 3.3V microcontroller logic never shares a physical electrical path with lethal 120V/240V AC. Hobbyists and junior engineers commonly confuse split-core AC CTs with Hall-effect sensors (like the ACS712, which measure both AC and DC but require breaking the circuit and inserting the sensor in series) or shunt resistors (which lack isolation and introduce a voltage drop into the load path).
What a Miniature Current Transformer Actually Does
At its core, a miniature CT operates on the same magnetic induction principles as a massive utility pole transformer, but scaled down for printed circuit boards and smart panels. The wire carrying your load current acts as a single-turn primary winding. The magnetic flux generated by this AC current induces a proportionally smaller current in the secondary winding, which consists of hundreds or thousands of turns of fine enameled copper wire wrapped around a ferrite or silicon steel core.
Unlike Hall-effect sensors, miniature CTs do not require an external power supply to generate a magnetic field, and they suffer from virtually zero drift over temperature. However, they are strictly AC devices; a steady DC current will not induce a secondary current and will eventually saturate the core, rendering it useless until the DC is removed.
The Math: Turns Ratio, Burden Resistors, and ADC Scaling
A CT outputs a current, not a voltage. To read this with a microcontroller's Analog-to-Digital Converter (ADC), you must pass the secondary current through a "burden resistor" to convert it to a measurable voltage. Let's walk through a real-world numeric example using the most ubiquitous prototyping CT on the market: the YHDC SCT-013-000.
- Determine the Turns Ratio: The CT steps 100A primary down to 50mA (0.05A) secondary. The turns ratio is $100 / 0.05 = 2000$ turns.
- Calculate Peak Secondary Current: The 50mA rating is an RMS value. AC waveforms peak at $\sqrt{2}$ (1.414) times the RMS value. Peak secondary current = $0.05A \times 1.414 = 0.0707A$ (70.7mA).
- Set the Target Peak Voltage: The ESP32 ADC reads 0V to 3.3V. Because AC swings positive and negative, we must bias the signal to a 1.65V midpoint using a voltage divider. Therefore, our maximum allowable peak voltage swing is $3.3V / 2 = 1.65V$.
- Calculate the Burden Resistor ($R_b$): Using Ohm's Law ($R = V / I$), we divide the target peak voltage by the peak secondary current: $1.65V / 0.0707A = 23.33\Omega$.
To ensure the signal never clips at the ADC rails due to component tolerances, we round down to the nearest standard 1% metal film resistor value: 22$\Omega$. With a 22$\Omega$ burden resistor, the peak voltage will be $0.0707A \times 22\Omega = 1.55V$, leaving a safe 0.1V headroom on the ESP32 ADC input.
Where You Meet Miniature CTs in Practice
You will find miniature current transformers deployed anywhere non-invasive AC power monitoring is required. In the consumer space, they are the small white clips included with smart home energy monitors like the Emporia Vue or Sense. In the DIY and open-source hardware space, they are the primary sensors for the IoTaWatt and EmonPi platforms.
On the workbench, electrical engineers use miniature PCB-mount CTs (like the Talema AS-100 series) to build custom motor overload protection circuits or to log the startup inrush current of compressors and HVAC units. Because the split-core variants can be clamped over existing 12 AWG or 10 AWG THHN wire without cutting the conductor or de-energizing the panel, they are the default choice for retrofitting legacy electrical panels with IoT telemetry.
Decision Tree: Picking the Right Miniature Current Transformer
Selecting the wrong CT variant is the number one reason DIY energy monitors fail to calibrate. Use this decision path to lock in your bill of materials.
| Your Application Scenario | Required CT Feature | Concrete Part Pick |
|---|---|---|
| Prototyping on a breadboard with an Arduino/ESP32; want to plug directly into an analog pin without soldering a burden resistor. | Internal burden resistor; outputs 0-1V AC directly. | YHDC SCT-013-030 (30A max, 1V output) |
| Designing a custom PCB; need maximum accuracy and the ability to tune the burden resistor and RC filter for the specific ADC. | No internal burden; raw current output; TVS diode for open-circuit protection. | YHDC SCT-013-000 (100A max, 50mA output) |
| Building a permanent, UL-listed style panel monitor where split-core clips are too bulky and wires must pass through a donut. | PCB-mount solid core; high linearity; compact footprint. | Talema AS-100 or ZMCT103C |
| Measuring very small standby currents (e.g., < 1A) where standard 100A CTs lose resolution and accuracy. | Low primary current rating; high turns ratio. | YHDC SCT-013-010 (10A max) or wrap the primary wire through a 100A CT 10 times to multiply the signal. |
The Default Recommendation: If you are building a custom energy monitor from scratch and want the most flexibility, buy the YHDC SCT-013-000. It includes a built-in TVS (Transient Voltage Suppression) diode that protects the secondary winding from generating lethal high-voltage spikes if the connector is accidentally unplugged while the mains wire is under load. Pair it with a 22$\Omega$ 1% metal film burden resistor on your PCB.
Installation Gotchas and Phase Shift Errors
When you move from measuring simple RMS current (Amps) to calculating Real Power (Watts), a new physical reality emerges: phase shift. Real power is the product of instantaneous voltage and instantaneous current ($P = V \times I \times \cos\theta$). The inductance of the CT's secondary winding and the capacitance of your burden resistor network introduce a slight phase lead to the current signal relative to the voltage signal.
If you are monitoring a highly resistive load like a space heater, a 2-degree phase error won't matter much. But if you are monitoring an inductive load like a pool pump motor with a true power factor of 0.7, that same 2-degree phase error will skew your Wattage calculation significantly. In firmware libraries like EmonLib, you must empirically calibrate a PHASECAL constant to time-shift the voltage waveform samples back into perfect alignment with the current samples.
Frequently Asked Questions
Can I use a miniature CT to measure battery or solar panel DC current?
No. Current transformers rely on a changing magnetic field to induce a secondary current. Steady DC produces a static magnetic field, which induces zero secondary current. For DC monitoring, you must use a Hall-effect sensor (like the ACS758) or a shunt resistor with an instrumentation amplifier.
Does the wire need to be perfectly centered inside the CT donut for an accurate reading?
No. According to Ampere's Law, the total magnetic flux enclosed by the secondary coil depends only on the total current passing through the center, regardless of where the conductor is positioned within the window. However, the wire must pass completely through the center; wrapping the cable around the outside of the CT casing will yield garbage data.
What happens if I open-circuit a CT while it is clamped around a live wire?
Without a burden resistor to limit the voltage, the secondary winding will attempt to drive the induced current across an infinite resistance, resulting in a massive voltage spike. This can arc across the internal windings, melt the core, or shock the user. This is why the transformer basics safety rule dictates: never open a CT secondary under load. The YHDC SCT-013-000 mitigates this with an internal TVS diode, but relying on it is bad bench practice.






