Arduino/Firmata module complete rewrite v1.3.4-20250331 (#1092) (#1093)

* tiny update to Firmata.js

* A complete rewrite of Firmata/Arduino

See changes for v1.2 - v1.3.3 : https://github.com/node-red/node-red-nodes/issues/920#issuecomment-2709252741

[Node-RED announcement of 1.3.3](https://discourse.nodered.org/t/announce-node-red-node-arduino-firmata-remastered-v1-3-3/96317)

* Arduino v1.3.3 update

See: https://discourse.nodered.org/t/announce-node-red-node-arduino-firmata-remastered-v1-3-3/96317

* v1.3.4-20250331

Fixed port-search. See:
https://discourse.nodered.org/t/announce-node-red-node-arduino-firmata-remastered-v1-3-3/96317/4?u=pizzaprogram

* v1.3.4-20250331

* update v1.3.4-20250331 delete comments

Co-authored-by: PizzaProgram <info@pizzaprogram.hu>
This commit is contained in:
Dave Conway-Jones
2025-04-03 20:10:36 +01:00
committed by GitHub
parent cc186ef14e
commit 60593f154c
5 changed files with 1080 additions and 278 deletions

View File

@@ -1,12 +1,16 @@
{
"arduino": {
"version": "version: 1.3.4-20250331",
"label": {
"pin": "Pin",
"type": "Type",
"port": "Port"
"pin": "Pin:",
"type": "Type:",
"port": "Port:",
"name": "Name:",
"samplingInt": "Sampling interval:"
},
"placeholder": {
"port": "e.g. /dev/ttyUSB0 COM1"
"port": "(like: COM1 or /dev/ttyUSB0)",
"samplingInt": "(10 - 65535)"
},
"status": {
"connectfirst": "connecting to first board found",
@@ -26,16 +30,23 @@
"digital": "Digital (0/1)",
"analogue": "Analogue (0-255)",
"servo": "Servo (0-180)",
"string": "String"
"string": "String",
"reset": "Reset Board on .payload=true",
"interval": "Set new sampling interval"
}
},
"tip": {
"io": "<b>Note:</b> You cannot use the same pin for both output and input.",
"conf": "<b>Tip:</b> Use search to try to auto-detect serial port."
"io": "<b>Note:</b> You cannot use the same pin for both output and input!",
"port": "<p>On Unix/linux systems, it is recommended to choose the serial port at: <b>by-id</b> path, so it works always, no matter which USB port it gets re-plugged.</p><p><i>(It will look like this:</i> <code>/dev/serial/by-id/usb-Arduino_RPi_Pico_0764FE3-if00</code>)</p>",
"search": "<b>Tip:</b> Use search button to try to auto-detect serial port.",
"pin": "<b>Analogue pins:</b> usually between: <b>0..7</b><br>RPi-Pico has a built-in temperature reader at: <b>A03</b>",
"log2consol": "<b>To view Logs:</b> If you started node-red in a console, you will be able to see them there. Otherwise type in a consol/terminal:<code> node-red-log </code>",
"otherboards": "To use this module with [Raspberry Pi - Pico] / [ESP32], you need to flash to the chip a [Configurable-Firmata] firmware: https://github.com/firmata/ConfigurableFirmata",
"more-at-help": "See more info at the Help tab."
},
"errors": {
"portnotconf": "port not configured",
"portnotfound": "port not found : __device__",
"portnotfound": "port not found / not accessible: __device__",
"devnotfound": "device __dev__ not found. Trying to find board."
}
}