this probably seems like a very basic question but here goes....
I purchased the Autonomo LoRA kit with grove temp sensor. All works fine except for the temperature sensor. It is marketed "v1.2" and the readings are about 2 to 4 degrees too high when compared against other sensors. Here is the code I'm using:
// settings for Grove Temp Sensor (v1.2) http://www.seeedstudio.com/wiki/Grove_-_Temperature_Sensor_V1.2
const int B = 4275; // B value of the thermistor
const int R0 = 100000; // R0 = 100k
const int pinTempSensor = A2; // Grove - Temperature Sensor connect to A2
int a = analogRead(pinTempSensor );
float R = 1023.0 / ((float)a) - 1.0;
R = 100000.0 * R;
float temperature = 1.0 / (log(R / 100000.0) / B + 1 / 298.15) - 273.15; //convert to temperature via datasheet ;
Right now it says the temperature in my office is 25.25 degrees and it is definitely not that hot.