Hong Kong SAR Hong Kong SAR · USD
Raspberry  Pi Temperature Sensor - DS18B20

RASPBERRY PI TEMPERATURE SENSOR - DS18B20

Add a digital temperature input to Raspberry Pi.

Read temperature with a DS18B20 sensor module intended for Raspberry Pi 4B, 3B+ and Zero. The digital sensor provides a simple starting point for temperature logging and display projects.

Before you order: Check the listed Raspberry Pi models, interface and connector arrangement for your setup. The host computer is supplied separately.

Features

  • Available for 4B / 3B+ / Zero
Working voltage 3.3
Working temperature -10℃~85℃,±0.5℃

How to use

Firstly, insert the module to Raspberry PI.

Then, log into your Raspberry PI.

Start UP the 1-Wire interface

sudo raspi-config

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Choose 1-Wire

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Click on YES

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Quick the raspi-config and restart your PI.

Run lsmode | grep -I w1_ command and you should get below info.

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Finally, you can get the temperature now.

sudo python thermometer.py

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Getting started

  1. Check the supported Raspberry Pi model and connector arrangement.
  2. Connect the module using the documented interface and power arrangement.
  3. Enable or install the required software and test the module before integrating it.

Frequently asked questions

Does it fit every Raspberry Pi model?

Connector types and software setup vary between models. Use the compatibility information on this page and check your board before ordering.

Bulk orders & project enquiries

Need multiple units or a specific configuration? Send your quantity, project requirements and target delivery date so we can review your request.

Discuss your requirements

For order questions, email info@longan-labs.cc. For technical support, email support@longan-labs.cc.

Longan Labs

Raspberry Pi Temperature Sensor - DS18B20

SKU: 2010007

$9.90

Shipping calculated at checkout.

In stock

Fast and reliable delivery
12-month warranty

RASPBERRY PI TEMPERATURE SENSOR - DS18B20

Add a digital temperature input to Raspberry Pi.

Read temperature with a DS18B20 sensor module intended for Raspberry Pi 4B, 3B+ and Zero. The digital sensor provides a simple starting point for temperature logging and display projects.

Before you order: Check the listed Raspberry Pi models, interface and connector arrangement for your setup. The host computer is supplied separately.

Features

  • Available for 4B / 3B+ / Zero
Working voltage 3.3
Working temperature -10℃~85℃,±0.5℃

How to use

Firstly, insert the module to Raspberry PI.

Then, log into your Raspberry PI.

Start UP the 1-Wire interface

sudo raspi-config

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Choose 1-Wire

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Click on YES

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Quick the raspi-config and restart your PI.

Run lsmode | grep -I w1_ command and you should get below info.

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Finally, you can get the temperature now.

sudo python thermometer.py

Raspberry  Pi Temperature Sensor - DS18B20 — How to use

Getting started

  1. Check the supported Raspberry Pi model and connector arrangement.
  2. Connect the module using the documented interface and power arrangement.
  3. Enable or install the required software and test the module before integrating it.

Frequently asked questions

Does it fit every Raspberry Pi model?

Connector types and software setup vary between models. Use the compatibility information on this page and check your board before ordering.

Bulk orders & project enquiries

Need multiple units or a specific configuration? Send your quantity, project requirements and target delivery date so we can review your request.

Discuss your requirements

For order questions, email info@longan-labs.cc. For technical support, email support@longan-labs.cc.