Really unsure if thats it. First time trying to read for a number.
I’ve actually figured it out i think. I went on to find conversion from voltage to temperature. After finding that I realised that the values being output are way below what should be, so I compensated.
Serial.println((analogRead(temp) + 252 -500)/10
//252 is what I needed to compensate.
That’s the math I had to do in order to get it reading something in reasonable range and in Celcius.
That is yielding numbers that are off by around 5 C for me, so I guess there is significant sample variation and they each need to be calibrated. Just thought I would mention that for others.
I know at the bottom of the Electronic Brick Temperature Sensor page there is a Datasheet for TTC03 which on page 3 has a graph. If you’re able to make a formula out of it then I’m sure people here would be appreciative if you posted it.