Modul potentiometru digital, X9C103S, 10k
zoom_out_map
chevron_left chevron_right

Modul potentiometru digital, X9C103S, 10k

9,52 RON
cu TVA
rating Nici-un review pentru moment
warning Ultimele produse in stoc

Adauga la lista

Trebuie sa te autentifici
  LIVRARE GRATUITA

Adauga in cos produse in valoare de 120 Ron

  LIVRARE RAPIDA 24H

Expediem in aceasi zi comenzile plasate pana in ora 14:00

  REDUCERE 8%

La toate comenzile minim 300 Ron

Potentiometru digital a carui rezistenta poate fi controlata direct prin placile de dezvoltare precum Arduino.


Tensiune alimentare: 3 - 5VDC

Chip: X9C103S

Rezistenta: 0k - 10k
Dimensiuni mm: 27 x 13mm

VL si VH permit un interval de tensiune intre -5V si +5V.


Cod exemplu test:

const int CS = 10; //pin CS la pin 10 Arduino

const int INC = 9; //pin INC la pin 9 Arduino

const int UD = 8; //pin UD la pin 8 Arduino



void setup() {

pinMode(CS, OUTPUT);

pinMode(INC, OUTPUT);

pinMode(UD, OUTPUT);

digitalWrite(CS, HIGH);

digitalWrite(INC, HIGH);

digitalWrite(UD, HIGH);

}



void loop() {

for (int i=0; i<=100; i+=10) {

setResistance(i);

delay(100);

}

}



void setResistance(int percent) {

digitalWrite(UD, LOW);

digitalWrite(CS, LOW);

for (int i=0; i<100; i++) {

digitalWrite(INC, LOW);

delayMicroseconds(1);

digitalWrite(INC, HIGH);

delayMicroseconds(1);

}



digitalWrite(UD, HIGH);

for (int i=0; i<percent; i++) {

digitalWrite(INC, LOW);

delayMicroseconds(1);

digitalWrite(INC, HIGH);

delayMicroseconds(1);

}



digitalWrite(CS, HIGH);

}

Video tutorial (foloseste alt cod)

00403

Recenzii

Click aici pentru a scrie o recenzie