The shipping fee depends on your address
Standard: 9-15 business days,fee is down to $3.99
Express: 4-7 business days,fee is down to $5.99
WE'RE READY TO BUILD A CUSTOM PRODUCT FOR YOU.
If you're looking for a custom product, we can help. Kindly contact us via email support@keszoox.com and send us the details for your need, then we'll let you know how we can deliver the right solution.We make into production usually Within 1 - 3 Bussiness Days.
Expect customization orders.1 meter long cable assembly for remote temperature sensing over -55 to 85°C.
The DS18B20 Waterproof Digital Temperature Sensor is a 1 meter long cable assembly for adding remote temperature sensing over the range of -55 to 85°C.
If you have an MCU like an Arduino and you want to measure temperature, the DS18B20 is one of the most popular of the temperature measurement ICs to use. Being a digital device, it can avoid some of the pitfalls of analog sensors which are more sensitive electrical noise pickup, especially if the device is remote from the MCU.
An alternative for temperature measurement is to use an analog temperature measurement IC like the LM35. The LM35 analog output can be read directly from an A/D input port on the microprocessor which makes it very easy to use without using a library. The trade off is that the LM35 is more sensitive to electrical noise and additional care may be needed to ensure that the readings are accurate, especially if the temperature sensor is remotely mounted. The LM35 can also only have one device connected to each A/D pin, while the DS18B20 can have multiple devices connected in series to one digital pin as each device has a unique serial number for addressing.
The DS18B20 sensor is packaged in a 3-pin TO-92 package which is the size of a small transistor which makes it easy to locate in tight PCB areas or it can be soldered to a cable and remotely mounted, such as on a heat sink.
This sensor is built into a 36″ long cable assembly. The sensor is mounted in a stainless steel can to make it waterproof, or at least water resistant. The other end of the cable is unterminated.
The corresponding wire colors are as follows:
Input power for the device can range from 3.0V to 5.5V. This power is normally tapped off the MCU power or it can use a separate power supply. This requires three wires to be run to the sensor (power, ground, 1-Wire bus).
As an alternative option for powering the device, it can be powered off the 1-Wire bus line so that only two wires are required (ground , 1-Wire bus). In this parasitic power mode, it runs off the power available through pull-up resistor when the 1-wire bus is high. This mode requires some special considerations that are fully documented in the datasheet. Generally it is best just to stick with the 3-wire hookup.
The DQ pin on the device is connected to a digital pin on the MCU to establish the 1-Wire communication bus.
A pull-up is needed on this line as it is open-collector, so we throw a 4.7K resistor in the bag which is the specified value to use. if the sensor reads -127, that usually indicates that the pull-up is not installed.
The 1-Wire serial bus communication protocol can look daunting, but fortunately most poplar MCUs have software libraries which make these devices very straightforward and easy to use.
There are some options which can be programmed such as choosing between number of bits of resolution vs conversion time, but those can all be safely ignored for establishing basic operation.
The DS18B20 can be used in a number of different applications where temperature measurement is useful such as determining when a water heater should be turned on.
We have tested that the sensor is in fact water resistant, but we have not conducted any long-term testing to determine just how waterproof they remain over extended periods of time or if they can be used in liquids other than water. The cable can also make it convenient to use when remote sensing is required, such as monitoring a heatsink.
The software below implements basic communications with the sensor using the 1-Wire bus protocol and provides a read-out of the sensor output.
We are hooking the sensor up to pin 4, but this can be changed to any digital pin. We are using the OneWire.h and DallasTemperature.h libraries which can be installed from the IDE library manager.
/* DS18B20 Digital Temperature Sensor Test Basic code to establish communication with the DS18B20 and retrieve temperature measurement data. Requires OneWire and DallasTemperature Libraries */ #include <OneWire.h> #include <DallasTemperature.h> const int ONE_WIRE_BUS = 4; // Define a pin for communicating to the DS18B20 device via the oneWire bus. OneWire oneWireLocal(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with the DS18B20 device DallasTemperature sensorsLocal(&oneWireLocal); // Pass this oneWire reference to DallasTemperature float tempLocal = 0.0; // Variable for holding the temperature returned from the sensor //=============================================================================== // Initialization //=============================================================================== void setup() { Serial.begin (9600); // Set output window comm rate sensorsLocal.begin(); } //=============================================================================== // Main //=============================================================================== void loop() { CheckTemps(); // Call the routine that actually does the work Serial.print("Current Temp: "); // Printout the results Serial.println(tempLocal); delay(1000); } //=============================================================================== // Subroutines //=============================================================================== void CheckTemps() { sensorsLocal.requestTemperatures(); // Send command to get temperature from the DS18B20 // The sensor will return reading from previous request unless a delay is used to give it time to // complete the reading request. If polling every second like we are doing here, the delay can be ignored. delay(100); tempLocal = sensorsLocal.getTempCByIndex(0); // There can be more than one device on this same bus // so we need to use the first index of (0) }
Notes:
Interface | Communication bus | 1-Wire |
Input | Logic High | > 2.2V |
Logic Low | < 0.8V | |
Supply Voltage | Maximum | 5.5V |
Minimum | 3V | |
Temperature | Max Measurement Range | -55°C to +85°C |
Accuracy (-10°C to 85°C) | +/- 0.5°C | |
Package | TO-92 | |
Package Type | Plastic, thru-hole. Sensor is mounted inside SS can and attached to a 1 meter unterminated cable | |
Mfr | Dallas / Maxim | |
Country of Origin | China | |
Datasheet | DS18B20 |
WE'RE READY TO BUILD A CUSTOM PRODUCT FOR YOU.
All orders are dispatched from our warehouse. The shipments are fully tracked—from our door to yours. Please allow 3-5 business days for your order to be processed in addition to the shipping times below.
Standard: 9-15 business days. Express: 4-7 business days.
Please note that shipping providers are extremely busy during this time, and some orders might experience a delay on top of usual delivery times. If your order is late, please allow 5-10 days more than indicated in standard shipping times before contacting our customer service. Thank you for your understanding.
All orders are 100% tracked. You’ll receive an email with a tracking number and a link to track your parcel once your order leaves our warehouse. Please allow 24-48 hours for the tracking link to start showing shipping information.
Receive our latest updates about our products & promotions.
Thanks for subscribing!
This email has been registered!