Pages: [1]   Go Down
Author Topic: Analog scaling  (Read 327 times)
0 Members and 1 Guest are viewing this topic.
DELHI
Offline Offline
God Member
*****
Karma: 8
Posts: 959
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 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
Logged

AMPS

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1222
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 .
« Last Edit: December 08, 2012, 06:18:37 am by Boffin1 » Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

DELHI
Offline Offline
God Member
*****
Karma: 8
Posts: 959
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes linear
Logged

AMPS

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

Quote
using voltage devider we can achieve above, but we loose precision ,
Can you explain that, please?
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.

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17305
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Pages: [1]   Go Up
Jump to: