Perintah Kawalan Pergerakan (PKP) hari ke-73

NodeRED Lesson: Sensor DHT

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

Berikut adalah video demo nya.

Node-RED Flow

[{"id":"4c90cf21.cd003","type":"inject","z":"9741cb89.aaf998","name":"","topic":"","payload":"","payloadType":"date","repeat":"", "crontab":"","once":false,"onceDelay":0.1,"x":268,"y":234,"wires":[["2da0658b.ed031a"]]},{"id":"a4bd8f55.0fb6c","type":"debug","z":"9741cb89.aaf998","name":"","active":true,"tosidebar":true,"console":false, "tostatus":false,"complete":"true","targetType":"full","x":578,"y":234,"wires":[]},{"id":"2da0658b.ed031a","type":"rpi-dht22","z":"9741cb89.aaf998","name":"","topic":"rpi-dht22","dht":22,"pintype":"0","pin":"4","x":428,"y":234,"wires":[["a4bd8f55.0fb6c"]]}]

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.