Go Down

Topic: Analog scaling (Read 350 times) previous topic - next topic

AMPS-N

I have analog  Sensor output @ 9v . i wanna connect it to arduino input side. but pins are rated for 5v .

how can i convert it to 5v ttl level from 9v without losing precsion.
using voltage devider we can achieve above, but we loose precision ,
Is any other methods of doing it.

For sake of knowledge:
if input of analog input  MCU are rated 3.3v and if i wanna give 5v Sensor output  to analog input  .how to read the exact analog output from Sensor
AMPS

Boffin1

#1
Dec 08, 2012, 12:16 pm Last Edit: Dec 08, 2012, 12:18 pm by Boffin1 Reason: 1
ttl level is 0volts or 5 volts,  is your sensor 0-9v linear?  

You could use an opamp to reduce the range without losing precision .

AMPS-N

AMPS

AWOL

Quote
using voltage devider we can achieve above, but we loose precision ,

Can you explain that, please?
"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.

PeterH


I have analog  Sensor output @ 9v . i wanna connect it to arduino input side. but pins are rated for 5v .


What is the actual range of values you want to measure?

What resolution do you need?
I only provide help via the forum - please do not contact me for private consultancy.

retrolefty


Quote
using voltage devider we can achieve above, but we loose precision ,

Can you explain that, please?


Two 5K ohm resistors wired in series, one end wires to sensors 0-9vdc analog output pin, other end wires to ground, ground wires to both arduino ground pin and sensor ground pin, junction of two resistors wires to arduino analog input pin. Results are 0-9vdc from sensor is divided down to 0-4.5vdc suited to be read with analogRead() statements on arduino.

Lefty


Go Up