The only downside is they use the Dallas 1-Wire protocol, which is somewhat complex, and requires a bunch of code to parse out the communication. If you want something really simple, and you have an analog input pin, the TMP36 is trivial to get going.
We toss in a 4.7k resistor, which is required as a pullup from the DATA to VCC line when using the sensor. We don’t have a detailed tutorial up yet but you can get started by using the Dallas Temperature Control Arduino library which requires also the OneWire Library.
- Stainless steel #316 tube 6mm diameter by 40mm long
- Cable is approx 3 ft long / 90cm long
- Contains DS18B20 temperature sensor
- Three wires — Orange Stripe connects to 3-5V, White connects to ground and Blue Stripe is data.
DS18B20 Technical specs:
- Usable temperature range: -55 to 125°C (-67°F to +257°F)
- 9 to 12 bit selectable resolution
- Uses 1-Wire interface- requires only one digital pin for communication
- Unique 64 bit ID burned into chip
- Multiple sensors can share one pin
- ±0.5°C Accuracy from -10°C to +85°C
- Temperature-limit alarm system
- Query time is less than 750ms
- Usable with 3.0V to 5.5V power/data