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 to get A/D Value for Current.

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



Joined: 23 Sep 2003
Posts: 12
Location: South KOREA

View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger

How to get A/D Value for Current.
PostPosted: Thu Feb 02, 2006 6:04 pm     Reply with quote

Hello?

nice to meet you? and so sorry I'm poor english please understand to me.

I wanna know DC Motor's current.
so how to get DC Motor's current?

Before I try get the volt value ... on PIC A/D port

But how to...?

If you can give to me about sample source and SCH file...
Please help me...

Thank you~~~!
_________________
Hello~?

This is South KOREA
My name is Sanghyouk Kim But Call me Nick
Sorry I'm poor English
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Thu Feb 02, 2006 7:28 pm     Reply with quote

You probably can get away with low-side current sensor. Put a resistor from the low side of the motor (or an H-bridge, if you have it) to ground. The V=IR would probably be small, but you can amplify it with a non-inverting op-amp. Connect the output of theopamp to the PIC's A/D and measure the voltage, which will be V=AIR, where A is the gain of your op-amp.
Nick
Guest







Thank you... What is good OP Amp?
PostPosted: Thu Feb 02, 2006 8:12 pm     Reply with quote

Thank you..

Can U teach me about best op-amp?
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Re: Thank you... What is good OP Amp?
PostPosted: Thu Feb 02, 2006 8:54 pm     Reply with quote

Nick wrote:
Can U teach me about best op-amp?

Take a look here
http://hyperphysics.phy-astr.gsu.edu/Hbase/Electronic/opampvar.html
Also, just google "non-inverting op amp".
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