Double Row Sliding Potentiometer, Module For Arduino

$14.00

Electronic building block double linear potentiometer module. For Arduino mixer linear sliding resistance.

9964 in stock

Description

Specifications:

  • Resistance: 10 kOhm
  • Size: 117 x 39 mm
  • Weight: 45 g

Wiring instructions: Connect the main controller to the main controller according to the standard interface of the sensor module. The symbol “G” is connected to the “ground”, “V” to “5V” and “S” to the “For Arduino” A0 and A1 pins of the main controller. Burn the test program.

Open the serial monitor, you can see the value changes with the slider slide change.

 

Test program:
void setup ()
{
Serial.begin (9600);
}
void loop ()
{
Serial.print ("NUM1 ---");
Serial.print (analogRead (0));
Serial.println ();
Serial.print ("NUM2 ---");
Serial.print (analogRead (1));
Serial.println ();
}

 

Additional information

Weight 0.1 kg