{"_id":"@background404/node-red-contrib-mcu-serial","_rev":"2-c7593b2ce3789f491a0a3ecd1102f5dd","name":"@background404/node-red-contrib-mcu-serial","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@background404/node-red-contrib-mcu-serial","version":"0.0.1","description":"Node to use serial communication with Node-RED MCU","main":"node/mcu_serial_in.js","scripts":{"test":"mocha test/**/*_spec.js"},"engines":{"node":">=14.0.0"},"node-red":{"version":">=1.3.7","nodes":{"mcu_serial":"node/mcu_serial.js"}},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-mcu-serial.git"},"keywords":["node-red","node-red-mcu","moddable","Serial"],"author":{"name":"@background404"},"license":"MIT","bugs":{"url":"https://github.com/404background/node-red-contrib-mcu-serial/issues"},"homepage":"https://github.com/404background/node-red-contrib-mcu-serial#readme","gitHead":"04518860d8e7a8261860884acea07e9fd28ac9e8","_id":"@background404/node-red-contrib-mcu-serial@0.0.1","_nodeVersion":"20.10.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-TbLwDiYzDzLVG+dtS8df3Q1T0Nu6GwYuvkv6Oqf3Nm5Oitharg42r5bA++0RThNz2QNRo+Nk3s0Ha90N2MaY0g==","shasum":"7529676218ac3ca7386d5e0b87bf76988d944f1b","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-mcu-serial/-/node-red-contrib-mcu-serial-0.0.1.tgz","fileCount":16,"unpackedSize":2968288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZy10J3mkJ/MssWAE71tQiwXityFDFFi3W1/hy7P5ZewIgN89ZgYazQdAUyuoNWEQfhgFYA6550ABWQZw2RRZfItI="}]},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-mcu-serial_0.0.1_1711430198446_0.2504232358730287"},"_hasShrinkwrap":false},"0.1.0":{"name":"@background404/node-red-contrib-mcu-serial","version":"0.1.0","description":"Node to use serial communication with Node-RED MCU","main":"node/mcu_serial_in.js","scripts":{"test":"mocha test/**/*_spec.js"},"engines":{"node":">=14.0.0"},"node-red":{"version":">=1.3.7","nodes":{"mcu_serial":"node/mcu_serial.js"}},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-mcu-serial.git"},"keywords":["node-red","node-red-mcu","moddable","Serial"],"author":{"name":"@background404"},"license":"MIT","bugs":{"url":"https://github.com/404background/node-red-contrib-mcu-serial/issues"},"homepage":"https://github.com/404background/node-red-contrib-mcu-serial#readme","gitHead":"d5f400c8086f606d72b88e87dfa4256cdcde9bb3","_id":"@background404/node-red-contrib-mcu-serial@0.1.0","_nodeVersion":"20.10.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-vVWEWOV2HdaR9G7ceqyD3obQzj3/OcD99qNc7Jz1xeBrvXlFoJVOynT/3pmj7spUI1Z5C2LmbL01ELL0hpvhaw==","shasum":"243bf02fde8d6baeaf91021e2e62574b6e4895be","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-mcu-serial/-/node-red-contrib-mcu-serial-0.1.0.tgz","fileCount":16,"unpackedSize":2968974,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBDPrPsQqCDP2HcJyKVfnhIJfZzGBbgevnuryuYA3teQIhAL+M6/jsPxUeQYFly6VnocFy1TQnK/RSwjKhXT/E9iiL"}]},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-mcu-serial_0.1.0_1711569441536_0.424072241694629"},"_hasShrinkwrap":false},"0.2.0":{"name":"@background404/node-red-contrib-mcu-serial","version":"0.2.0","description":"Node to use serial communication with Node-RED MCU","main":"node/mcu_serial_in.js","scripts":{"test":"mocha test/**/*_spec.js"},"engines":{"node":">=14.0.0"},"node-red":{"version":">=1.3.7","nodes":{"mcu_serial":"node/mcu_serial.js"}},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-mcu-serial.git"},"keywords":["node-red","node-red-mcu","moddable","Serial"],"author":{"name":"@background404"},"license":"MIT","bugs":{"url":"https://github.com/404background/node-red-contrib-mcu-serial/issues"},"homepage":"https://github.com/404background/node-red-contrib-mcu-serial#readme","gitHead":"31cb6956e382ec6d3c32b0b564ab0e8d0397a9ac","_id":"@background404/node-red-contrib-mcu-serial@0.2.0","_nodeVersion":"20.10.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-9Kk0JIA6pCBf0jCVtOmZCUAXCucN3rkS9Dwqs8jXBokH62+M31ho2oQZcPTh+kk+KtIBVVD1GHkNx9znf/K1HQ==","shasum":"4a2afce9b84e1cf15eaf08038a1d5b0bd16ce665","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-mcu-serial/-/node-red-contrib-mcu-serial-0.2.0.tgz","fileCount":20,"unpackedSize":3119258,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGQvf6DNWx1FrucY+vjGvxJpnHtRg9lObdwXRV7yAc3gIgRqFMABfub/TuMY76QMOn4Kbl/3qIZZIZafXPTQMgsr0="}]},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-mcu-serial_0.2.0_1712291479218_0.05992102001805866"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-26T05:16:38.305Z","0.0.1":"2024-03-26T05:16:38.673Z","modified":"2024-04-05T04:31:19.669Z","0.1.0":"2024-03-27T19:57:21.851Z","0.2.0":"2024-04-05T04:31:19.505Z"},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"description":"Node to use serial communication with Node-RED MCU","homepage":"https://github.com/404background/node-red-contrib-mcu-serial#readme","keywords":["node-red","node-red-mcu","moddable","Serial"],"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-mcu-serial.git"},"author":{"name":"@background404"},"bugs":{"url":"https://github.com/404background/node-red-contrib-mcu-serial/issues"},"license":"MIT","readme":"# node-red-contrib-mcu-serial\r\n\r\nNode to use serial communication with Node-RED MCU\r\n\r\n## Overview\r\n\r\nWith this node, you can use Serial communication of MCU.  \r\nThere are two nodes, Serial in and Serial out.  \r\n![palette](./image/palette.png)\r\n\r\n## How to use\r\n\r\n0. Build the environment for the Node-RED MCU plugin  \r\n1. Install this node  \r\nAdd from the \"Manage palette\" in Node-RED or execute the following command.  \r\n\r\n```\r\ncd <directory of where package.json is located>  \r\nnpm install <folder_path>  \r\n```\r\n\r\n2. Add the path of manifest.json to node_types.json  \r\n(This step may not be necessary because moddable_manifest has been added to the HTML file.  \r\nIf you have any problems, please report them to issue)  \r\nnode_types.json is located in the directory:  \r\n\".node-red/node_modules/@ralphwetzel/node-red-mcu-plugin/node-red-mcu\"  \r\nOn Raspberry Pi:  \r\n![node_types.json](./image/node_types.json.png)  \r\n\r\n3. Try to build with the Node-RED MCU plugin.\r\n\r\n## Test case\r\n\r\nOn Raspberry Pi 400, Windows  \r\n\r\n- Moddable Two & ESP32\r\n- TX: 17\r\n- RX: 16\r\n- Port: 2\r\n- Baud: 115200\r\n\r\n and  \r\n\r\n- TX: 32\r\n- RX: 33\r\n- Port: 1\r\n- Baud: 115200\r\n\r\n![node_edit](./image/node_edit.png)  \r\n\r\nWiring:  \r\n![moddable_two](./image/sample_moddable_two.jpg)  \r\n![esp32](./image/sample_esp32.jpg)  \r\n\r\nSample flows are in the examples folder.  \r\nFlow on MCU:  \r\n![flow_serial](./image/flow_serial.png)  \r\nFlow on Raspberry Pi:  \r\n![flow_serial_pc](./image/flow_serial_pc.png)  \r\nSupport for multiple node and port.  \r\n![flow_serial_multiple_port](./image/flow_serial_multiple_port.jpg)  \r\n\r\n## Acknowledgements\r\n\r\nThanks to [NW-Lab](https://github.com/NW-Lab) and [mshioji](https://github.com/mshioji) for testing use of Serial with function node.  \r\n\r\n[@NWLab](https://qiita.com/NWLab):「Node-RED MCUでFunction Nodeを使ったSerial通信をやってみる」  \r\n<https://qiita.com/NWLab/items/5360eff7b8e2685e925a>  \r\n\r\n[@mshioji](https://qiita.com/mshioji):\"Try Serial Communication with Function Node in Node-RED MCU\"  \r\n<https://qiita.com/mshioji/items/98f2ded0481ce3b5d775>  \r\n\r\nIn Japanese:「Node-RED MCU EditionでSerialを使う」  \r\n<https://qiita.com/mshioji/items/a750a5d713ab4d54c4cf>  \r\n\r\n## Other Links\r\n\r\n@ralphwetzel/node-red-mcu-plugin  \r\n<https://flows.nodered.org/node/@ralphwetzel/node-red-mcu-plugin>  \r\n\r\n@Moddable-OpenSource/moddable  \r\n<https://github.com/Moddable-OpenSource/moddable>  \r\n\r\nNode-RED User Group Japan:「ノードの開発」  \r\n<https://nodered.jp/docs/creating-nodes/>  \r\n\r\n[@kazuhitoyokoi](https://qiita.com/kazuhitoyokoi):「Node-REDのノードをつくる手順」  \r\n<https://qiita.com/kazuhitoyokoi/items/64ed5b7798197bb6dfdf>  \r\n\r\nmy article:Creating a servo node that imports an external class  \r\n「Node-RED MCU用のノードを作成してみる　その２（Servoノード）」  \r\n<https://404background.com/program/node-create-2/>  \r\n","readmeFilename":"README.md"}