跃然纸上

#😎路漫漫其修远兮,吾将上下而求索!

随笔分类 -  ESP32-物联网

摘要:1:Node-RED使用Modbus Tcp与从站通信 Poll Rate代表是循环读取从站间隔,下面图片设定的是3秒循环读取1次 2:Node-RED读取从站的数组数据转换成伏点数 下面是function1中代码 // 假设 msg.payload 是包含六个 unsigned short 的数组 阅读全文
posted @ 2025-09-08 15:09 CCFWZ 阅读(48) 评论(0) 推荐(0)
摘要:《1》Node-red配置自动启动 1.安装Node.js curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs 检查安装版本 node -v npm -v 安 阅读全文
posted @ 2025-09-02 14:12 CCFWZ 阅读(73) 评论(0) 推荐(0)
摘要:一、安装步骤(适用于所有受支持的 Ubuntu 版本) 1. ​添加 Microsoft 包仓库​ 通过以下命令添加官方源并更新包列表: wget https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-mic 阅读全文
posted @ 2025-07-16 00:16 CCFWZ 阅读(106) 评论(0) 推荐(0)
摘要:1. 通过 npm 安装 Node-RED 打开命令提示符(CMD)或 PowerShell,执行: npm install -g --unsafe-perm node-red -g 表示全局安装。 --unsafe-perm 避免权限问题(Windows 可能需要)。 2. 启动 Node-RED 阅读全文
posted @ 2025-05-16 10:56 CCFWZ 阅读(438) 评论(0) 推荐(0)
摘要:1. 下载安装包和安装 访问 Mosquitto官网 ,选择Windows版本: 32位系统:下载mosquitto-x.x.x-install-win32.exe 64位系统:下载mosquitto-x.x.x-install-windows-x64.exe 双击安装包,按提示完成安装(建议保持默 阅读全文
posted @ 2025-05-05 23:25 CCFWZ 阅读(151) 评论(0) 推荐(0)