The DHt12 is an upgraded version of the classic DHT11 humidity temperature sensor, it is fully downward compatible, more precise and adds an I2C interface. Features: compact size low power consumption low voltage operation Standard I2C and 1-wire interface. Sensing range Temperature: -20 ~ +60…
Temperature Sensor
-
-
The LM75 temperature sensor includes a delta-sigma analog-to-digital converter, and a digital overtemperature detector. The host can query the LM75 through its I²C interface to read temperature at any time. The open-drain overtemperature output (OS) sinks current when the programmable temperature limit is exceeded. The…
-
This is follow on from the DS18b20 terminal example at http://www.pibits.net/learning/120.php , this time a python example Code [codesyntax lang=”python”] import os import glob import time os.system(‘modprobe w1-gpio’) #load one wire communication device kernel modules os.system(‘modprobe w1-therm’) base_dir = ‘/sys/bus/w1/devices/’ #point to the address device_folder = glob.glob(base_dir…
-
Connect a DS18b20 temperature sensor to your Raspberry PI as follows. I used a breakout for this. In this example we will just be using terminal commands Now you need to enter the following at the command prompt: [codesyntax lang=”bash”] sudo nano /boot/config.txt [/codesyntax] to open…