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 CCS Technical Support

How can i Measure load current 0 - 20A (Off Topic)

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



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

How can i Measure load current 0 - 20A (Off Topic)
PostPosted: Wed Mar 28, 2007 10:19 am     Reply with quote

Hi All

Just need some pointers on how to measure load current
i am looking for something that can convert my current to voltage then i
can then scale it to 0-5v dc for my Pic.
any pointers would be very much appreciated

Bob
_________________
BOB_Santana Smile
SherpaDoug



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

View user's profile Send private message

PostPosted: Wed Mar 28, 2007 10:59 am     Reply with quote

Two quick questions:
1) Is the current DC or AC?
2) Does this current run in a conductor that the PIC can use as ground?

If the current is AC you can use a "current transformer" to drive a load resistor and get a good input for the PIC A/D.

If the current is DC you need either a "shunt resistor" and an amplifier, or a "hall effect" sensor.
_________________
The search for better is endless. Instead simply find very good and get the job done.
BOB_SANTANA



Joined: 16 Oct 2006
Posts: 110
Location: HOVE, EAST SUSSEX

View user's profile Send private message

PostPosted: Wed Mar 28, 2007 11:57 am     Reply with quote

Hi SherpaDoug

The current is AC and the supply would be mains 230V
any example would be helpful Smile

Bob
_________________
BOB_Santana Smile
SherpaDoug



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

View user's profile Send private message

PostPosted: Wed Mar 28, 2007 1:42 pm     Reply with quote

This item from Digi-Key comes immediatly to mind:

http://rocky.digikey.com/scripts/ProductInfo.dll?Site=US&V=196&M=AC-1025

The figure at the bottom of the datasheet shows that if you put 25A though the hole you get 2.5VAC across a 100 Ohm load resistor (or very close to 5V across 200 Ohms, check the graphs). If your PIC knows when the power line zero crossing is you can pick the right part of the power line cycle to measure. Othewise add a "zero crossing detector" or an analog rectifier.
_________________
The search for better is endless. Instead simply find very good and get the job done.
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Wed Mar 28, 2007 3:30 pm     Reply with quote

I used Hall-effect current sensors for a similar problem with a PIC.
Look at these here e.g: Allegro Micro Hall-effect sensors can be used for both AC and DC currents, giving you the same galvanic isolation as a transformer.
Guest








PostPosted: Thu Mar 29, 2007 6:06 am     Reply with quote

Thanks Guys for the advice
i am ordering some parts and would keep you updated

Bob
jfk1965



Joined: 21 Oct 2003
Posts: 58

View user's profile Send private message

PostPosted: Thu Mar 29, 2007 9:35 am     Reply with quote

Check out Farnell electronic components they have many devices to suit your needs in the sensor section.

JFK
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