You are on page 1of 2

VCC =1

GND= 6

Data=7

sudo apt-get install git

git clone https://github.com/adafruit/Adafruit_Python_DHT.git

sudo apt-get update

sudo apt-get install build-essential python-dev python-openssl

sudo python setup.py install

cd examples

sudo ./AdafruitDHT.py 11 4

data.sparkfun.com

click + above

title rec humd

description

visible

fields default

alias rec_dht11

tags whatever

location your place

save

keep keys safe

del key only one time use to del data

cd examples

open AM2302.py file

remove line 9 , 10

check code to see o/p

add import urllib2

add public :::url=http://data.sparkfun.com/input/

add :::: publickey =””


add ::: privatekey =””

add url_response = urllib2.urlopen(url + publickey + “?private_key=” + privatekey + ”&humidity=” +


str(humidity) +”&temp=” + str(temp)) ((((befr print tempf, humidity)))))

save

execute 2 to 3 times

lets check data feed

go to sparkfun public page

see feed

You might also like