Node red dashboard for Heart rate measurement using MAX30102 and Arduino.

Опубликовано: 16 Апрель 2023
на канале: Trendy Coding
329
7

Node red dashboard for Heart beat and Average heart beat measurement using Max30102 sensor and Arduino.


Node-red flow:

[
{
"id": "28d9dabb83c31dc0",
"type": "tab",
"label": "Flow 2",
"disabled": false,
"info": "",
"env": []
},
{
"id": "bc26bfd59dc4c346",
"type": "serial in",
"z": "28d9dabb83c31dc0",
"name": "",
"serial": "3f180533bb38d0ab",
"x": 150,
"y": 180,
"wires": [
[
"c55ec3bd8a26c0d0"
]
]
},
{
"id": "c3af1baa977ad0b8",
"type": "debug",
"z": "28d9dabb83c31dc0",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 570,
"y": 260,
"wires": []
},
{
"id": "c55ec3bd8a26c0d0",
"type": "function",
"z": "28d9dabb83c31dc0",
"name": "",
"func": "var output = msg.payload.split(\",\");\nvar velimp = parseInt(output[0]);\nvar angle = parseInt(output[1]);\nvar msg1 = {payload : velimp};\nvar msg2 = {payload : angle};\nreturn [msg1, msg2];",
"outputs": 2,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 340,
"y": 360,
"wires": [
[
"c3af1baa977ad0b8",
"cc88556b1f7d8e69"
],
[
"ece56e73718633b4",
"9b73a6ae6054b81b"
]
]
},
{
"id": "ece56e73718633b4",
"type": "debug",
"z": "28d9dabb83c31dc0",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 570,
"y": 400,
"wires": []
},
{
"id": "cc88556b1f7d8e69",
"type": "ui_gauge",
"z": "28d9dabb83c31dc0",
"name": "",
"group": "a7841362.ae40c",
"order": 0,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Heart Rate",
"label": "units",
"format": "{{value}}",
"min": "20",
"max": "150",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"className": "",
"x": 590,
"y": 160,
"wires": []
},
{
"id": "9b73a6ae6054b81b",
"type": "ui_gauge",
"z": "28d9dabb83c31dc0",
"name": "",
"group": "a7841362.ae40c",
"order": 1,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Average HR",
"label": "units",
"format": "{{value}}",
"min": "20",
"max": "150",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "",
"seg2": "",
"className": "",
"x": 610,
"y": 500,
"wires": []
},
{
"id": "3f180533bb38d0ab",
"type": "serial-port",
"serialport": "COM6",
"serialbaud": "115200",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "\\n",
"bin": "false",
"out": "char",
"addchar": "",
"responsetimeout": "10000"
},
{
"id": "a7841362.ae40c",
"type": "ui_group",
"name": "My studio",
"tab": "2ff36ff5.bdc628",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "2ff36ff5.bdc628",
"type": "ui_tab",
"name": "Studio_control",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]


Смотрите видео Node red dashboard for Heart rate measurement using MAX30102 and Arduino. онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Trendy Coding 16 Апрель 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 329 раз и оно понравилось 7 людям.