Dear all,Thank you very much for the information and the explanation. They are very much appreciated it.I found that the Arduino Due has 12 bits for the input (4096).However what I haven't been able to figure out if with the Arduino Due can I change the reference voltage to lets say 1 V?Thank you very much,Luis
That is done by using the analogRead() function (analogRead() reference). Unfortunately for your needs this is too granular giving 5000mV/1023 = 4.9mV per step by default so it might be able to tell you something was present by returning a 1 or a 0 only. Depending on your requirements that might be sufficient, but there is a way of improving this, by setting analogReference(EXTERNAL) first and connecting a 5mV source to the AREF pin on the Uno, redefining the maximum value to 5mV rather than 5V (analogReference() reference page.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16