Double 10K Ohm Sliding Row Linear Potentiometer Mixer Module
$58.52
$87.78
Double Linear Potentiometer modules are great for project requiring sliding switches, mixing & DJ, railing systems and many more usages. 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. 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 (); } Open the serial monitor, you can see the value changes with the slider slide change
Arduino