Pages: 1 [2] 3   Go Down
Author Topic: 0-5 v into 0-2.5 volts ?  (Read 3588 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 217
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But only if the op amp is there.
I read your post as "use a cap, but add a buffer IC if you need more drive".

You have to use the IC or this isn't going to work, wouldn't you agree?

Also, I think he's not going below 0 from the sensor. I think he is asking to map 0v to -2.5, and 5v to +2.5, Not sure why though..
« Last Edit: May 03, 2012, 01:27:11 am by db2db » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26433
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If no buffer, then a simple resistor to gnd. Just like an amp driving a speaker, the cap keeps the DC out while letting the AC swing back & forth.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi guys - thanks for the replies

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

if i wanted to use a single resistor, do i need to know the impedance in order to be able to calulate it ?

how do i find out the impedence ?
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi guys - thanks for the replies

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

if i wanted to use a single resistor, do i need to know the impedance in order to be able to calulate it ?

how do i find out the impedence ?

You will need 2, unless you use a POT (which is essentially 2 resistors).

You can calculate your resistor values here if you know the input impedance.
http://hyperphysics.phy-astr.gsu.edu/hbase/electric/voldiv.html

What is it you are powering with the 0 - 2.5 volts? is it an input to a micro?

Logged

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Guys

yes i am taking a 0-5v signal from a sensor and reading it using a 0-2.5 volt microprcessor

how do i find the input impedence ?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25770
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
how do i find the input impedence ?
It'll be in the datasheet.
Which device are you using?
Logged

"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.

Offline Offline
Full Member
***
Karma: 0
Posts: 217
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Which takes me right back to my original reply:

"In this case, you'd use two of the same value resistors, so you dont have to do much calculating."

A micro input sure seems like it'd be high impedance.
Two 10k resistors.  This will scale 0 to 5v to be 0 to 2.5v.
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Which takes me right back to my original reply:

"In this case, you'd use two of the same value resistors, so you dont have to do much calculating."

A micro input sure seems like it'd be high impedance.
Two 10k resistors.  This will scale 0 to 5v to be 0 to 2.5v.


What he said.

If your not "powering" something then 2 equal value resistors should do it.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 217
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I should clarify:

Two 10k resistors *wired as a voltage divider*, as mentioned earlier in this thread.
Logged

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi guys i tried a test today with two 22 ohm resistors

i wired up a 5v voltage regulator and measure the power out

just over 5 volts

then i added the two 22 ohm resistors and the voltage went down to 2.75 volts

not quite 2.5 volts but good enough

now i rewired the circuit

this time a pressure sensor was added and powered from the 5v regulator

the output with room pressure was 1.22 volts

then i added the two 22 ohm resistors

I expected to see approx 0.6 volts

but i saw 0.18 volts ?

the voltage was not powering anything just going to my multimeter

Is the problem caused by using low value resistors, so the resistance in the wires of the multimeter could upset the reading ?

confused ;-S
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 290
Posts: 25770
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is the problem caused by using low value resistors
Yes
Quote
so the resistance in the wires of the multimeter could upset the reading ?
No.

5 volts into 44 ohms is over 100mA
Logged

"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.

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 415
MEGA_Stick_II is here
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The output of the pressure sensor isn't designed to sink power and should be connected to a high impedance input, like an Analog read pin. I'll read back, but what is it you are trying to do? why do you need to divide the sensor output? If you must, then use two 1M resistors.
Logged

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i am using the output of the pressure sensor into an analogue input on a board
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 217
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi guys i tried a test today with two 22 ohm resistors

Two 10k resistors *wired as a voltage divider*, as mentioned earlier in this thread.
Logged

UK
Offline Offline
Sr. Member
****
Karma: 4
Posts: 320
Arduino - very interesting !
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

why would it work with two 10k resistors and not with two 22 ohm resistors ?
Logged

Pages: 1 [2] 3   Go Up
Jump to: