This small projects shows a thermometer using a DS1821 as temperature sensor and a LCD-Display.
The code for reading the temperature measured by the DS1821 has been tested with a Cerbuino Bee. The sensor is connected to 5Volt, GND and the A0 pin. Between the 5Volts and A0 a connection is made using a resistor of 4.7K.
The DS1821 is a calibrator temperature sensor with a resultion of .5 degree Celsius and a measurement range from -55 to 125 °Celsius. Datasheet is available here: http://datasheets.maximintegrated.com/en/ds/DS1821.pdf