Digital watt meter using pic microcontroller

In this article, I will discuss how to design digital ac watt meter using pic microcontroller. How to measure ac power using pic microcontroller? Lets start with basic introduction of watt meter. Before you start with this article you should know basic understanding of pic microcontroller programming . if you want to learn pic microcontroller, check these pic microcontroller tutorials.

What is Watt meter?

This pic microcontroller based project, Watt meter is electrical device which is used to measure real power in AC circuits and total power in DC circuits. You may have used watt meter in electrical labs. Watt meter most frequently used in electrical labs for performing various lab tasks.

How to measure AC power using pic microcontroller :

AC power is the sum of real power and reactive power. Watt meter is used to measure real power in electrical circuits. As you know real power or active power is the product of voltage, current and power factor of load. So to design AC watt meter using pic microcontroller, you should know how to measure AC voltage, AC current and Power factor using pic microcontroller. After measuring these parameters , one can easily design ac watt meter using pic microcontroller. Real power formula is given below:




 P = V * I * Cos(θ)

Where P is real power. V is rms voltage across the load. I is rsm value of current across the load and Cosθ is power factor of load. So to measure active power with the help of pic microcontroller, one should measure above given parameters of real power using pic mcicrocontroller.

How to measure AC current for digital watt meter:

AC current can be measured with the help of pic microcontroller using two methods. one is using difference amplifier and other is current transformer. I have already posted a article on how to measure ac current using pic microcontroller. you can check this article to know about how to measure ac current.

  • AC current measurement using pic microcontroller  : In this project, I have used difference amplifier and shunt resistor to measure AC current. PIC16F877A microcontroller is used to measure AC current with the help of analog to digital converter. LCD display is used to display value of current on LCD.  Shunt resistor is used a transducers which converts current into voltage. Because microcontroller can not read current directly. Voltage across shunt resistor is measured with the help of pic microcontroller. This measured voltage is again converted back into current using ohm’s law formula. Because value of shunt resistor is known and voltage across shunt resistor is measured with the help of microcontroller. By using  V=IR foruma, current value can be easily calculated with some instructions of programming. I recommend you to read AC current measurement article before going further in this article.

AC voltage measurement using pic microcontroller

AC voltage can also be measured easily using pic microcontroller. I have already posted two article on AC voltage measure using pic microcontroller. AC voltage measurement using pic microcontroller and Difference amplifier and AC voltage measurement using pic mcirocontroller and potential transformer.

Power factor measurement using pic microcontroller

To measure power factor with the help of microcontroller, you should know about zero crossing detection using pic microcontroller. Power factor can be measured after measuring time between two consecutive zero crossing detection’s and time Difference between current and voltage wave form. To read more about zero crossing detection and power factor measurement using pic microcontroller, check following articles:

Digital ac watt meter using pic microcontroller:

After reading after above articles, I hope that you know how to measure current, voltage and power factor using pic microcontroller. Now the question is how to design watt meter using these parameters. As you know watt meter is use to measure real power in AC circuits. Real power is product of voltage, current and power factor.

  P = V * I * Cos(θ)

By using above formula you can calculate real power.  I have given all the details in above articles to measure, current and power factor.  You just need to multiply all these values in coding to measure real power.AC power measurement using pic microcontroller

 Circuit diagram of digital watt meter using pic microcontroller:

Circuit diagram of digital watt meter using PIC16F877A microcontroller is given below. In this circuit diagram Current transformer and potential transformer is used to measure AC voltage and current. Difference amplifier is used for zero crossing detection.

power factor measurement circuit using pic microcontroller

Liquid crystal display is used to display voltage, current, power factor and real power value. I have tried to give you all the information, you need to design digital watt meter using pic microcontroller. I recommend you to write your own code for digital watt meter. But if you want to hire us to write code for digital watt meter, contact us. Our team will provide you project service to write code for digital watt meter.

Video simulation results of ac power measurement using pic microcontroller

15 Comments

  1. asm May 8, 2015
  2. hassan May 22, 2015
    • BILAL Malik June 4, 2015
  3. bahador June 4, 2015
    • BILAL Malik June 4, 2015
  4. Shamira October 26, 2015
  5. amie January 2, 2016
  6. ramho100 October 19, 2016
  7. Hüseyin Yurdakul March 11, 2017
  8. Carlos Ely March 23, 2017
  9. beyene bogale May 18, 2017
  10. Bill burgess July 22, 2017

Add Comment

Subscribe to our blog to get updates in your email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,363 other subscribers