Temperatuur thermistor

KY-013 Temperature NTC sensor brickalt
KY-013. Arduino playground. This sensor came with the 45in1 kit.

KY-028 Temperature analogue sensor/switch brickalt
KY-028 brick is based on a thermistor (wiki). That is a temperature depending resistor. An example is the Negative Temperature Coefficient (NTC) resistor. Connect the A0 pin to an analogue input pin and it can be read with analogRead. This value must be recalculated into a temperature. There are 2 ways: 1=table 2=formula. Both can be found on Arduino playground.