TM1638 Button and Digital Tube Dev Board   

TM1638 Button and Digital Tube Dev Board   

1.3' IPS Display for Raspberry Pi4

1.3' IPS Display for Raspberry Pi4

Raspberry Pi Temperature Sensor - DS18B20

$9.90
Availability: In stock
SKU
2010007
  • Buy 5 for $8.91 each and save 10%
  • Buy 10 for $8.42 each and save 15%
  • Buy 50 for $7.92 each and save 20%

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