Go Down

Topic: how to wire MCP41x1 Digital Pot (Read 790 times) previous topic - next topic

yipyap777

Hi
I'm trying to make a digital Pot work like the one below.
But I have a different Digital Pot. http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf
I'm using the MCP41x1

I cant for the life of me work out how to wire it.
Can anyone give me a simple diagram on how its done?

Here's what im trying to do below.
http://arduino.cc/en/Tutorial/DigitalPotentiometer

Cheers
Nick

johnwasser

You have chosen an SPI device and the example is for an I2C device.

For SPI you will need to use the SPI library instead of the Wire (TWI/I2C) library.

SPI uses 3 or 4 pins:
    MOSI (Master Out / Slave In)
    MISO (Master In / Slave Out)
    SCK (Serial Clock)
    SS (Slave Select)

Look at the SPI library examples.

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

yipyap777

Thanks that's put me on the right track :)

cheers

Go Up