23. ADC Applications- Arduino

Question.4

Rayan has built the following circuit. What will the LM35 voltage be, if 113 is printed?

LM35 datasheet

const int lm35Pin = A0;

void setup() {
  Serial.begin(9600);
  analogReference(INTERNAL);
}

void loop() {
  int analogValue = analogRead(lm35Pin);
  Serial.print(analogValue);

  while(1);
}


 

Select Answer