Raspberry Pi Lesson: Sensor DHT

January 16th, 2018  Posted at   Lesson Raspberry Pi
arrow   |   No Commentsarrow

DHT22 adalah sensor untuk membaca suhu (temperature) dan kelembapan (humidity). Interface DHT dengan Arduino boleh rujuk Arduino Lesson: Sensor DHT.

Melalui Terminal Raspberry Pi, copy git dari Adafruit_Python_DHT.

Berikut adalah demo menggunakan DHT22.

Python Source Code

Leave a Reply

What is 2 + 15 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)