Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [potentiometer]

Electronic component forming a three-terminal resistor with a sliding contact. Acts as a variable resistor / voltage divider, manipulating the amount of current flowing through it.

0
votes
1answer
47 views

How to regulate a led on-board? [closed]

There is blink project consisting 3 sections: 1 - regulation of the led brightness using a potentiometer 2 - whenever: the button is pressed - the led is on - the button is released - the led is ...
-1
votes
1answer
73 views

Dimming multiple leds with pot meter [closed]

I'm working on a small project. I have 13 leds which need to be controlled individually (turn on or turn off); Since I don't have 13 pwm pins I used a potentiometer to change the brightness. This ...
0
votes
1answer
39 views

Stacking adc's when making an midi controller ( lots of potmeters)

I'm making a midi controller with the Arduino uno. It contains approximately 50 analog inputs with potentiometers. I have enough MCP3008 adc's here but I have no idea how I connect 2 or more adc's to ...
0
votes
2answers
27 views

Potentiometer reading out letters

My potentiometer reads out t's or u's in my serial. I believe that my potentiometer is wired correctly. What am I missing? Here is my code: #include <VarSpeedServo.h> VarSpeedServo servo; ...
0
votes
0answers
58 views

Problem with controlling multiple 12V gear motors with 2 x potentiometers on Arduino Uno

I'm actually working on a project of controlling the speed of two 12 V gear motors with two potentiometers on Arduino but the problem is that only I can control one motor at a time (moves fast ...
0
votes
1answer
34 views

Digital selection for gain control not working instead showing 0

I am making a device which will have a button to measure the input and another button to reset and the inputs are variable analog values(0 to 5v) and output is a ratio of two analog input voltages. It ...
0
votes
1answer
632 views

LCD display weird characters

Im a newbie. I have a problem with displaying text in LCD (16x2). It shows incorrect message in the lcd. Here is the code and the picture that gives the wrong output : Kindly help Thank you. #include ...
0
votes
1answer
68 views

Two pots controlling 2 servos — odd behavior

I'm trying to control 2 servos with 2 pots. I thought I could just amend the tutorial code by adding in the extra pot on a1 and extra servo on d8 (am using a Nano). #include <Servo.h> Servo ...
0
votes
1answer
274 views

Dim a led using a NPN transistor

I know there are a lot of questions about this topic, but I've tried everything and any possible guide online without success. I want dim (increase and decrease the brightness) some leds (3.5 Watt ...
0
votes
1answer
25 views

Button isn't working properly

I am new in arduino trying to make race game. My problem is that my button (all buttons) is working sometimes and sometimes not. I am pretty sure that it's because of my code. Could you please help me ...
1
vote
4answers
316 views

What is the lowest resistance pot that is useful with an analog input?

Background I've dabbled in electronics since my parents gave me a 150-in-1 kit in the 1970's but never had formal training. My dad repaired Honeywell mainframes so taught me to solder when I was 8. I ...
0
votes
1answer
103 views

Unexpected value change of 2nd Potentiometer

I'm trying to connect 2 potentiometer (10k) and pass their value to Hairless Midi software (For Serial to Midi Bridge) the first pot is working fine but the second pot's value keep on changing and ...
4
votes
1answer
62 views

Ribbon sensor resistance slowly drops when released

I recently bought a ribbon sensor (the one displayed here), with the intention to use it as a touch-enabled music instrument. I used it correctly (so it seems), but I have two issues : When not ...
0
votes
1answer
321 views

Arduino Nano joystick x2 / potentiometer

will i be able to connect up all these parts to an arduino Nano i noticed i will need to connect to the nanos v5 to the 2 joysticks and potentiometer slider if i share the voltage will it still ...
1
vote
2answers
68 views

Can I change this code to use a potentiometer instead of a push button [closed]

The following code is for a pyrograph power supply that uses an ATtiny85. I want to change it, so instead of a push button I have a potentiometer being the control of the temperature. Can anyone guide ...
1
vote
1answer
203 views

Arduino - Ultrasonic Sensor for use instead of analog potentiometer for proximity control [closed]

I was hoping someone could assist me with a project. I have built a device which uses a potentiometer (analog) to control an audio filter (analog). I was looking to use the arduino dual ultrasonic ...
0
votes
2answers
579 views

LCD is not showing any text

I'm using LCD QC1602A with a 10k potentiometer and changing contrast. It works well but the problem is that no text is appearing. I'm using the LCD hello world examples and a few other examples. I ...
0
votes
2answers
334 views

Angular velocity of a dc motor controlled by a potentiometer

I created a setup in which a potentiometer controls a dc motor, with current flow through the dc motor controlled by an H-bridge. The principle is as follows: With the potentiometer dial set to the ...
1
vote
1answer
76 views

Arduino ESC controlled motor has issues

I have a brushless motor what is hooked up to a external power supply and I'm using an arduino with a potentiometer to control it. I know that the motor has power but whenever I turn the potentiometer ...
2
votes
1answer
177 views

Controlling an analog potentiometer using an Arduino

I want to be able to control an analog potentiometer. I'd like to be able to go from the minimum range to the maximum range possibly using an Arduino and a motor/servo. I want to be able to control ...
0
votes
1answer
25 views

Very bright cursos positions

As you may can I see on the picture. I try to display the word "goodbye". Yet the problem is that the cursor positions are to bright. I hooked up a 10k ohm potmeter to the Anode. To change the ...
1
vote
0answers
337 views

Controlling an MCP41HV31 Digital Potentiometer

I need to control a 10kOhm digital potentiometer in rheostat mode in 256 steps. I found an Arduino tutorial, which works with an MCP41010 (I added a viper resistance according to the datasheet). This ...
1
vote
1answer
77 views

Powering potientiometer/button with a digital pin

When I read articles/tutorials about the Arduino Uno, the potentiometer and button always get power from the 5 V pin instead of from digital pins. May I know whether the two components above can ...
1
vote
2answers
504 views

Arduino FIFO queue for with potentiometer values and 7 segment display

As of now I have code that takes a value from a potentiometer and maps it from 0-9. Based on this mapped value a number will be displayed on the seven segment display. Currently, if I quickly turn ...
2
votes
1answer
302 views

SPI Problem with K-Thermocouple and Potentiometer?

I have a setup where the Arduino reads input from the k-thermocouple and uses that info to regultate the an output voltage through a potentiometer. I know the potentiometer is not faulty because able ...
1
vote
1answer
661 views

Using a potentiometer to control number of lit pixels on an NeoPixel strip

I'm working on controlling an Adafruit NeoPixel strip with an Arduino and a potentiometer. Specifically, I'm trying to use the potentiometer to control how many pixels are lit up on the strip. As I ...
3
votes
3answers
5k views

What difference makes resistance of thermistors?

Following this thermistor tutorial i used 1k thermistors (and resistors) instead of 100k as in video. What difference does it make? What about 10k thermistors? Is it good idea to use 1k/10k/100k ...
4
votes
6answers
1k views

Why can't I use just the digital pins and a ground to use a potentiometer?

First of all I am a newbie. So please excuse. After doing the first basic project, in which I had hooked up the positive of a LED to a digital input of the Arduino and the negative to the ground of ...
0
votes
1answer
330 views

Using millis() function to start at potentiometer reading

I am trying to use the millis() function to start a countdown of 3 seconds when I turn my potentiometer to high travel. My code so far starts the timer at the beginning of the loop or when reset is ...
0
votes
1answer
376 views

Wiring a potentiometer to control a 9V battery powering 2 LEDs in series

I am trying to build an array of LEDs where their brightness is controlled by a potentiometer. The LCD will display the percentage of brightness based on the potentiometer. I am able to successfully ...
0
votes
2answers
532 views

Analog output doesn't work for just 2 LEDs [Arduino Mega]

I am having a problem with an Arduino Mega 2560. Everything works fine, the ultrasonic sensors work fine, and the other LEDs work fine. Although there is 2 LEDs who do not work right and when I do ...
0
votes
2answers
56 views

How to calculate the time it takes before the water valve stops dispensing water in an Automatic Water level controller?

I am making a project about an automated water level controller using ultrasonic, potentiometer and Arduino board. I need a mathematical calculation on how it works. So here's a simple scenario: I ...
1
vote
2answers
149 views

Arduino - Turn on LED when Potentionmeter is used

I'm very new to the Arduino/Microcontroller-world, so please be patient :) I have 4 potentiometers and I want my LED to blink up, when one of these is beeing used. So far., so good.. the ...
2
votes
2answers
318 views

Use interrupts with analog pins in arduino or another possible solution?

I have a very simple circuit, but my program is some what complicated. Here is the circuit diagram: Here is the code: /* 01 - GND -------- GND 02 - +5V -------- 5V 03 - V0 -------- ...
2
votes
2answers
3k views

A question about resistance measurement with arduino

Lately I was asking myself about the possibility of measuring a potentiometer resistance with Arduino. My questions are: Is it possible? If it's possible, what kind of restriction does the Arduino ...
1
vote
1answer
1k views

Constantly read analog in in SWITCH/CASE setup

I'm writing a program with three different cases. Case one an LED is off, in another it is on and in the last case the brightness is controlled by a potentiometer. Each case works as I press the ...
1
vote
3answers
561 views

Arduino wait for change in value

I am currently working on a project that involves steering wheels, and I would like a way for Arduino to wait for a change in value. A potentiometer is used and I would like a program to run (say, ...
0
votes
3answers
3k views

Change max and min read value of potentiometer

I'd like to know if there is a function or some way to define min and max value to potentiometer, for example: I'm using a mechanical part that only tour the potentiometer a little bit, what means the ...
0
votes
1answer
2k views

Arduino Dim RGB LED

I have an RGB led and I (just) would like to dim is brightness programmatically. I searched Google thoroughly without any interesting code. Some of them present only "how to" fade from on to another ...
1
vote
1answer
172 views

Getting negative results from calculations

I'm trying to proportion potentiometer value to analog pin value. Like 1024 to 255. int readVolumePot() { int val = analogRead(potVolumePIN); Serial.print("VOL"); Serial.println((val * ...
1
vote
2answers
2k views

Potentiometer on motor for position control

I am using a wiper motor as a rotor. I am trying to get it to at least point in different azimuths (compass azimuths eg. 180 degrees) In order to do this, I am thinking about attaching a potentiometer ...
2
votes
2answers
2k views

Why is my potentiometer giving strange reading?

I have a 10kOhm linear Potentiometer. I connected it to analog 0, as in https://www.arduino.cc/en/Tutorial/Potentiometer. The analogRead() gives a value between 0 and 1023, so I was expecting 0 if ...
2
votes
1answer
2k views

Maximum potentiometer resistance

I want to hook up a potentiometer to my arduino (Leonardo) as a voltage divider with the middle pin to an analog pin. I want to use the highest resistance to save power. I looked on the datasheet and ...
-2
votes
3answers
3k views

How can we replace a 10k potentiometer with resistors?

I am using an LCD (16x2) with an Arduino Uno R3, in for that I need a 10 kΩ potentiometer, but I don't have it now. How can I replace that? I have resistors of many kinds and a 1 kΩ ...
1
vote
0answers
388 views

Arduino Nano - 5V pin drops to 3.3V when load is connected

I have a Nano (with ATmega328) board that I am using along with a GPS module, an LCD and a potentiometer to make a small GPS unit that will tell the location. Long story short, when powered externally ...
1
vote
1answer
383 views

Potentiometer with switch wiring question. Not reading correctly

I have a potentiometer with switch, that seems to be working a little wonky (Keep in mind I have tried this with a few different pots and they all behave the same way which leads me to believe I am ...
1
vote
1answer
875 views

How to use potentiometer on one Arduino to control servo on another Arduino via WiFi?

I want to connect a potentiometer on one Arduino (master side) and send the readings to another Arduino (client side) to run a servo motor. The communication between the two Arduinos should be via Wi-...
1
vote
2answers
888 views

Multiplexing potentiometers

Is it possible to have two rotary potentiometers read from a single analog input pin? The analog input is 10 bits (0-1023), so each pot would have 5 bit precision (0-15). Least significant bits for ...
0
votes
2answers
179 views

Arduino and DC Motor control board

I've this PWM Module - 6V-90V 15A Pulse Width PWM DC Motor Speed Controller Switch which I use to control a peristaltic pump (ordinary DC motor), now I want to replace the potentiometer with an ...
1
vote
4answers
240 views

I am planning to do a periodic table with Arduino's help but I have a few questions

I'm doing that for my school project, but I have few questions before I purchase the components. First of all, let me explain how it will work: There will be 4x20 LCD, an Arduino and probably two ...