Raspberry Pi 4 Computer Model B - 8GB

Raspberry Pi 4 Computer Model B - 8GB

1.3' IPS Display for Raspberry Pi4

1.3' IPS Display for Raspberry Pi4

Raspberry Pi Temperature Sensor - DS18B20

$4.90
Availability: In stock
SKU
2010007

This is a temperature sensor designed for Raspberry Pi, the module uses the digital temperature sensor DS18B20 from Dallas semiconductor, which only requires one IO port to obtain the ambient temperature. The module supports 3.3v and 5V power supply, and the measuring range is -10℃ to 85℃, with an error of ±0.5℃.


 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

Write Your Own Review
You're reviewing:Raspberry Pi Temperature Sensor - DS18B20