serialport
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them! (by serialport)
johnny-five
JavaScript Robotics and IoT programming framework, developed at Bocoup. (by rwaldron)
Our great sponsors
serialport | johnny-five | |
---|---|---|
6 | 21 | |
5,685 | 13,200 | |
0.4% | - | |
9.2 | 1.3 | |
8 days ago | 6 months ago | |
TypeScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serialport
Posts with mentions or reviews of serialport.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
node-red: the node-serialport does not work on Termux
Everything works very well, except for one detail: the node-serialport doesn't work in Android+Termux environment. You can't use RS232, MODBUS, RS422, or RS485 !!! See here the open issue,
-
Using usb-detection with electron v4 on intel mac
Strangely enough it does package fine with electron-builder but does not work in dev mode. The same happens when I try to use https://serialport.io/ which is also another module where you could achieve device detection.
-
Trying to get access to the USB device in Electron app
We use node-serialport instead of the WebSerial API, since it was only recently that Electron supported WebSerial permission overrides to make things like a 'devices screen' viable. The WebBluetooth APIs are still in a situation where you have to do polling shenanigans to get a full device list. I've found the mutated permissions system leaves a lot to be desired when debugging, whereas the NAPI modules are a lot more straightforward.
-
I've been streaming hardware driver development using node. If you've ever wondered what's involved when talking to hardware, but were put off by needing to know C or kernel internals, you might enjoy this
It really depends. The stuff I'm doing in this video for example is writing a driver stack for a device called the Bus Pirate. Communication is done over serial (which is easy in node with the serialport library). The bus pirate is a device that allows you to talk to other devices over different protocols, including SPI, I2C, and OneWire (as well as bit banging, where you control some electrical signals directly any way you want using software). So while it's not something you'd do directly in production, you can actually test communication with devices in JS in a fast, iterative, interactive way without having to use a microcontroller. You can actually figure out all of your design decisions there and port your code to the microcontroller later if you're building some kind of embedded system device, potentially saving a lot of time and debugging.
-
Lychee never loads
Turns out, there is: https://github.com/serialport/node-serialport/issues/2259
-
Electron to native hardware
We use node-serialport for USB serial communications. It's included in the transport manager renderer process. The installation guide and docs should be good enough to get you started. Hopefully serialport has prebuilds for the combination of system and electron version you're trying. We had to setup an internal prebuilds system and CDN for our app since we'd often find ourselves ahead of the prebuilt versions for node-serialport. Alternatively you can build from source.
johnny-five
Posts with mentions or reviews of johnny-five.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-13.
-
Qwik & Arduino with Johnny Five
Some times ago I have played with johnny-five, a JavaScript Robotics & IoT platform. In short words, we can communicate with our Arduino or Raspberry by using JavaScript with a very friendly syntax.
-
Dockerize Javascript IOT Applications
The library Johnny-Five is a Javascript library that allows you to control Arduino and other microcontrollers using Javascript. It is very easy to use and it has a lot of examples that you can use to learn how to use it.
-
Is there a differnece if I program the Arduino using NodeJS instead of it language c/c++
+Here is the platform used to program the board http://johnny-five.io/
- Arduino to PC Serial Protocol Library
-
From Wi-Fi to Li-Fi, sending data via light using Arduino and JavaScript
I decided to use the Johnny-Five JavaScript framework for this. After installing it , I started by declaring a few variables and instantiating the transmitter board.
-
Guide please🙏i will really mean a lot.
IOT is the internet of things. That loosely means - interconnected devices that aren't your standard "computer." You can totally do that with JS and a little computer like an Arduino. You can use https://johnny-five.io/ or something... but I'm talking about - a year from now -
-
help - Cannot figure out why I keep getting SyntaxError: Unexpected token {
here it the project's github: https://github.com/rwaldron/johnny-five
-
JS Library for controlling devices with cameras
Johnny Five seems like a neat project for that bit. What I'm trying to find is a library for using the camera bit. Sorry if my original question wasn't specific enough. I'll try to clarify here.
-
Anybody build / programmed LEDs using Node?
Start here: http://johnny-five.io/
-
Firmata on ESP32 (WROOM)
I am trying to put Firmata on ESP32 and connect it to the johnny-five lib (or any other JS client). I managed to put official Firmata and other forks related to ESP32, but it doesn't work (build+upload succeed), but I'm getting "ready" from the device.
What are some alternatives?
When comparing serialport and johnny-five you can also consider the following projects:
usb - Improved USB library for Node.js
cylon.js - JavaScript framework for robotics, drones, and the Internet of Things (IoT)
onoff - GPIO access and interrupt detection with Node.js
i2c-bus - I2C serial bus access with Node.js
node-rpio - Raspberry Pi GPIO library for node.js
pigpio - Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
spi-device - SPI serial bus access with Node.js
Visual Studio Code - Visual Studio Code