Hello
I'm trying to set the resistance of a digital potentiometer DS1804-10, and I'm not sure how to programme it on the Arduino software. I'm using an Arduino Uno.
Pin 1 (INC) on the potentiometer goes to pin 12 on the Arduino.
Pin 2 (U/D) on the potentiometer goes to pin 13 on the Arduino.
Pin 4 (GND) on the potentiometer goes to ground (-)
Pin 5 (W) goes into a comparator.
Pin 7 (CS) on the potentiometer goes to ground (-)
Pin 8 (Vcc) has 5V coming in (+)
Now I'm confused about how I know the resistance of the potentiometer and how I can programme the correct resistance.
I'm trying to set the resistance of a digital potentiometer DS1804-10, and I'm not sure how to programme it on the Arduino software. I'm using an Arduino Uno.
Pin 1 (INC) on the potentiometer goes to pin 12 on the Arduino.
Pin 2 (U/D) on the potentiometer goes to pin 13 on the Arduino.
Pin 4 (GND) on the potentiometer goes to ground (-)
Pin 5 (W) goes into a comparator.
Pin 7 (CS) on the potentiometer goes to ground (-)
Pin 8 (Vcc) has 5V coming in (+)
Now I'm confused about how I know the resistance of the potentiometer and how I can programme the correct resistance.