
Reading a Soft Potentiometer — SIK Circuit 10
निर्देश
Parts & Introduction
Parts & Introduction
A soft potentiometer is a thin, flexible strip that acts as a variable resistor based on where you press. Combined with an RGB LED, you can create an intuitive color picker — slide your finger to change colors!
Parts Needed
- 1x Arduino Uno + USB cable
- 1x Breadboard
- 1x Soft Potentiometer
- 1x RGB LED (Common Cathode)
- 3x 330Ω Resistors
- 1x 10KΩ Resistor (pull-down)
- 9x Jumper Wires
इस चरण के लिए सामग्री:
SparkFun Inventors Kit - V3.21 किट
Arduino Uno R31 टुकड़ा
Breadboard1 टुकड़ा
Soft Potentiometer1 टुकड़ा
RGB LED (Common Cathode)1 टुकड़ा
330 Ohm Resistor3 टुकड़े
10K Ohm Resistor1 टुकड़ा
Jumper Wires8 टुकड़ेआवश्यक उपकरण:
Hardware Hookup
Hardware Hookup
Wiring Instructions
Soft Potentiometer
- Connect the middle pin to Analog Pin A0.
- Connect one side pin to 5V.
- Connect the other side pin to GND.
- Add a 10K pull-down resistor from Analog Pin A0 to GND.
RGB LED (pin order from flat edge: Red, GND, Green, Blue)
- Connect Red through 330Ω resistor to Pin 9.
- Connect GND (longest pin) to GND rail.
- Connect Green through 330Ω resistor to Pin 10.
- Connect Blue through 330Ω resistor to Pin 11.
इस चरण के लिए सामग्री:
Soft Potentiometer1 टुकड़ा
RGB LED (Common Cathode)1 टुकड़ा
330 Ohm Resistor3 टुकड़े
10K Ohm Resistor1 टुकड़ा
Breadboard1 टुकड़ा
Jumper Wires8 टुकड़ेArduino Code
Arduino Code
Open the Arduino IDE and upload the following sketch to your Arduino board.
इस चरण के लिए सामग्री:
Arduino Uno R31 टुकड़ाआवश्यक उपकरण:
Test & Experiment
Test & Experiment
What You Should See
The RGB LED changes color as you slide your finger along the soft potentiometer strip. The color smoothly transitions through the spectrum: red → green → blue → red.
Troubleshooting
- LED dark or wrong color: Four pins close together are easy to misplace. Verify each RGB LED connection.
- Bizarre color jumps: Pressing the soft pot in multiple spots simultaneously gives unpredictable results. Use one finger.
Experiments to Try
- Add Serial output to see the raw sensor values as you slide.
- Map the soft pot to servo position instead of color.
सामग्री
8- ₹9,560.00
- 1 टुकड़ाप्लेसहोल्डर
- 1 टुकड़ाप्लेसहोल्डर
- 1 टुकड़ाप्लेसहोल्डर
- प्लेसहोल्डर
- ₹230.00
- ₹230.00
- ₹376.00
You can swap these in
Can't get one of the materials? Swap it for an equivalent — these work just as well.
- Instead of Arduino Uno R3, try:
Prototyping Shield for Arduino Uno (3-Pack)
Arduino Uno R3 Board
Arduino Uno - Instead of SoftPot Membrane Potentiometer - 50mm, try:
Digital Potentiometer - 10K
SoftPot Membrane Potentiometer - 100mm
Potentiometer
SoftPot Membrane Potentiometer - 200mm
10K Ohm Linear Potentiometer (5-Pack)
Softpot Rotary Potentiometer - Instead of Resistor 330 Ohm 1/6 Watt PTH - 20 pack, try:
AVR ISP Shield - PTH Kit
Resistor 1.0M Ohm 1/6th Watt PTH - 20 pack - Instead of Breadboard, try:
Solder-able Breadboard
Recommended for this build
Products makers often use with builds like this one.
5mm LED Assortment Kit (300pcs, 5 Colors)Used together and in similar builds
PhotoresistorUsed in similar builds
PotentiometerUsed together and in similar builds
Push Button - 33mmFrequently used with this build's materials
Diode KitFrequently used with this build's materials
BC547 NPN Transistor (50-Pack)Frequently used with this build's materials
Servo MotorFrequently used with this build's materials
Piezo ElementFrequently used with this build's materialsRelated blueprints
Other builds that share materials, tools, or techniques with this one.






CC0 पब्लिक डोमेन
यह ब्लूप्रिंट CC0 के तहत जारी किया गया है। आप बिना अनुमति माँगे इस कार्य को किसी भी उद्देश्य के लिए कॉपी, संशोधित, वितरित और उपयोग करने के लिए स्वतंत्र हैं।
उनके ब्लूप्रिंट के माध्यम से उत्पाद खरीदकर मेकर का समर्थन करें जहाँ वे मेकर कमीशन कमाते हैं जो विक्रेताओं द्वारा निर्धारित होता है, या इस ब्लूप्रिंट का नया संस्करण बनाएँ और राजस्व साझा करने के लिए इसे अपने ब्लूप्रिंट में कनेक्शन के रूप में शामिल करें।