Electronics

Potentiometer - Digital Pot Module X9C103S

AED 19.00

1

Description

The X9C103S is a 10k variable digital potentiometer module whose resistance value can be changed using an MCU. It consists of a 3-pin output that can replace a mechanical potentiometer which has 3 pins. This module has 99 resistance components and the final resistor is controlled by a 3-wire interface.


Specifications:

Supply voltage: 3V-5V
Chip: X9C103S
PCB board size: 2.7 * 1.3CM
10K span potentiometer.
VL and VH digital potentiometer sliding rheostat port corresponding to the low-end and high-end, allowing the input voltage range -5V to + 5V.


 X9C103S Module Pinout

  • VCC: Module power supply – 5V
  • CS: Chip Select. Active LOW
  • INC: Changing resistor command
  • U/D: UP / Down. Adjusting resistor
  • GND: Ground
  • VL: Voltage Low
  • VW: Voltage Wiper is the voltage output of the adjustable wiper contact
  • VH: Voltage High

Arduino sample code for the X9C103S Module:
first you need to connect the module to the Arduino board as follows:
 * 1 - INC - Arduino pin 2
 * 2 - U/D - Arduino pin 3
 * 3 - VH  - 5V
 * 4 - VSS - GND
 * 5 - VW  - Output: Arduino pin A0 for analogRead
 * 6 - VL  - GND
 * 7 - CS  - Arduino pin 4
 * 8 - VCC - 5V

Then download the library to the Arduino IDE:
Last you need to upload this code to the Arduino

#include 

DigiPot pot(2,3,4);

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println("Starting");  

  for (int i=0; i<100; i++) {
    pot.increase(1);
    Serial.println(analogRead(A0));
    delay(20);
  }
  
  
  for (int i=0; i<100; i++) {
    pot.decrease(1);
    Serial.println(analogRead(A0));
    delay(20);
  }

}