Wednesday, April 24, 2024

Energy Meter

Software

The source program for the microcontroller is written in C language and compiled using the ‘Keil µVision4’ compiler. The generated hex code is burnt into the microcontroller by using a suitable programmer. On reset/power-on, the microcontroller executes the main function. The interrupt INT0 and LCD are initialised first. Message ‘Energy Meter’ and reading are displayed in first and second lines on LCD module. Continuous loop in the code reads the data from EEPROM and displays in the second line of LCD module. Header file i2c.h is used for I2C protocol communication and lcd.h is driver file for LCD.

Download Source Code: Click Here

Construction and testing

A single-side PCB for the energy meter is shown in Fig. 4 and its component layout in Fig. 5. Assemble the circuit on the PCB to minimise assembly errors. IC1 is an SMD package so should be soldered on the solder side of the PCB. Use IC bases for other ICs.


The author is B.Tech in electronics and communications from Dr AIT, Bengaluru

22 COMMENTS

  1. I am thankful to you that the projects posted here are informative.
    But the ICs used in this site are many times very Costly in India.
    For example IC 74c926 used in Intruption counter project and the ic used in this projects(ADE7757 ) also…

  2. Hello . I am student and my license project is this project i have some problems .i do download files but cannot run it on pdf and i want to add a gsm module. Please help me. And send files to my email address.Thanks you .

  3. Hi I am Akindele and I saw your project which interest me a lot at doing it myself and at least for my use at home please can you help me send the details about the the analog device used inclusive the source code. I am grateful.

SHARE YOUR THOUGHTS & COMMENTS

Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components

Calculators

×