Design Library - Find. Buy. Build. Streamline your Designs.

The EEWeb design library brings you world industry leaders in design, manufacturing, and research and development in a new approach to provide reference designs, relevant products, and a seamless purchasing experience for hardware designers.

Energy Meter Design with MCP6L2 and PIC18F66J93

  • Energy Meter Design with MCP6L2 and PIC18F66J93
  • Energy Meter Design with MCP6L2 and PIC18F66J93

Reference Design Description

The MCP6L2 and PIC18F66J93 Energy Meter is a fully functional single-phase meter that uses the 12-bit successive approximation analog-to-digital converter (SAR ADC) integrated in the microcontroller. This low-cost design has a shunt as the current sensor. The signal from the shunt is amplified by two external operational amplifiers and applied to the input of the ADC. The PIC18F66J93 directly drives the LCD and communicates via UART with the MCP2200, offering an isolated USB connection for meter calibration and access to the device power calculations. The system calculates active and reactive energy; active, reactive and apparent power; power factor; RMS current; RMS voltage, and line frequency.


  • Energy meter software allows calibration and system monitoring
  • Isolated USB connection
  • Calculates active and reactive energy, active and apparent power, power factor, RMS current, RMS voltage, and line frequency

The Microchip energy meter software is used to calibrate and monitor the system. The calibration can be done in closed loop or open loop. When connected to a stable source of voltage and current, the meter can do an auto-calibration by including the open loop calibration routine and formulas in the firmware.