23. ADC Applications- Arduino

Question.3

Alex has built the following circuit. What will the temperature be if the value printed on the Serial Monitor is 48?

LM35 datasheet

const int lm35Pin = A0;

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

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

  while(1);
}

 

 

 

Select Answer