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
2answers
89 views

Value read is not changing while rotating pot in arduino?

I am trying to read voltage using analogRead in Arduino Uno from a voltage divider circuit consisting of 1k resistor and 10k pot. The Pot used is bourns 3296. The values obtained only range from 1011 ...
0
votes
0answers
23 views

Digital Potentiometer (TPL0501) Control Issues

I'm using SPI library in my code for controlling a digital potentiometer (TPL0501) with Arduino Mega. The code I have is: #include <SPI.h> byte address = 0x80; const int CS = 53; int SCLK = ...
0
votes
1answer
42 views

PWM Control, How to stop LED from Flickering?

What is required is controlling the brightness of an LED using both Buttons and a Potentiometer, Button A: Increase Button B: Decrease /Dim Potentiometer: Increase and Decrease, This however must ...
0
votes
1answer
51 views

Control 2 ESC with a potentiometer with arduino

I have 2 ESC (electronic speed controller) which control these brushless motors: Hobbyking Donkey ST3511 Brushless Motor I would like to make them work with a poentiometer, under arduino. I have a ...
0
votes
1answer
33 views

Component with controllable resistance from Arduino? [closed]

I'm new to Arduino and building circuits, and was wondering if there is a type of component, or some other way to do the following task: I want to control the resistance of a circuit from my computer ...
0
votes
3answers
108 views

analogWrite is not working - while trying to control DC motor speed

I'm trying to control the speed of DC Motor using Arduino R3 NPN Transistor (2N2222A331) 10k potentiometer 2M ohm resistor Diode I'm not using L298N and I'm also not using L293D. DC motor is ...
0
votes
1answer
57 views

I2C potentiometer mess

I bought a few MCP4651 dual 8 bit I2C pots for a project. After browsing the arduino libraries and finding nothing,"No big deal" I thought to myself ... I've already written I2C libraries for other ...
1
vote
3answers
119 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
24 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
196 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
33 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
46 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
250 views

How to use map function

if(pin10==HIGH) val=analog.read (potpin); val=map(val,0,1023,0,180); servowrite(val); else val=map(0,1023,0,90); ...
0
votes
1answer
60 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
307 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
2answers
59 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
35 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
1answer
37 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
1k 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
116 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
1k 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
26 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
914 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
136 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 ...
3
votes
1answer
71 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
527 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
152 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
343 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
995 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
442 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
95 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
220 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
496 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
91 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
719 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
435 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
880 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 ...
2
votes
3answers
7k 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 ...
3
votes
6answers
2k 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
442 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
481 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
643 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
60 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
204 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
413 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 -------- ...
4
votes
2answers
5k 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
1k 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
4k 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 ...