Code: Select all
int inputValue = analogRead(A0);
float outputVoltage = inputValue * (5.0 / 1023.0);
Temp = (outputVoltage-1.25)/0.005;
Serial.print(inputValue);
I have V+ connected to 5V.
I have both GNDs connected to Arduino GND.
I have Out connected to A0.
Any ideas why I'd only be receiving an inputValue=1023?
Is there an LED on the AD8495? If there is, I'm not seeing any lights turn on...