{"product_id":"waterproof-ds18b20-digital-temperature-sensor-extras","title":"Waterproof DS18B20 Digital temperature sensor + extras","description":"\u003cmeta charset=\"utf-8\"\u003e\u003cstrong\u003eThis is a pre-wired and waterproofed version of the DS18B20 sensor. Handy for when you need to measure something far away, or in wet conditions. While the sensor is good up to 125°C the cable is jacketed in PVC so we suggest keeping it under 100°C. Because they are digital, you don't get any signal degradation even over long distances! These 1-wire digital temperature sensors are fairly precise (±0.5°C over much of the range) and can give up to 12 bits of precision from the onboard digital-to-analog converter. They work great with any microcontroller using a single digital pin, and you can even connect multiple ones to the same pin, each one has a unique 64-bit ID burned in at the factory to differentiate them. Usable with 3.0-5.0V systems.\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003eThe 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 \u003ca href=\"http:\/\/www.adafruit.com\/products\/165\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eTMP36 is trivial to get going\u003c\/a\u003e.\u003cbr\u003e\u003cbr\u003eThis part includes a 4.7k resistor, which is required as a pull-up 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 \u003ca href=\"http:\/\/www.milesburton.com\/?title=Dallas_Temperature_Control_Library\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eDallas Temperature Control Arduino library\u003c\/a\u003e which requires also the \u003ca href=\"http:\/\/www.pjrc.com\/teensy\/td_libs_OneWire.html\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eOneWire Library\u003c\/a\u003e.\u003cbr\u003e\n\u003ch2 class=\"hidden-sm hidden-xs\" style=\"display: inline !important;\"\u003e\u003c\/h2\u003e\n\u003ch2 id=\"tab_technical-details\" class=\"hidden-sm hidden-xs\" style=\"display: inline !important;\"\u003eTECHNICAL DETAILS\u003c\/h2\u003e\n\u003ca data-toggle=\"collapse\" href=\"https:\/\/www.adafruit.com\/#technical-details\" class=\"toggle-link\"\u003e\u003c\/a\u003e\n\u003cdiv id=\"technical-details\" class=\"panel-collapse collapse in-md in-lg \"\u003e\n\u003ca id=\"technical-details-anchor\" class=\"invizzy-anchor\" name=\"technical-details\"\u003e\u003c\/a\u003e\n\u003cp\u003eNot for use in salt water or other corrosive environments.\u003c\/p\u003e\n\u003cp\u003eCable specs:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eStainless steel tube 6mm diameter by 30mm long\u003c\/li\u003e\n\u003cli\u003eCable is 36\" long \/ 91cm, 4mm diameter\u003c\/li\u003e\n\u003cli\u003eContains DS18B20 temperature sensor\u003c\/li\u003e\n\u003cli\u003eIf your sensor has four wires - Red connects to 3-5V, Black connects to ground and White is data. The copper wire is soldered to the wire shielding\u003c\/li\u003e\n\u003cli\u003eIf your sensor has three wires - Red connects to 3-5V, Blue\/Black connects to ground and Yellow\/White is data\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eDS18B20 Technical specs:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eUsable temperature range: -55 to 125°C (-67°F to +257°F)\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\u003eUnique 64 bit ID burned into chip\u003c\/li\u003e\n\u003cli\u003eMultiple sensors can share one pin\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\u003cp\u003eDownloads: \u003ca href=\"https:\/\/cdn-shop.adafruit.com\/datasheets\/DS18B20.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eDS18B20 Datasheet\u003c\/a\u003e\u003c\/p\u003e\n\u003ch4\u003eFor the BBC micro:bit:\u003c\/h4\u003e\n\u003cp\u003eThis sensor works with drag'n'drop blocks in \u003ca href=\"https:\/\/makecode.microbit.org\" target=\"_blank\" rel=\"noopener noreferrer\"\u003emakecode.com\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eGo to Extensions in the editor menu and search for:\u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/DFRobot\/pxt-ds18b20\"\u003ehttps:\/\/github.com\/DFRobot\/pxt-ds18b20\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e The connections are:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eYellow connects to micro:bit pin0\u003c\/li\u003e\n\u003cli\u003eBlue connects to micro:bit GND\u003c\/li\u003e\n\u003cli\u003eRed connects to micro:bit 3V\u003c\/li\u003e\n\u003cli\u003eThe 4.7k resistor must connect between yellow and red\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e As with all temperature sensors, calibrate against another temperature source and add an offset to get the correct temperature.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":32902104449156,"sku":"ADA-WATERTEMP","price":15.6,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0368\/0337\/9332\/products\/381-00.jpg?v=1584963895","url":"https:\/\/roboticles.myshopify.com\/products\/waterproof-ds18b20-digital-temperature-sensor-extras","provider":"roboticles","version":"1.0","type":"link"}