Raspberry Pi Python DHT temperature sensor testing

  hardware, linux, phidgets, raspberry-pi
# install pip
sudo su
cd
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip --version

# install DHT libraries
sudo pip install Adafruit_Python_DHT

# https://github.com/adafruit/Adafruit_Python_DHT/issues/63


sudo apt-get update

sudo apt-get install rpi.gpio
sudo apt-get install python3-rpi.gpio
sudo apt-get install build-essential python3-dev
sudo apt-get install python3-setuptools
sudo apt-get install libzbar-dev libzbar0


git clone https://github.com/adafruit/Adafruit_Python_DHT.git
cd Adafruit_Python_DHT
sudo python3 setup.py install

cd ~
cd Adafruit_Python_DHT
cd examples

python AdafruitDHT.py 11 17