กลับไปหน้ารวมไฟล์
energy-data-logger-5eca64-en.md

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.

ir_sensor_array_detail_1772704523332.png

Non-Invasive Sensing: The CT Sensor

You use a Split-Core Current Transformer (CT Sensor like the SCT-013).

  1. You clamp the sensor around the Live wire only (not the whole cable, or the neutral will cancel out the reading).
  2. As AC current flows through the house wire, it induces a tiny, safe proportional voltage in the secondary coil of the CT sensor.
  3. 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!

ข้อมูล Frontmatter ดั้งเดิม

title: "Energy Data Logger"
description: "Track your power usage! Build a safe, non-invasive current sensor to log how much electricity your household appliances are consuming over time."
category: "Tools & Equipment"
difficulty: "Intermediate"