Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Measure current by using Shunt resistor! Please advice me [ mikroC ]

Status
Not open for further replies.

boyguitar1

Member level 1
Joined
Nov 8, 2010
Messages
33
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,288
Activity points
1,486
Hi Sir...

I want to measure current from my dc fan (4 dc fans 5V , Total current ~ 1.40 A.)
and send data to PC (VB2008)

So I would like to know about Value of Shunt resistor , watt?


This is my first project aboud current measurement.
please help suggest me too.
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,680
Sugestion :
I = 1,4A
R = 0,1R
P = (0,1R)*(1,4A)^2 = 0,19 ~1/5W
V = (0,1R)*(1,4A) = 0,14V

Use an OpAmp to multiply that voltage to full-range magnitude of A/D :

K = 5 / 0,14 ~ 35
K = 3,3 / 0,14 ~ 23

Hope this help

+++

---------- Post added at 10:45 ---------- Previous post was at 10:31 ----------

Another option without use of OpAmp.
But power dissipation at resistor increases too much :

5v = R * (1,4A) => R ~ 3,5 --> using Vref A/D to 5v
3,3v = R * (1,4A) => R ~ 2,3 --> using Vref A/D to 3,3v

The wattage :

P = 5v * (1,4A) ~ 7w
P = 3,3v * (1,4A) ~ 4,6w

+++
 

dayanpad

Advanced Member level 4
Joined
Mar 23, 2009
Messages
114
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Location
Colombo
Activity points
1,921
You simply measure the voltage drop across a resistor in series with the load - simple ohms law, a 1 ohm resistor will drop 1V for every amp of current.

As you probably can't afford to lose 5V off your supply rail, it's usual to use a smaller resistor and amplify the voltage drop with an opamp - this also allows you to reference the voltage to 0V (by using a differential opamp circuit.
 

boyguitar1

Member level 1
Joined
Nov 8, 2010
Messages
33
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,288
Activity points
1,486
Thank you Som much for all.
but
Can anybody give me some example code on mikroC ? Thank you !!
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top