DHT11 온습도센서 라즈베리파이

메카 2017-05-19 (금) 10:56 7년전 5432  

42c55e6cc7ebd772d985ccec7106575a_1495158

 

sudo apt-get update sudo apt-get install -y python3 python3-pip python-dev sudo pip3 install rpi.gpio 

 

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

 

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


 

 

42c55e6cc7ebd772d985ccec7106575a_1495158
 

 

42c55e6cc7ebd772d985ccec7106575a_1495158

 

cd Adafruit_Python_DHT cd examples sudo ./AdafruitDHT.py 11 2
 

메카리워즈 Image Map


모바일 버전으로 보기