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

MCP41100 (digital Pot) does not show correct value

 
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

MCP41100 (digital Pot) does not show correct value
PostPosted: Fri Dec 07, 2007 1:35 am     Reply with quote

PCM 3.169
MCU 16F628

Hi,


I am using a 16F628 mcu to control a MCP41100 (100 K digital pot).

After powering up the device, I checked the resistance between the PB0 and PA0 (resistor ends) and found that it was 72 Kohm instead of 100Kohm.

Kindly explain this anamoly.

thanks
arunb
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri Dec 07, 2007 8:00 am     Reply with quote

I might suggest you read the device data sheet particularly paying attention to the section on the 100K version. I believe that will povide the explanation you require.
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Fri Dec 07, 2007 9:53 am     Reply with quote

Every part that is manufactured has a 'tolerance' associated with it since nothing is perfect. There should always be a plus/minus associated with it. The spec. sheet states that, for the 100K version, the internal resistance is 100K plus/minus 30K. It's a rather wide window but it's what is spec'd out and your part falls, barely, within that specification. The only way to get a 100K part is to buy a bunch of them and measure each one until you find one that is close enough.

Ronald
Ttelmah
Guest







PostPosted: Fri Dec 07, 2007 4:48 pm     Reply with quote

Also, remember that if there is any load on the wiper, this will affect the apparent resistance between the endpoints.

Best Wishes
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE:
PostPosted: Fri Dec 07, 2007 10:31 pm     Reply with quote

Hi All,

Thanks for the help.

bye
arunb
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