big_jose:
Hi guys,
I have a strange problem with the analogue inputs of my arduino. I’m reading 0-5V with 10 bit of resolution that gives a precision of 0,0048mV right? You mean .0048 Volts, right?
The problem is if I put 0,005mV, 0,010mV or 0,015mV the analogueRead returns 0. Just after the 0,015mV
Again your units are wrong (I hope!), should be Volts not mv. .010mv and .015mv would return 0.it starts to return 1, 2, 3….1023.
Any idea what can be?
The code I’m using its very basic:
int sensorPin = A0;
int sensorValue = 0;void setup() {
Serial.begin(9600);
}void loop() {
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
delay(1000);
}Thanks
Lefty