Hi, Im using Arduino Diecimila, there is 5 analog In ports that i need to monitor. I have IR distance sensors connected to them, the output on this sensor is 0-3 V. As i have read that Arduino has range 0-5 V and function analogRead will send back integer -1024 .. 1024. What i need to know is table of conversion : Example 2.456 V in will give me via analogRead() = 2.456 / (5/1024) = 502
Is my information correct? or it uses long?