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
Choose 1-Wire
Click on YES
Quick the raspi-config and restart your PI.
Run lsmode | grep -I w1_ command and you should get below info.
Finally, you can get the temperature now.
sudo python thermometer.py
Getting started
- Check the supported Raspberry Pi model and connector arrangement.
- Connect the module using the documented interface and power arrangement.
- 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 requirementsFor order questions, email info@longan-labs.cc. For technical support, email support@longan-labs.cc.
Raspberry Pi Temperature Sensor - DS18B20
SKU: 2010007
Volume pricing
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
Choose 1-Wire
Click on YES
Quick the raspi-config and restart your PI.
Run lsmode | grep -I w1_ command and you should get below info.
Finally, you can get the temperature now.
sudo python thermometer.py
Getting started
- Check the supported Raspberry Pi model and connector arrangement.
- Connect the module using the documented interface and power arrangement.
- 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 requirementsFor order questions, email info@longan-labs.cc. For technical support, email support@longan-labs.cc.