| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| BOB_SANTANA 
 
 
 Joined: 16 Oct 2006
 Posts: 110
 Location: HOVE, EAST SUSSEX
 
 
			    
 
 | 
			
				| How can i Measure load current 0 - 20A (Off Topic) |  
				|  Posted: Wed Mar 28, 2007 10:19 am |   |  
				| 
 |  
				| 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
  |  | 
	
		|  | 
	
		| SherpaDoug 
 
 
 Joined: 07 Sep 2003
 Posts: 1640
 Location: Cape Cod Mass USA
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Mar 28, 2007 10:59 am |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Mar 28, 2007 11:57 am |   |  
				| 
 |  
				| Hi SherpaDoug 
 The current is AC and the supply would be mains 230V
 any example would be helpful
   
 Bob
 _________________
 BOB_Santana
  |  | 
	
		|  | 
	
		| SherpaDoug 
 
 
 Joined: 07 Sep 2003
 Posts: 1640
 Location: Cape Cod Mass USA
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Mar 28, 2007 1:42 pm |   |  
				| 
 |  
				| 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
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Wed Mar 28, 2007 3:30 pm |   |  
				| 
 |  
				| 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 
 
 
 
 
 
 
 
			
			
			
			
			
			
			
			
			
 
 | 
			
				|  |  
				|  Posted: Thu Mar 29, 2007 6:06 am |   |  
				| 
 |  
				| Thanks Guys for the advice i am ordering some parts and would keep you updated
 
 Bob
 |  | 
	
		|  | 
	
		| jfk1965 
 
 
 Joined: 21 Oct 2003
 Posts: 58
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Thu Mar 29, 2007 9:35 am |   |  
				| 
 |  
				| Check out Farnell electronic components they have many devices to suit your needs in the sensor section. 
 JFK
 |  | 
	
		|  | 
	
		|  |