Reading from ADC NANO V2


Can anyone please explain to me how to read mV from Analogue input of Nano V2


Thanks :slight_smile:


Hi dexter123193,
Just for example, you can get sensorValue and turn it into voltage but it depends on your circuit

int sensorValue = analogRead(A0);
float voltage= sensorValue * (referenceVoltage / precision);