The electric energy is a guarantee to national economy and daily life in modern society.With the fast development of the society, contradiction between the demand and production of electrical energy occurs. Time-scheduled tariff system, that changes user's behavior in energy consuming and rationalizes the electrical energy utilisation, is an effective and valuable measure to solve this problem. For the energy measurement the traditional mechanical electricity meter no longer can meet the requirements of this new tariff system, and microcontroller-based digital E-meter becomes the prerequisite and backbone of this tariff system.
This paper design of an PIC microcontroller-based E-meter with cost-effectiveness and unique voltage and current input channels; Design methods that integrates the PIC16F877A's limited hardware and software resources to implement real-time clock, I2C and serial EEPROM communication interfaces;
Keywords:Electric energy meter ,ATT7022A, microcontrolle, Integration of hardware and sofmare