The AD5204 is a Digital Potentiometer with four internal 10kΩ, 50kΩ or 100kΩ potentiometers. It’s a 8 bits chip which means it has 2^8 = 256 steps from 0Ω to 100kΩ. It can be easily controlled by any microcontroller as it uses a Serial Peripheral Interface Bus (SPI).
I was working on a project where I needed to use some of those AD5204, so I developed a tiny breakout board in order to be able to prototype it using a SMD chip on the breadboard.
Below you can find an Arduino code example along with useful links.
Hope this can be useful for you!
Any question just let me know!