DS18B20 Arduino Temperature Sensors, Probes and Modules

DS18B20 temperature sensing for Arduino-compatible projects

Compare digital DS18B20 temperature-sensing options for Arduino-style microcontrollers: loose TO-92 and surface-mount ICs, stainless-tube cable probes, small sensor breakout boards, adapter-and-probe kits, and selected acquisition instruments. The same product selection also contains ESP8266 shields and Wi-Fi modules, RS485/Modbus collectors, NTC and other sensors, pH/TDS boards, test instruments and whole thermostats. Not every item is a DS18B20 or directly connects to an Arduino GPIO. Read the selected model, quantity and delivered level before designing the circuit or placing an order.

How a DS18B20 talks to a microcontroller

A DS18B20 is a digital thermometer that communicates over a 1-Wire data bus, not an analog-voltage temperature sensor, I²C breakout or humidity detector. Suitable host code discovers device addresses, requests conversions and reads the scratchpad value. Multiple genuine devices can share a properly engineered bus using unique identifiers, but a connector that fits physically is not proof of matching wiring or firmware. For a loose three-pin part, identify each lead from the exact device documentation and orientation before powering it. For a cabled probe, confirm the particular lead colors or 2-pin/3-pin connector pinout with that probe's listing: color conventions are not universal.

DS18B20 device literature commonly specifies a -55°C to +125°C silicon measurement range with configurable resolution; accuracy depends on temperature interval and operating conditions. Those chip-level values do not make a probe's cable, seal, connector, stainless sleeve or adapter safe across the full span. Some selected cable probes advertise narrower limits such as -20°C to +80°C. Use the limits of the actual assembled probe and environment, not the widest number in a page headline. Resolution of a digital readout is not independent calibration, and a sensor under self-heating or poor thermal contact may not represent the target's temperature.

Choose the right delivery format

  • Bare DS18B20 IC: through-hole TO-92 listings offer one, two, five, eight, ten, fifteen, twenty, fifty or hundred-piece selections on different pages; one listing also offers DS18B20U MSOP-8 and DS18B20Z SOP-8 as separate five-piece choices. These packages have different footprints and lead arrangements. A loose IC is not a sealed immersion probe or an adapter board, regardless of a shared listing photograph.
  • Stainless-tube cable probe: listings offer approximately 0.5, 1, 2, 3, 4, 5 or 10 m options, sometimes in five-, eight- or ten-probe lots. Select both length and count. Some pages distinguish 2.5 mm and 2.54 mm connector versions, PH2.0 and XH2.54-2P/3P or loose wires; compare electrical pinout, mating header and signal voltage, not just nominal connector pitch. The sealed metal tip may resist moisture while an exposed splice or connector remains unsealed. Do not infer a specific IP rating, continuous immersion, oil, pressure or food-contact certification from “waterproof” in a title.
  • Lug-style probe: a distinct item offers copper-lug mounting holes of 4, 5, 6 or 8 mm and selected 1 or 2 m shielded cable. That is for mounting to an appropriate surface, not automatically a drop-in replacement for a cylindrical stainless-tip probe. Review grounding, cable routing and mechanical/temperature limits for the chosen assembly.
  • Breakout and adapter: KY-001-style three-pin sensor modules and simple DS18B20 detection boards are distinct from cable probes. “DS18B20 Adapter,” “Single Module,” “Individual module,” “Conversion module,” “Module” and “Module and Line” choices may deliver a PCB only, while “DS18B20 KIT,” “1 Set 1M cable,” “1M Cable Adapter” and similar options combine parts. Check the exact selected kit bill of materials; do not assume every variant includes both chip and cable.
  • Protective blind sleeves: selected 6×30, 6×50, 6×60, 6×120, 8×50 and 10×120 mm stainless-steel protective-tube products are empty protective parts, offered in packs of 10, 50 or 100 on certain pages. A PT100/DS18B20 search headline does not mean a temperature sensor is installed in each sleeve. Confirm inner clearance, tip design, mounting and sealing separately.

Arduino integration: what to verify before writing code

A directly connected bare DS18B20 or compatible probe needs the correct electrical supply, common reference and a 1-Wire data interface. A suitable pull-up on the data line is normally required; choose its value and placement based on the host voltage, bus length, cable capacitance, number of devices and installation noise. Verify whether a purchased module already includes a pull-up to avoid unintended parallel loads. Do not equate a 2-core probe listing with a known three-wire power arrangement: confirm whether it is intended for parasitic operation or a specific adapter, and follow the exact part's electrical instructions.

Firmware should distinguish a valid completed conversion from a startup, disconnected bus, shorted line or stale reading. Set the desired resolution and allow for conversion time before using the returned value. On a long cable or shared bus, cable topology, stub length, pull-up strength, shielding, power delivery and nearby interference can determine reliability more than the headline probe length. Test the full harness under the actual installation conditions rather than assuming a 10 m option guarantees error-free operation with every Arduino board. If several sensors share a bus, maintain an explicit address-to-location mapping so a replaced probe does not silently swap labels.

Arduino-branded examples may target a 5 V board while ESP32 and other hosts use different logic levels. Confirm the selected sensor board's supply and output stages before connecting it to a lower-voltage GPIO. A bare digital sensor, a Wi-Fi board, a relay shield and a complete thermostat are not electrically interchangeable just because their titles all contain “DS18B20.” No single wiring diagram here can cover the mix of products and host platforms in this collection.

ESP8266 and other selected modules

Several D1 mini and ESP-01/ESP-01S multiproduct pages offer “D1 DS18B20,” “D1 Mini DS18B20,” or “DS18B20” as one option among DHT11/DHT22, BMP180, SHT30, OLED, WS2812, buttons, relays, buzzer, prototyping boards, power shields and the ESP8266 controller itself. Choosing a DHT22 or relay does not also supply a DS18B20; choosing a DS18B20 shield does not necessarily supply the D1 mini or ESP-01 host. One ESP-01S Wi-Fi relay page lists Controller Adapter, DS18B20, DHT11, relay and ESP01S as distinct options. Read the chosen variant, included controller and accessory list. A DS18B20 measures temperature, not humidity: a “temperature humidity” headline generally describes a mixed menu or another selected humidity device.

Some products are assembled projects: a microcontroller temperature-controller kit with alarm, a small two-wire digital display thermometer with metal probe, AC-powered smart-home thermostat models and a Tuya Wi-Fi thermostat socket. These are finished circuits or kits with their own voltage, enclosure, output and sensor arrangements, not generic Arduino input modules. Do not use a mains thermostat listing as an implicit safe wiring guide for a bare sensor or controller; follow its dedicated installation documentation and appropriate professional electrical practice.

RS485 collectors are a different integration route

The collection includes two-channel and eight-channel DS18B20 acquisition boards, RS20D-C and other RS485 Modbus RTU instruments, selected DIN housings, sensor-only options, and a DC 3.7–25 V listing with 5 V / 12 V RS485 and TTL232 variants. Some two-channel pages offer “No terminal,” “With terminal” or “DS18B20 Sensor”; an eight-channel listing offers “4PCS DS18B20 Sensor” versus “1PCS 8CH Collector.” A sensor-only selection is not the collector and a collector-only selection does not imply probes for every channel. Verify channel capacity, supply, serial electrical layer, Modbus register map, terminal style and included probes for the chosen board. Direct 1-Wire Arduino libraries do not speak Modbus RTU, and an RS485 collector does not expose raw GPIO data merely because it uses DS18B20 sensors downstream.

Other listings offer NTC thermistor RS485 boards or DS18B20/NTC/AHT20-selected transmitters. A 10K B3950 NTC probe is a temperature-dependent resistor rather than a digital 1-Wire device; PT100 is an RTD, and AHT20 measures a different combination of quantities. Selecting NTC, AHT20 or an NTC interface requires different electronics and software. A two-channel acquisition product with an analog-input phrase in its headline should still be checked for its actual Modbus outputs and supported probe type.

Related listings that are not DS18B20 sensors

Several TDS water-quality modules, a pH4502C pH module/probe menu and a handheld oscilloscope/transistor tester appear in this series. The pH product offers “DS18B20 1m” among pH-probe and pH-module options; selecting the pH probe does not include a digital thermometer. A TDS board's analog dissolved-solids-related output is not DS18B20 temperature data. Another mixed IC menu offers LM35DZ, LM335Z, LM334Z or TMP36GT9Z as alternatives to DS18B20, and a page lists DS1233, DS2431, DS2502 and DS2505 as distinct selected chips. Choose the exact device and do not reuse a 1-Wire temperature library for an analog temperature IC, thermistor or unrelated component.

Physical accuracy and environmental limits

A probe reports the temperature of its sensing element after heat has flowed through the metal tip, filler and mounting surface. Cable length does not increase accuracy; insulation, probe diameter, contact pressure, thermal mass and response time matter. When measuring liquid or humid locations, protect any nonsealed junction and connector from moisture. Verify cable jacket material against hot surfaces, chemicals and sunlight, and do not infer that the stainless tip's advertised temperature range applies to the electronics at the opposite end.

For logging, compare readings with an appropriate reference at the temperatures of interest and account for sensor tolerance, installation offset and enclosure heat. For a heater or other consequential controller, incorporate independent overtemperature protection and fault detection. A sensor, a collector and a thermostat each have different responsibilities; the existence of a software threshold or an advertised precision figure does not constitute safety certification or calibrated-system accuracy.

Before you order

  1. Choose the actual DS18B20 option, not a neighboring DS18S20, LM35, TMP36, NTC, PT100, AHT20, DHT or pH/TDS option.
  2. Confirm whether you are buying a loose TO-92/MSOP/SOP chip, sealed probe, adapter-only board, probe-and-adapter kit, empty sleeve, host shield, collector or finished thermostat.
  3. Read the selected cable length, connector/pin count and pack quantity. A “Color” choice may represent an entirely different circuit.
  4. Match the host to its real interface: raw DS18B20 1-Wire, RS485 Modbus RTU, or another instrument's protocol. Check supply voltage, pull-up and software separately.
  5. Check assembly-level temperature and environmental ratings and validate the complete installation; “waterproof” and chip-level accuracy do not automatically transfer to the whole system.

These distinctions keep Arduino-oriented DS18B20 shopping useful without turning mixed search results into false promises about included accessories, electrical compatibility or probe performance.

Skip to results list

Active filters:

128 items
Column grid
Column grid

Filter

Active filters: