MAX41050 digital pot
Archiver
Posts: 46,084
Hi All,
Has anyone used a MAX41050 or similar MAX digital pot and happen to have a
code snip handy?
Thanks,
Jonathan
www.madlabs.info
Has anyone used a MAX41050 or similar MAX digital pot and happen to have a
code snip handy?
Thanks,
Jonathan
www.madlabs.info
Comments
jpeakall@p... writes:
> Has anyone used a MAX41050 or similar MAX digital pot and happen to have a
> code snip handy?
>
Hi, Jonathan
I've used the DS1267 digital pot, and would be happy to share my code, if
that would help. T'ain't a Maxim. Its a 3-wire device.
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
I have used a Dallas Semiconductor DS1267. It is very easy to interface to
and to use. The code used to control this device is fairly simple. If you
would like information on it let me know.
Thanks,
Ron
|
+
>
| | "Jonathan |
| | Peakall" |
| | <jpeakall@pacific|
| | .net> |
| | No Phone Info |
| | Available |
| | |
| | 02/17/2004 05:01 |
| | PM |
| | Please respond to|
| | basicstamps |
| | |
|
+
>
>
\
|
|
|
| To: <basicstamps@yahoogroups.com>
|
| cc:
|
| Subject: [noparse][[/noparse]basicstamps] MAX41050 digital pot
|
>
\
|
Hi All,
Has anyone used a MAX41050 or similar MAX digital pot and happen to have a
code snip handy?
Thanks,
Jonathan
www.madlabs.info
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
Yahoo! Groups Links
Well, I have the Max, so I want to use that. If I can't get it going I'll
order a Dallas one.
Thanks!
Jonathan
www.madlabs.info
Original Message
From: <Newzed@a...>
To: <basicstamps@yahoogroups.com>
Sent: Tuesday, February 17, 2004 4:13 PM
Subject: Re: [noparse][[/noparse]basicstamps] MAX41050 digital pot
> In a message dated 2/17/2004 7:00:32 PM Eastern Standard Time,
> jpeakall@p... writes:
>
>
> > Has anyone used a MAX41050 or similar MAX digital pot and happen to have
a
> > code snip handy?
> >
>
> Hi, Jonathan
>
> I've used the DS1267 digital pot, and would be happy to share my code, if
> that would help. T'ain't a Maxim. Its a 3-wire device.
>
> Sid
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
jpeakall@p... writes:
> Well, I have the Max, so I want to use that. If I can't get it going I'll
> order a Dallas one.
>
Jonathan, if that is a dual pot, 3-wire serial, it is probably just like the
DS1267. i couldn't find a data sheet on the MAX 41050 so I don't know for
sure.
Sid
[noparse][[/noparse]Non-text portions of this message have been removed]
Your part number looks like it is a MCP [noparse][[/noparse]Microchip] Part number. I
have been looking for digital potentiometers for my project and the
number you gave looks like a Microchip single potentiometer with a 50
K Ohm maximum value.
[noparse][[/noparse]From Futurlec website]
MCP41050 50k Single Channel Digital Potentiometer
I was able to download a datasheet directly from Microchip's
website. The datasheet has good info on how to interface the chip
with a microcontroller, or at least enough info to point you in the
right direction.
Eric in Japan
Yes, it is a MCP41050, not a MAX41050. Brain fart. I have been pondering the
data sheet. That's why I was asking questions! Here is what I am thinking I
need to do, see if this seems right:
Bring the CS line low and hold it low while:
Sending 16 pulses (high/low) on the SCK line then:
shiftout 16 data bits on the SI pin
take CS high
I don't get the SCK line stuff. Do I have that right? It's late here so I
will try this tomorrow.
Thanks for all the help!
Jonathan
www.madlabs.info
Original Message
From: "sunnydaydog" <ce.anderson@p...>
To: <basicstamps@yahoogroups.com>
Sent: Tuesday, February 17, 2004 6:14 PM
Subject: [noparse][[/noparse]basicstamps] Re: MAX41050 digital pot
> Jonathan-
>
> Your part number looks like it is a MCP [noparse][[/noparse]Microchip] Part number. I
> have been looking for digital potentiometers for my project and the
> number you gave looks like a Microchip single potentiometer with a 50
> K Ohm maximum value.
>
> [noparse][[/noparse]From Futurlec website]
> MCP41050 50k Single Channel Digital Potentiometer
>
> I was able to download a datasheet directly from Microchip's
> website. The datasheet has good info on how to interface the chip
> with a microcontroller, or at least enough info to point you in the
> right direction.
>
> Eric in Japan
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
guess), then u toggle the clock (SCK?)(ie low to high then back to low),
then u set up ur next bit on SI, clock again, and continue for ur 16 bits.
(If this is what you meant in your post my apologies for the wob).
If CS is chip select you would need to do the appropriate thing with that
to get the chip to interpret ur pulse train. On other chips (74HC595) you
would then also clock a latch pin that would "transfer" all the data from
the shift register to the output latches. I think the last digital pots I
looked at needed something like that also.
HTH.
Mos.
--
78 KE50, 84 AE86, 90 ST185GrpA, 91 MX83Gr, Sydney, Oz.
On Tue, 17 Feb 2004, Jonathan Peakall wrote:
> Eric, Sid, All,
>
> Yes, it is a MCP41050, not a MAX41050. Brain fart. I have been pondering the
> data sheet. That's why I was asking questions! Here is what I am thinking I
> need to do, see if this seems right:
>
> Bring the CS line low and hold it low while:
> Sending 16 pulses (high/low) on the SCK line then:
> shiftout 16 data bits on the SI pin
> take CS high
>
> I don't get the SCK line stuff. Do I have that right? It's late here so I
> will try this tomorrow.
>
> Thanks for all the help!
>
> Jonathan
>Eric, Sid, All,
>
>Yes, it is a MCP41050, not a MAX41050. Brain fart. I have been pondering the
>data sheet. That's why I was asking questions! Here is what I am thinking I
>need to do, see if this seems right:
>
>Bring the CS line low and hold it low while:
>Sending 16 pulses (high/low) on the SCK line then:
>shiftout 16 data bits on the SI pin
>take CS high
>
>I don't get the SCK line stuff. Do I have that right? It's late here so I
>will try this tomorrow.
The SHIFTIN or SHIFTOUT command handles the SCK line for you. It also presents
the data on the SI/SO pins for each of the bytes involved in the transfer. You
bring CS low before the data transaction, and high at the end of the data
transaction.
>Thanks for all the help!
>
>Jonathan
>
>www.madlabs.info
Bruce Bates