Modul Blok Elektronik Potentiometer Slide 10K untuk ARM MCU Arduino
Description
- Resistance: 10 k.
- Port: analog.
- Voltage: 3.3 V, 5 V.
- Color: Red.
- Size: 90 * 20mm.
100% Brand new and high quality!
USES the high quality slide appliances, stable and reliable
performance
Dual analog output, 0 - VCC analog voltage signal
Specifications:
Size: 90 * 20 mm
Color: Red
Voltage: 3.3 V, 5 V
Port: analog
Resistance: 10 k Platform: For Arduino, For MCU, For ARM, and
other single chip micro
Packing List:
1 x Electronic Block Sliding Potentiometer Logarithmic Slider
Potentiometer Module for Arduino
Trial Program ke Arduino
Vcc -> 5V Arduino
Vcc -> 3.3V Arduino
Gnd -> Gnd Arduino
OTA -> Pin Analog 0 Arduino
OTB -> Pin Analog 1 Arduino
Double potensio pada linier slider yang bisa dipakai pada kesempatan ini dibagi menjadi 2 biar lebih jelas membedakan dua potensio dengan tegangan 5v dan 3.3V arduino. list program sebagai berikut:
1 2 3 4 5 6 7 8 9 10 | void setup() { // put your setup code here, to run once: Serial.begin (9600);} void loop (){ Serial.print ("NUM1 ---"); Serial.print (analogRead (0)); Serial.println (); Serial.print ("NUM2 ---"); Serial.print (analogRead (1)); Serial.println ();} |
Video Hasil
Semoga Bermanfaat ,
0 Comments