Professional Documents
Culture Documents
Digital dc watt meter using pic microcontroller is used to measure dc power of dc circuits.
Voltage and current sensors are used in this project. Voltage and current sensors are interfaced
with microcontroller. Voltage sensor is used to measure voltage across circuit or load. Current
sensor is used to measure current passing through load. Voltage divider circuit is used to measure
high voltage. because microcontroller can not read high voltage or voltage more than 5 volt.
Shunt resistor is used as a current sensor.Shunt resistor is used to convert current into voltage
form. Because microcontroller does not understand current. Microcontroller can read voltage
directly. Liquid crystal display is used to show measured value of dc power. Digital dc watt
meter is very simple to use and basic idea of digital dc watt meter is given in this project.
I hope that you have gone through above three article and understand them completely. If yes,
you can easily design digital dc watt meter using instructions given below.
Digital Ammeter : Digital Ammeter is designed using shunt resistor. R6 0.47 shunt
resistor is used to measure current flowing through a load. Shunt resistor converts current
passing through it into voltage. This voltage is measured with the help of analog channel
AN1 of PIC16F877A microcontroller. Measured voltage converted back into current
using ohms law formula I = V/R. Because value of shunt resistor and measured voltage
is known.
Digital voltmeter: Digital voltmeter is used to measure voltage across load. voltage
divider is used to step down voltage less than 5 volt. Voltage across R4 resistor of voltage
divider is measured with the help of analog channel AN0 of PIC16F877A
microcontroller. Measured voltage converted back into actual voltage by multiplying it
with opposite of voltage divider formula.
voltage = ADC_Read(0) : This function reads analog value of voltage and converts it
into binary value of voltage.
voltage = (voltage * 5 * 10)/ (1024) : It converts binary value back into actual voltage by
multiplying it with ADC resolution factor and voltage divider inverse. You can get its
more detail from voltage measurement article.
current = ADC_Read(1) : This function reads binary value of voltage across shunt
resistor.
current = (current * 0.00489 )/ (0.47) : This function converts binary value of voltage
across shunt resistor into current.
Power = voltage * current : Its just a multiplication factor of measured voltage and
measured current.