Diy Dc Power Measurement Module for Arduino

by EE MAKER LAB in Circuits > Arduino

1197 Views, 3 Favorites, 0 Comments

Diy Dc Power Measurement Module for Arduino

Capture.JPG

In this project we will see how to make dc power measurement module using Arduino

Power Measurement

for measure dc power we need to measure dc voltage and dc current.

i use voltage divider for voltage measurement

and shunt resistor for current measurement

Voltage Measurement

New Microsoft PowerPoint Presentation2.jpg

by using this configuration we can measure dc voltage up to 55V by arduino

Current Measurement

Slide1.JPG
Slide2.JPG
Slide3.JPG

in theory if we connect two load in series the current pass through each load is equal so if we replace one of the load with known resistor we can get voltage across the known resistor that voltage is proportional to the current by ohm's low

Shunt Resistor

IMG_20200823_113457.jpg
Slide5.JPG
Slide4.JPG

i got 0.47 ohm resistor surround me but i measure with multimeter it was 0.5 ohm so take 0.5 as calculation

by calculating parameter i got that this resistor can handle 3A of max current and 1.5v drop so i take this parameter as reference

note that the voltage we got across is drop voltage which results lesser usable voltage for load so try to keep as low shunt resistor as possible

Amplify Shunt Resistor's Voltage

Annotation 2020-08-28 193232.jpg
IMG_20200828_191853.jpg

by calculating parameter 1.5 volt is too low for arduino to measure current accurately so we need to amplify voltage to 5v max with linear gain

hear i use lm358 as differential configuration

and by calculating gain of 3 i calculate resistor for opamp

Test Circuit on Breadboard

Capture1.JPG
Capture.JPG

by testing circuit on breadboard i make circuit on prototype pcb board

Coding

by connecting circuit to arduino and load this code we get voltahe and current reading on serial terminal

Done

Capture2.JPG
Diy dc power measurement module