filmov
tv
DHT22, DHT11 Sensor with Raspberry pi Node RED to display Temperature and Humidity Values on LCD

Показать описание
DHT22, DHT11 Sensor with Raspberry pi Node RED to display Temperature and Humidity Values on LCD
Nodes need be installed.
node-red-contrib-dht-sensor
node-red-contrib-simpletime
#raspberrypi #nodered #lcd #dht11 #DHT22#Temperature#Humidity
my node-red flows:
[
{
"id": "08a70baddf8ba6f6",
"type": "tab",
"label": "Flow 8",
"disabled": false,
"info": "",
"env": []
},
{
"id": "6136b32f58d4e53e",
"type": "rpi-dht22",
"z": "08a70baddf8ba6f6",
"name": "",
"topic": "SENSOR DHT22",
"dht": "22",
"pintype": "0",
"pin": "4",
"x": 310,
"y": 60,
"wires": [
[
"9c1b69ce8f798c22",
"b167f1c0e0505931"
]
]
},
{
"id": "99d46d37f20fec64",
"type": "inject",
"z": "08a70baddf8ba6f6",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 130,
"y": 120,
"wires": [
[
"6136b32f58d4e53e"
]
]
},
{
"id": "9c1b69ce8f798c22",
"type": "function",
"z": "08a70baddf8ba6f6",
"name": "function 2",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 540,
"y": 140,
"wires": [
[
"b0bce9bd0189b1c3"
]
]
},
{
"id": "b0bce9bd0189b1c3",
"type": "LCD-I2C",
"z": "08a70baddf8ba6f6",
"name": "",
"variant": "PCF8574",
"size": "20x4",
"x": 660,
"y": 220,
"wires": []
},
{
"id": "b167f1c0e0505931",
"type": "simpletime",
"z": "08a70baddf8ba6f6",
"name": "",
"mydate": true,
"myymd": true,
"myyear": true,
"mymonth": true,
"mymonthn": true,
"mydom": true,
"mydoy": true,
"myday": true,
"myhourpm": true,
"myhour": true,
"mytime": true,
"mytimes": true,
"myminute": true,
"myminutes": true,
"mysecond": true,
"mymillis": true,
"myepoch": true,
"myrawdate": true,
"mypm": true,
"x": 330,
"y": 240,
"wires": [
[
"9c1b69ce8f798c22"
]
]
}
]
Nodes need be installed.
node-red-contrib-dht-sensor
node-red-contrib-simpletime
#raspberrypi #nodered #lcd #dht11 #DHT22#Temperature#Humidity
my node-red flows:
[
{
"id": "08a70baddf8ba6f6",
"type": "tab",
"label": "Flow 8",
"disabled": false,
"info": "",
"env": []
},
{
"id": "6136b32f58d4e53e",
"type": "rpi-dht22",
"z": "08a70baddf8ba6f6",
"name": "",
"topic": "SENSOR DHT22",
"dht": "22",
"pintype": "0",
"pin": "4",
"x": 310,
"y": 60,
"wires": [
[
"9c1b69ce8f798c22",
"b167f1c0e0505931"
]
]
},
{
"id": "99d46d37f20fec64",
"type": "inject",
"z": "08a70baddf8ba6f6",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 130,
"y": 120,
"wires": [
[
"6136b32f58d4e53e"
]
]
},
{
"id": "9c1b69ce8f798c22",
"type": "function",
"z": "08a70baddf8ba6f6",
"name": "function 2",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 540,
"y": 140,
"wires": [
[
"b0bce9bd0189b1c3"
]
]
},
{
"id": "b0bce9bd0189b1c3",
"type": "LCD-I2C",
"z": "08a70baddf8ba6f6",
"name": "",
"variant": "PCF8574",
"size": "20x4",
"x": 660,
"y": 220,
"wires": []
},
{
"id": "b167f1c0e0505931",
"type": "simpletime",
"z": "08a70baddf8ba6f6",
"name": "",
"mydate": true,
"myymd": true,
"myyear": true,
"mymonth": true,
"mymonthn": true,
"mydom": true,
"mydoy": true,
"myday": true,
"myhourpm": true,
"myhour": true,
"mytime": true,
"mytimes": true,
"myminute": true,
"myminutes": true,
"mysecond": true,
"mymillis": true,
"myepoch": true,
"myrawdate": true,
"mypm": true,
"x": 330,
"y": 240,
"wires": [
[
"9c1b69ce8f798c22"
]
]
}
]
Комментарии