DS18B20 Water Proof Temperature Sensor Probe Good Quality

  1. A probe by new original installation import DS18B20 temperature sensor chip.
  2. Chip each pin use heat shrinkable tube to prevent short circuit, internal sealing glue, waterproof, moistureproof.
  3. Stainless steel tube encapsulation waterproof moistureproof prevent rust.
  4. Stainless steel shell (6 * 45 mm), lead length 100 cm (shielding wire) use stability.
  5. Without the external components, the unique single bus;

58.47 93.22


This is a 1 Meter Waterproof, sealed, and pre-wired digital temperature sensor probe based on a DS18B20 sensor. It is very handy when you need to measure something far away, or in wet conditions. 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.
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. When using a microcontroller put a 4.7k resistor to the sensing pin, which is required as a pullup from the DATA to the VCC line.

Wired connection

Yellow/White: DATA
Black: GND

Getting Started With DS18B20 Waterproof Temperature Sensor

This waterproof temperature sensor is a versatile and reliable device that allows you to measure temperature in various applications, even in challenging environments such as liquids or outdoor settings. This guide will walk you through the steps to get started with the DS18B20 waterproof temperature sensor, from understanding its features to wiring it up and reading temperature data with a microcontroller like Arduino.

Understanding the DS18B20 Sensor

The DS18B20 is a digital temperature sensor with several key features:

  1. Digital Output: This sensor communicates temperature data digitally, making it immune to analog signal degradation and providing high precision.
  2. Waterproof Design: The waterproof version of the is encased in a stainless steel tube, allowing it to operate in damp or submerged conditions.
  3. High Accuracy: It offers high accuracy, typically within ±0.5°C, over a wide temperature range.
  4. Unique Serial Number: Each sensor has a unique 64-bit serial number programmed during manufacturing. This allows you to use multiple DS18B20 sensors on a single data line while distinguishing between them.

Materials Needed:

Before you begin, gather the following materials:

  1. DS18B20 waterproof temperature sensor.
  2. Microcontroller or development board (e.g., Arduino, Raspberry Pi).
  3. Breadboard and jumper wires (if necessary).
  4. Power supply (depending on your microcontroller).
  5. Optional: 4.7kΩ resistor (for multiple sensors on a single data line).

Step-by-Step Guide to use DS18B20:

1. Wiring the DS18B20 Sensor:

The DS18B20 sensor typically has three wires: red (power), black (ground), and yellow or white (data). Here’s how to wire it:

  • Connect the red wire to your power supply’s positive voltage (3.3V or 5V).
  • Connect the black wire to your power supply’s ground (GND).
  • Connect the yellow or white wire to your microcontroller’s digital input/output pin (data pin), which is where temperature data will be communicated.
  • Optionally, add a 4.7kΩ pull-up resistor between the data pin and the power supply’s positive voltage if you’re using multiple DS18B20 sensors on the same data line. This resistor helps with communication stability.

2. Install Necessary Libraries:

If you’re using a microcontroller like Arduino, you’ll need to install the OneWire and DallasTemperature libraries. These libraries simplify communication with the DS18B20 sensor and are available through the Arduino Library Manager.

3. Writing Code for Temperature Reading:

Here’s a basic Arduino code example for reading temperature from a DS18B20 sensor:

#include <OneWire.h>
#include <DallasTemperature.h>

#define ONE_WIRE_BUS 2 // Define the digital pin connected to the DS18B20 sensor

OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);

void setup()
void loop() {
sensors.requestTemperatures(); // Request temperature readings from the DS18B20 sensor
float temperatureC = sensors.getTempCByIndex(0); // Get the temperature in Celsius
float temperatureF = sensors.getTempFByIndex(0); // Get the temperature in Fahrenheit
Serial.print(“Temperature Celsius: “);
Serial.print("°C | Temperature Fahrenheit: ");

delay(1000); // Delay for 1 second (adjust as needed)

4. Uploading and Testing:

  • Upload the code to your microcontroller.
  • Open the serial monitor in the Arduino IDE to view temperature readings.
  • You should see temperature values in both Celsius and Fahrenheit displayed in the serial monitor.

5. Calibrating and Using the Sensor:

You can calibrate the DS18B20 sensor if needed by comparing its readings with a known accurate thermometer. To use the sensor in practical applications, integrate the temperature readings into your projects, whether it’s for environmental monitoring, controlling temperature-dependent systems, or data logging.

The DS18B20 waterproof temperature sensor is a valuable tool for precise temperature measurements in various applications. Its versatility, accuracy, and robust design make it a popular choice among makers and professionals. With the steps outlined in this guide, you can quickly and effectively get started with this sensor and incorporate temperature sensing into your electronic projects.


You Can Also Buy ESP32 Dev Kit V1 from here

Weight 0.021 kg
HSN Code


Cable specs:-

  • Stainless steel tube 6mm diameter by 30mm long
  • The cable is 36″ long / 91cm, 4mm diameter (1 Meter Long)
  • Contains DS18B20 temperature sensor
  • Three wires – Red connects to 3-5V, Black connects to the ground and White is data.


DS18B20 Sensor 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 the 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