3362P 10K Trimmer Potentiometer (3362P-10K) [S091]



https://www.youtube.com/watch?v=pdCVi_gEZNs


* Specs

10Pcs 3362P-103 3362 P 10K ohm High Precision Variable Resistor Potentiometer

Posted by RD IoT RDIoT

댓글을 달아 주세요



3296W Multiturn Trimmer Potentiometer (3296W) [S089]



https://www.youtube.com/watch?v=kQI45GNi8SE


* Specs

Features

Multiturn / Cermet / Industrial / Sealed 5 terminal styles Tape and reel packaging available Chevron seal design Listed on the QPL for style RJ24 per Mounting hardware available


* Contents

- Connect

3 (Left)

2 (Middle) ----- GND

1 (Right) ----- VCC 

Posted by RD IoT RDIoT

댓글을 달아 주세요

Linear Potentiometer B1K~B1M (B1K~B1M) [S070]




https://www.youtube.com/watch?v=XWHGxC1BT80


*GitHub https://github.com/rdiot/rdiot-s070.git



* Contents

- Connect

Left ----- D8

Middle ----- LED + 

 

LED (+) ----- Potentiometer Middle

LED (-) ----- GND


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

int pin=8;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");

  pinMode(pin, OUTPUT);


  digitalWrite(pin,HIGH);

  delay(1000);


  lcd.clear();

}


void loop()

{

  lcd.setCursor(0,0);

  lcd.print("S070:B1K~B1M");


  lcd.setCursor(0,1);

  lcd.print("analog=" + (String)analogRead(A0) + " ");

}

Posted by RD IoT RDIoT

댓글을 달아 주세요

Slide Pot 10K Module [S061]



https://www.youtube.com/watch?v=cJkjxeIvFuM


*GitHub : https://github.com/rdiot/rdiot-s061.git



* Specs

Two analog outputs, analog outputs 0-VCC voltage signals

Size: 90 * 20mm / 0.39*0.78"

Voltage: 3.3V or 5V

Port: Analog

Resistance: 10K

Quantity:1pc


* Contents

- Connect

GND ----- X 

VCC ----- X

OTB ----- A1

GND ----- GND

VCC -----5V

OTA -----  A0


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>

 

LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

int pot1Pin = A0;

int pot2Pin = A1;

 

int val;

 

void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");

 

  delay(1000);

  lcd.clear();

}

 

void loop()

{

  lcd.setCursor(0,0);

  lcd.print("S061:Slide Pot");

 

  lcd.setCursor(0,1);

  lcd.print("OTA=" + (String)analogRead(pot1Pin) + " -> " + (String)map(analogRead(pot1Pin), 0, 1021, 0, 100)  + "     " );

 

  lcd.setCursor(0,2);

  lcd.print("OTB=" + (String)analogRead(pot2Pin) + " -> " + (String)map(analogRead(pot2Pin), 0, 1021, 0, 100)  + "     ");

 

  delay(10);

}

Posted by RD IoT RDIoT

댓글을 달아 주세요

Taper Rotary Potentiometer B10K (B10K) [S060]



https://www.youtube.com/watch?v=VMQ_LH0NPps


*GitHubhttps://github.com/rdiot/rdiot-s060.git


* Specs

Manufacturer: ALPHA

Manufacturer Part No: B10K OHM 17mm

Comes with Dust Seal


Specifications

Adjustment Type: Top Adjustment

Power: 1/2W

Resistance: 10K OHM OHMS

Type: Linear

Type B

Features

Knurled Shaft

Suits Most Standard knobs

Shaft Diameter: 6mm

Shaft Length: 10mm

Mounting Hole: 7.5mm

Base Diameter: 16mm


* Contents

- Connect

Left - 5V

Middle - A0 (OUT)

Right - GND


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

int potPin = A0;

int val;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");


  //pinMode(potPin, INPUT);

  delay(1000);


  lcd.clear();

}


void loop()

{

  lcd.setCursor(0,0);

  lcd.print("S060:B10K");


  val = analogRead(potPin);


  lcd.setCursor(0,1);

  lcd.print("analog=" + (String)val + "  " );


  val = map(val, 0, 1021, 100, 1);

 

  lcd.setCursor(0,2);

  lcd.print("val1~100=" + (String)val + "  " );


  delay(10);

}

Posted by RD IoT RDIoT

댓글을 달아 주세요

Amp Pot B5K (B5K) [S027]



https://www.youtube.com/watch?v=7J1AMx28ROs


* Specs

5k

2W @ 70°C ambient

Non-rotational key

Temp. range: -55°C to +120°C

Shaft length: 0.875" 

Shaft dia.: 0.25"

Mounting hole: 0.375" 

Max. panel thickness: 0.25"


* Contents

- Connect

Potentiometer

LEFT - 5V

MIDDLE - A0 (OUT)

RIGHT - GND


Servo

Black - GND

Red - 5V

Red -  D12


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>

#include <Servo.h> 


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

Servo myservo; 

int servoPin = 12;

int potPin = A0;

int val;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");


  myservo.attach(servoPin); 

  delay(1000);


  lcd.clear();

}


void loop()

{


  val = analogRead(potPin);

  val = map(val, 0, 1023, 0, 179);

 

  lcd.setCursor(0,0);

  lcd.print("S027:B5K");


  myservo.write(val);

  lcd.setCursor(0,1);

  lcd.print("pos0~179=" + (String)val + "  " );


  delay(10); 

}

Posted by RD IoT RDIoT

댓글을 달아 주세요