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

Sorry for simple question regarding ADCs

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



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

Sorry for simple question regarding ADCs
PostPosted: Fri Nov 02, 2007 2:26 am     Reply with quote

Hi,

I am using an MCP3208 ADC to measure signals.

Do I have to give a separate reference voltage to the ADC or can I use the same +5V supply that is required for the ADC ??

thanks
arunb
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Fri Nov 02, 2007 8:08 am     Reply with quote

With the reference you determine the maximum measurement range. Yes you can use the same 5V if you are measuring up to the 5V range. (if you have a lower level of input range you can increase resolution by setting the reference to a lower voltage, this reference voltage will be the max scale value on the ADC reading)

For improved precision, there a caveat regarding digital noise on the supply rail, so you can decouple the Vref using an RC filter (e.g. a series resistor of 100-500 Ohm, with a capacitor to the ground of 1uF - 100nF will do I think)
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Fri Nov 02, 2007 8:35 am     Reply with quote

It is recommended to have your grounds separated. Have digital parts and analog parts on different ground traces. This will help minimize noise on the analog A/D parts. Always use caps (~.1uf) to help with this as well.

Ronald
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Nov 04, 2007 12:57 pm     Reply with quote

Quote:

Do I have to give a separate reference voltage to the ADC or can I use the same +5V supply that is required for the ADC ??


The MCP3208 is a 12 bit ADC. 2^12= 4096
To get the best resolution and range for this family devices, using the MCP1541
-or equivalent- as Reference Voltage, you will get full range (4096 steps) with 1mV granularity.


Humberto
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