Arduino control of Dimmer: Resistance Control?

I had this idea using four relays and a sort of resistor ladder.

With judicious selection of the resistor values it will provide 16 discrete steps from full-on to full-off and nicely isolated from the Arduino.

DigPot.bmp (51.1 KB)