How can I change voltage instead of current?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 2K views
kolleamm
Messages
476
Reaction score
44
TL;DR
change voltage instead of current.
I have a micro controller that reads voltages from 0V to 5V
I did some tests on a potentiometer and I couldn't seem to get any readings of values in between. (range is 0-255 ,, 0 is for 0 volts and 255 is for 5V)
Therefore I'm assuming the voltage is staying the same as it turns but the current is changing.

How can I get the voltage to change instead of the current?

Thanks in advance
 
Last edited:
Engineering news on Phys.org
kolleamm said:
Summary: change voltage instead of current.

I have a controller that reads voltages from 0V to 5V
I did some tests on a potentiometer and I couldn't seem to get any readings of values in between. (range is 0-255 ,, 0 is for 0 volts and 255 is for 5V)
Therefore I'm assuming the voltage is staying the same as it turns but the current is changing.

How can I get the voltage to change instead of the current?

Thanks in advance
It's not clear what your setup is. This "controller" is a power supply or a meter? You say it "reads" but maybe you mean it produces?
 
phinds said:
It's not clear what your setup is. This "controller" is a power supply or a meter? You say it "reads" but maybe you mean it produces?
My bad I meant a micro controller attached to a computer that reads input voltage values from it's pins.
 
kolleamm said:
My bad I meant a micro controller attached to a computer that reads input voltage values from it's pins.
OK, still very unclear
how about a schematic of your circuit, showing ALL component values
and what micro controller you are using

otherwise it is just a guessing game trying to figure out what you are trying to doDave
 
kolleamm said:
My bad I meant a micro controller attached to a computer that reads input voltage values from it's pins.
Reads input values from what? Is that device outputting a voltage or current signal? Typically you can change a voltage signal to a current signal by adding a resistor to the circuit...
 
kolleamm said:
I have a micro controller that reads voltages from 0V to 5V
I did some tests on a potentiometer and I couldn't seem to get any readings of values in between. (range is 0-255 ,, 0 is for 0 volts and 255 is for 5V)

The potentiometer has three terminals to solder to. It sounds like you connected to only two of these?
 
kolleamm said:
My bad I meant a micro controller attached to a computer that reads input voltage values from it's pins.
Hook it up like this. The "clockwise" (CW) potentiometer pin should connect to 5V, and the CCW pin should connect to ground. The wiper goes to your ADC input pin on the microcontroller (uC). R2 and C1 are optional, but will help to steady the readings you get.

https://www.w9xt.com/img_1224968365_15498_1331504476.png
245775
 
Last edited:
  • Like
Likes   Reactions: NascentOxygen and Asymptotic
NascentOxygen said:
The potentiometer has three terminals to solder to. It sounds like you connected to only two of these?
You were right, I had to attach all three to the board and that fixed it. Thanks all
 
  • Like
Likes   Reactions: Asymptotic and berkeman