Logic & Relay

Raspberry Pi Temperature Sensor Buying Guide

A Raspberry Pi temperature sensor is a digital or analog probe paired with the Pi's GPIO, I2C, or 1-Wire bus to monitor ambient, liquid, or surface temperature. The core trade-off is bus simplicity and accuracy versus waterproofing and cable run length: 1-Wire DS18B20 is the default for multi-probe chains, while I2C sensors win on precision and speed. The decision rule is simple: pick a sensor with a known interface chip and a documented Pi driver; skip any probe that lists only a resistance range without a controller.

Interface Bus:1-Wire / I2C / SPI ADC / AnalogTypical Accuracy:±0.2°C to ±0.5°CProbe Protection:Stainless sheath / bare TO-92Max Cable Run:1-Wire ~10 m, I2C ~1 m

Key takeaways

  • DS18B20 1-Wire: ±0.5°C accuracy from -10°C to +85°C, unique 64-bit ROM ID per probe, multiple sensors on one GPIO pin.
  • I2C digital sensors (SHT31, BME280, TMP117) give ±0.2–0.3°C typical accuracy and share SDA/SCL, but need unique addresses for multiples.
  • Analog thermistors (10k NTC) require an MCP3008 SPI ADC on the Pi; accuracy depends on beta value and pull-up resistor tolerance.

At a glance

Price range
Varies by listing
Category
Sensors, Encoders & Machine Safety
Last updated
Nov 28, 2026

Current offers

No live listings right now. Search directly on:

Highlights

  • DS18B20 1-Wire: ±0.5°C accuracy from -10°C to +85°C, unique 64-bit ROM ID per probe, multiple sensors on one GPIO pin.
  • I2C digital sensors (SHT31, BME280, TMP117) give ±0.2–0.3°C typical accuracy and share SDA/SCL, but need unique addresses for multiples.
  • Analog thermistors (10k NTC) require an MCP3008 SPI ADC on the Pi; accuracy depends on beta value and pull-up resistor tolerance.
  • Waterproof DS18B20 probes use a stainless steel sheath and PVC or silicone cable; standard cable is rated to about 70–80°C, not for autoclave or long immersion.

Best use cases

  • Best fit: multi-zone room or greenhouse monitoring with 3–10 DS18B20 probes on one 1-Wire bus; skip I2C if probes are more than 3 m apart or need daisy-chain cabling.
  • Best fit: indoor air quality logging with an I2C SHT31 or BME280 at the Pi header; skip 1-Wire if you need humidity and pressure in the same node.
  • Best fit: liquid or soil temperature with a waterproof DS18B20 sheath probe; skip bare TO-92 sensors and analog thermistors for any wet or outdoor exposure.
  • Wrong fit: industrial process control or >100°C media — move to a PT100/PT1000 RTD with a MAX31865 amplifier; DS18B20 and thermistors are not rated for that range.

Buying tips

  • For runs over 5 m on 1-Wire, use a lower pull-up (2.2 kΩ instead of 4.7 kΩ) or active pull-up; long cables with 4.7 kΩ cause CRC errors and dropped probes.
  • Choose a waterproof probe with a sheath diameter of 6 mm and a cable jacket rated for the target temperature; PVC jackets soften above 80°C and silicone is needed for higher heat.
  • Verify the Pi driver is in the kernel: 1-Wire needs dtoverlay=w1-gpio, I2C needs dtparam=i2c_arm=on; any sensor without a Linux driver or Python library is a soldering-only project.
  • For multi-sensor I2C, confirm each device has an address-select pin or a distinct fixed address; two BME280s at 0x76/0x77 work, two SHT31s at 0x44 do not without a multiplexer.

Specs

Interface Bus1-Wire / I2C / SPI ADC / Analog
Typical Accuracy±0.2°C to ±0.5°C
Probe ProtectionStainless sheath / bare TO-92
Max Cable Run1-Wire ~10 m, I2C ~1 m

Related searches

What to check before buying

  • Confirm the Pi model and header: 40-pin GPIO on Pi 4/5/Zero 2 W, 26-pin on older Pi 1; verify 3.3 V logic and that the sensor is not 5 V-only.
  • Measure the cable run from Pi to the farthest probe; over 3 m on 1-Wire plan for a lower pull-up and twisted-pair or shielded cable.
  • Check the environment: ambient humidity, condensing conditions, and media temperature versus the probe sheath and cable jacket ratings.
  • Plan for a pull-up resistor (4.7 kΩ typical) between data and 3.3 V for 1-Wire; I2C sensors usually include onboard pull-ups but chained modules can overload the bus.

FAQ

All Sensors, Encoders & Machine Safety buying guides

Data sources: eBay / Amazon listings and product attribute feeds. Updated Nov 28, 2026.

Some links on this page are affiliate links. If you buy after clicking one, we may earn a commission at no extra cost to you. This does not change which products appear here or their order. Affiliate disclosure.