Power Analytics: The Energy Data Logger
Curious about how much power your heater or refrigerator uses? The Energy Data Logger project allows you to measure alternating current (AC) safely without ever cutting a live wire.

Non-Invasive Sensing: The CT Sensor
You use a Split-Core Current Transformer (CT Sensor like the SCT-013).
- You clamp the sensor around the Live wire only (not the whole cable, or the neutral will cancel out the reading).
- As AC current flows through the house wire, it induces a tiny, safe proportional voltage in the secondary coil of the CT sensor.
- Because Arduino cannot read negative voltages (AC swings back and forth), you build a simple DC Bias Circuit to lift the voltage up to 2.5V, allowing the analog pin to read the full wave safely.
Hardware Needed
- Arduino Uno/Nano.
- SCT-013 Current Sensor (e.g., 30A or 100A version).
- Burden Resistor: Essential for converting the CT current output into a measurable voltage.
- Micro SD Card Module: To save the power logs (Watts over time) to Excel for analysis.
Integrating Libraries
Calculating RMS (Root Mean Square) voltage/current is complex. Thankfully, the open-source community created the EmonLib library, which abstracts all the heavy AC math, allowing you to get an accurate Wattage reading with just two lines of code!