{"id":16153305,"url":"https://github.com/danielesteban/node-arduino","last_synced_at":"2026-07-21T06:38:29.070Z","repository":{"id":7586636,"uuid":"8942520","full_name":"danielesteban/node-arduino","owner":"danielesteban","description":"Node module to interact with the Arduino","archived":false,"fork":false,"pushed_at":"2013-03-23T08:17:15.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T19:32:34.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielesteban.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-22T01:27:23.000Z","updated_at":"2013-03-23T08:17:23.000Z","dependencies_parsed_at":"2022-08-30T05:41:12.807Z","dependency_job_id":null,"html_url":"https://github.com/danielesteban/node-arduino","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielesteban/node-arduino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielesteban%2Fnode-arduino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielesteban%2Fnode-arduino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielesteban%2Fnode-arduino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielesteban%2Fnode-arduino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielesteban","download_url":"https://codeload.github.com/danielesteban/node-arduino/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielesteban%2Fnode-arduino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35713696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T01:11:08.790Z","updated_at":"2026-07-21T06:38:29.033Z","avatar_url":"https://github.com/danielesteban.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-arduino\n============\n\nA node module for interfacing with the Arduino\n\n**Installation:**\n\n\tnpm install git://github.com/danielesteban/node-arduino.git\n\n**Usage:**\n\n```javascript\nvar Arduino = require('arduino');\n\nArduino.on('req', function(device, func, data) {\n\tswitch(func) {\n\t\tcase 0:\n\t\t\t//Do something\n\t\tbreak;\n\t\tcase 1:\n\t\t\t//Do something else\n\t\tbreak;\n\t}\n});\n\nArduino.on('error', function(err) {\n\tconsole.log(err);\n});\n\nArduino.connect('/dev/tty.usbserial', function() {\n\tconsole.log('Connection successful');\n});\n\n//To send a Request to the arduino:\nvar device_id = 1,\n\tfunc = 255,\n\tdata = new Buffer(['d', 'a', 't', 'a']);\n\nArduino.req(device_id, func, data, function(data) {\n\t//Do something with the returned value\n});\n\n//There's also a helper for sending large numbers (like timestamps)...\nArduino.req(1, 0, Arduino.numToBuffer(3141592653));\n```\n\n**License:**\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the [GNU General Public License](https://github.com/danielesteban/node-arduino/blob/master/LICENSE)\nalong with this program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielesteban%2Fnode-arduino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielesteban%2Fnode-arduino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielesteban%2Fnode-arduino/lists"}