Go Down

### Topic: 0-5 v into 0-2.5 volts ? (Read 8470 times)previous topic - next topic

##### Apr 12, 2012, 10:04 am
i have a board with a 0-2.5 v input (not arduino)

i have a sensor with a 0-5v output

is it possible to use a resistor to reduce the voltage ?

what sort of resisitor should i use ?

#### fkeel

#1
##### Apr 12, 2012, 10:13 am

you need to build a voltage divider.

http://en.wikipedia.org/wiki/Voltage_divider

Look at the first picture of the page (at the right). Thats how you need to set it up. Use the first formula on the page to calculate your resistor values.

Cheers

p.
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

#2
Thank you ;-)

#### fkeel

#3
##### Apr 12, 2012, 04:09 pm

p.
http://embodimentlabs.tumblr.com/
http://paulstrohmeier.info/

#### db2db

#4
##### Apr 14, 2012, 03:24 am
In this case, you'd use two of the same value resistors, so you dont have to do much calculating.

#5
##### Apr 27, 2012, 07:11 pm
thats neat - 2 resistor values the same, reduce the value by half

#### db2db

#6
##### Apr 27, 2012, 07:54 pm

It's like splitting dinner with a friend.

#7
##### Apr 27, 2012, 09:24 pm
As long as your friend is a light eater.
Otherwise the current into your load overcomes the current into the bottom resistor and throws the voltage off.

With a lightload, say 2 5K resistors, Vin to R1 to R2 to ground, Vout from the R1/R2 junction:

Vout = Vin x R2/(R1+R2)
= 5V x 5000/(5000+5000) = 2.5V

However if Vout was connected the equivalent of a 1K resistor, the 5K and the 1K in parrallel act like an 833 ohm resistor (2 resistors in parallel = R1*R2(R1+R2) )
Then Vout = Vin x 833/(833+5000) = 0.71V

That's why voltage dividers are okay for signals, but not as power sources.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

#### joseph_m

#8
##### Apr 27, 2012, 10:21 pm
I would use a pot of say 50K ohms.  The run the voltage through the pot and the wiper will be the voltage out.  It is the same as a voltage divider circuit but uses the wiper to make two resistors, one on each side of the wiper.

Something like this:
-0  |  0-

the circles are the terminals to the pot and the | is the wiper.  This is a general solution that can be used whenever you need to get less voltage then you have.

Use your VOM to see what the voltage is on the wiper and you are done.  If you want to check it you can then test the resistance between each terminal and the wiper.  And, with nothing up my sleeve, I predict that you will find that the ratio is the same as what the voltage divider formula predicted.

#### MarkT

#9
##### Apr 28, 2012, 12:46 am
You need to know the input impedance of the 2.5V circuit really - if it has a very large impedance the simple R - R divider will work, if it has a low impedance then it will become part of the divider and the voltage will drop by more than half...
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

#10
##### May 02, 2012, 11:54 am
so you are saying a simple resisistor will do the same trick reducing a voltage from 0-5 v to 0 to 2.5 volts

how do i calculate the correct resistor - it is a signal wire

---------------------------------------

on another thought - the board is -2.5 v to +2.5 v   -  is it easy to convert 0-5v into -2.5 to +2.5 ?

thanks for the replies

#### AWOL

#11
##### May 02, 2012, 11:56 am
Quote
so you are saying a simple resisistor will do the same trick reducing a voltage from 0-5 v to 0 to 2.5 volts

Only if you know the impedance of the input.

Quote
how do i calculate the correct resistor - it is a signal wire

What sort of "signal wire"?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

#12
##### May 03, 2012, 05:37 am
Simple way is take your 0-5V signal and run it thru a capacitor. Like 10uF.
If that doesn't give enough drive, then buffer the output of the cap with an op-amp with +/- power supply.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

#### db2db

#13
##### May 03, 2012, 07:51 amLast Edit: May 03, 2012, 07:55 am by db2db Reason: 1

If it's from a sensor to a input on a micro,a voltage divider seems better (assuming he just wants to scale 0-5v to 0-2.5v)

How does the output of a cap give you a negative voltage?