[Arduino MEGA] [ADC] Is the board safe for voltages greater than 1.1V?

[ADC] Is the board safe for voltages greater than 1.1V?

figs

hello. Nice to meet you.
Please refer to the picture. I am trying to connect 'Arduino Mega' and 'Sensor' as shown in the picture.
We will use 'analogReference(INTERNAL1V1)' to get the low voltage value of the sensor accurately.

Here's the code.

#define V_IN  A0

void setup(){
  Serial.begin(115200);
  pinMode(V_IN, INPUT);
  analogReference(INTERNAL1V1);
  Serial.println(" SETUP OK!"); 
}

void loop() {
  Serial.println(analogRead(V_IN)); 
  delay(1000);
}

By any chance, what happens when a high voltage of 1.1V comes into 'A0'? Is it a circuit problem? I wonder.
example) If 5V comes into 'A0', is it a circuit problem?
(For reference, it does not matter if the software value is max value.)

All inputs accept voltages between GND and Vcc.

1 Like

Nothing will happen if the input of the Mega stays below VCC of the Mega.
The A/D will of course return 1023 with voltages above ~1.1volt.
Leo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.