Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
4answers
71 views

Trying to use an LCD 1602 to display, but I don't have a 10 KOhm potentiometer

I'm following this tutorial page and I don't have a 10k ohm potentiometer on hand. Could I replace it with resistors to simulate a manual setting and replace the resistors to adjust to a new settings. ...
0
votes
0answers
15 views

Brushless Motor and Electronic Speed Controller Initialisation Issues

I have been trying to make a brushless motor, working in synergy with an electronic speed controller, to work, however, all I have been achieving is the motor vibrating at a specific potentiometer/...
0
votes
0answers
39 views

How to operate a brushless motor & ESC with an Arduino

I have recently bought two brushless motors (Brushless-300w-6-5-Wheel-Tyre-Motor-Hoverboard-Swegway-Board-Replacement-Part) along with two ESC (https://hobbyking.com/en_us/hobbyking-40a-esc-4a-ubec....
0
votes
0answers
29 views

Problem with potentiometer

I would like to make an RC controller with NRF24L01 and two dx6i clone joysticks. Problem Joystick potentiometer return shitty value. When I move it, the "middle point value change" as well "...
0
votes
2answers
36 views

Arduino potentiometer (external power) with amplifier

i am trying to make some kind of an amplifier. I got an amp board but want to read out the value from the potentiometer. The problem is that this pot is connected to the amp and has to be connected to ...
0
votes
1answer
125 views

How to use map function

I want to know how to give if else statement in servo knob example. I want to control one servo motor, with one pot with various max angle, with respect to if else condition. I had try if(pin10==...
0
votes
1answer
52 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
148 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
42 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
32 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
100 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
35 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
846 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
93 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
541 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
548 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
114 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
63 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
413 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
94 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
249 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
729 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
372 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
87 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
193 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
396 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
86 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
575 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
359 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
730 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
375 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
419 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
583 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
58 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
169 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
344 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
4k 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
703 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
195 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
3k 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Ω ...