{"product_id":"waterproof-ds18b20-compatible-temperature-sensor-with-resistor","title":"Waterproof DS18B20-Compatible Temperature Sensor with Resistor","description":"\u003cp\u003eWhen you need to measure temperature, the DS18B20 is a firm favourite. Easy to code and with an abundance of examples on the internet, it's a go-to temperature sensor!\u003c\/p\u003e\n\u003cp\u003eThis particular sensor is a pre-wired, waterproof version with a DS18B20-compatible sensor in the tip - great for measuring the temperature of liquids, or simply something further away from your microcontroller. These are a digital sensor, so you don't have to worry about signal issues over longer distances.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNow available in ~1m and ~3m lengths.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eAs the coating\/exterior is made of PVC, we suggest limiting the submerged liquid temperature to 100°C to stay on the safe side. Don't use it in salt water or other corrosive liquids. Not IP rated or guaranteed for long-term\/high-pressure usage.\u003c\/p\u003e\n\u003cp\u003eThese sensors are quite precise (±0.5°C usually and can give up to 12 bits of precision from the onboard digital-to-analogue converter.\u003c\/p\u003e\n\u003cp\u003eThey use \u003cspan data-mce-fragment=\"1\"\u003ethe Dallas 1-Wire protocol\u003c\/span\u003e, so data is transferred over a single IO pin, and they're \u003cspan data-mce-fragment=\"1\"\u003esuitable with 3-5V systems. Want something simpler than 1-wire? Maybe try the TMP36 instead.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eA 4.7K resistor is included to use as a pull-up for fitting between the VCC and data pin. We toss in a 4.7k resistor, which is required as a pull-up from the DATA to VCC line. For Arduino-compatible devices, you can get started using the Dallas Temperature Control Arduino library which also requires the OneWire Library.\u003c\/p\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cdiv class=\"panel-collapse collapse in-md in-lg\" id=\"technical-details\"\u003e\n\u003cdiv class=\"row\"\u003e\n\u003cdiv class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"\u003e\n\u003cul\u003e\n\u003cli\u003eStainless steel tube 6mm diameter by 30mm long\u003c\/li\u003e\n\u003cli\u003eCable length (select before adding to cart):\n\u003cul\u003e\n\u003cli\u003e~1m \u003cem\u003e(sometimes as short as 90cm depending on the batch)\u003c\/em\u003e\n\u003c\/li\u003e\n\u003cli\u003e~3m\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eContains DS18B20-compatible temperature sensor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRed connects to 3-5V, White\/Blue\/Black (varies by batch) connects to ground and Yellow\/White (varies by batch) is data.\u003c\/strong\u003e\u003cbr\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eDS18B20 Specifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSensor temperature range: -55 to 125°C (but please stick to under 100\u003cspan data-mce-fragment=\"1\"\u003e°C due to the PVC coating!)\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli\u003e9 to 12-bit selectable resolution\u003c\/li\u003e\n\u003cli\u003eUses 1-Wire interface- requires only one digital pin for communication\u003c\/li\u003e\n\u003cli\u003e±0.5°C Accuracy from -10°C to +85°C\u003c\/li\u003e\n\u003cli\u003eTemperature-limit alarm system\u003c\/li\u003e\n\u003cli\u003eQuery time is less than 750ms\u003c\/li\u003e\n\u003cli\u003eUsable with 3.0V to 5.5V power\/data\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\nMaxim DS18B20 Datasheet (a good reference for these \u003cem\u003ecompatible\u003c\/em\u003e versions)\u003c\/li\u003e\n\u003cli\u003e\nRegulate Temperature with a Raspberry Pi Pico \u003cem\u003e(thanks to Paulo for the link and excellent project)\u003c\/em\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cul id=\"product-files\"\u003e\u003c\/ul\u003e\n\u003c\/div\u003e","brand":"The Pi Hut","offers":[{"title":"~1m","offer_id":52217284493600,"sku":"qxo1787257502107","price":2.52,"currency_code":"USD","in_stock":true},{"title":"~3m","offer_id":52217284526368,"sku":"glb1787257502108","price":4.43,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0946\/3231\/3120\/files\/waterproof-ds18b20-compatible-temperature-sensor-with-resistor_1.jpg?v=1787257506","url":"https:\/\/www.elmwoodbasket.shop\/products\/waterproof-ds18b20-compatible-temperature-sensor-with-resistor","provider":"My Store","version":"1.0","type":"link"}