CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Current measurement

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
exodia505



Joined: 07 Feb 2012
Posts: 34

View user's profile Send private message

Current measurement
PostPosted: Sun Mar 04, 2012 9:44 am     Reply with quote

Hello!
what's the best way to measure current with pic ?
_________________
NOway!!
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Sun Mar 04, 2012 10:07 am     Reply with quote

it all depends on:
1- AC?
2-DC?
3-the RANGE ?( 1 ua is very different from 100A )
4- and if AC - the FREQUENCY range
exodia505



Joined: 07 Feb 2012
Posts: 34

View user's profile Send private message

PostPosted: Sun Mar 04, 2012 10:10 am     Reply with quote

i meant DC current (0-5A)
_________________
NOway!!
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Sun Mar 04, 2012 10:27 am     Reply with quote

Hi side or low side sensing -or floating?

Whats the CIRCUIT you intend to use this with ??

Even with an optimum circuit,
keep in mind that with a 10 bit A/d pic
you can only resolve to 7.8 ma increments and 1.95 ma with a 12 bit PIC.

The circuit you will need depends on the answer you give to the first line of this message.

BTW: for real product - or school project??
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Sun Mar 04, 2012 10:35 am     Reply with quote

Contact or non-contact (can you insert a sense resistor in-line with the load or do you have to not modify the wiring) ? What kind of frequency response do you need ? (there is DC then there is "fluctuating DC" where you are monitoring a load for example). What kind of voltage drop can you tolerate across the sensor ? To "measure current" you first have to define the requirements of what sort of "intrusion" into the circuit you want to measure can be tolerated.

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Mon Mar 05, 2012 12:52 pm     Reply with quote

Look at these chips for high side current sensing:

http://datasheets.maxim-ic.com/en/ds/MAX4373-MAX4375.pdf
_________________
The search for better is endless. Instead simply find very good and get the job done.
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

Where are you sensing?
PostPosted: Tue Mar 06, 2012 3:37 am     Reply with quote

Is your current unipolar?

You said 0-5A, but could the current change direction? (i.e. -5A - 0 - +5A)

Where abouts in your circuit are you wanting to measure? (0V lead, above VDD, below VSS, floating)

Do you need a Hall effect probe?

..........

..........

And on and on .........

Mike
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group