Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.78 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.78 KB

Electrical panel to Arduino hardware interface

This folder contains material related to the interface between the electrical panel and the Arduino hardware interface. See main README for a general overview and below for additional details.

Design Considerations

OpenEnergyMonitor in general was a great resource for this project and in particular the information found in How to build an Arduino energy monitor - measuring mains voltage and current was used to guide the design of this interface and the analog signal conditioning circuitry.

The current sensing circuitry includes a variable gain stage that is controlled by an automatic gain loop running on the Arduino. This improves signal-to-noise through the analog-to-digital conversion and improves downstream machine learning and training performance.

This subsystem was calibrated with an external power meter, yielding parameters which are used in the Arduino code that extracts the metrics used in downstream processing.

Schematic

Alt text

PCB

Alt text

References

  1. Atmel ATmega640/V-1280/V-1281/V-2560/V-2561/V Datasheet
  2. Arduino MEGA 2560 Documentation
  3. Atmel AVR465: Single-Phase Power/Energy Meter with Tamper Detection