Go Down

Topic: how to wire MCP41x1 Digital Pot (Read 1 time) previous topic - next topic

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.



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

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


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131