Real Time sharing temperature and humidity DHT11 sensor with raspberry pi

firstly you can signup this link

after connect raspberry pi dht11 sensor


  • run this code
sudo apt-get update 
git clone
cd Adafruit_Python_DHT
sudo apt-get install build-essential python-dev
sudo python install
  • check dht11 datas
import sys
import Adafruit_DHT
while True:
    humidity, temperature = Adafruit_DHT.read_retry(11, 4)
    print 'Temp: {0:0.1f} C  Humidity: {1:0.1f} %'.format(temperature, humidity)
  • click this link go your app page
  • and click get code
  • copy code and paste your raspberry pi ( )
  • python
  • and click your app page

Facebook Comments
News Reporter

Leave a Reply

Your email address will not be published. Required fields are marked *