-
-
Notifications
You must be signed in to change notification settings - Fork 1k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Cases for SerialPort #1250
Comments
I use it to send code and interact with the controllers on industrial CNC machinery. |
I am using it in a home automation project, where server (brains) talks to a network of devices through a special modem (PLM) using serial interface. |
Using it now also for FingerPrint Scanners (Door Control) Time Tracking |
I'm using node-serialport with remote control lap timing hardware. I'm building race software for rc cars and quads. There are several different hardware vendors so using node-serialport I can skip right to the meat and communicate with all the serial devices. It also supports all of the operating systems that I've attempted to integrate with: Windows, Mac, and Linux. I don't send many messages to the serial devices, just listen after connecting so my experience might be odd. I use both NW.JS and straight node.js services on the various operating systems and there hasn't been any weirdness with node-serialport that I've seen between any of the systems. Yay! NW.JS gives me the most problems because of the compilation requires build tools on each system. Overall I'm super stoked I can have one code base to create an application for all those systems! The two pieces of hardware I've integrated with: http://www.rclapcounter.com/ and http://www.trackmateracing.com/shop/en/ Thank to everyone working on node-serialport! |
Lasers and CNC machines, even lathes, over on Github.com/LaserWeb (: thanks for Node-serialport - without it LW wouldnt be around. |
I use it in 4 node based CCTV projects on github One outputs Pan Tilt Zoom commands to contol old analogue cameras (node pelcod). One reads in CCTV PanTiltZoom data from a rs485 dongle and decodes CCTV commands like a wireshark for CCTV. That has saved the day many times when trying to fix subtle CCTV control issues. The other is a serialport test. Machine A outputs lots of data to Machine B. It then check for data loss. Love the fact I can run it all on Windows,.Mac and my Raspberry Pis with a range of USB to RS485 dongles. |
i use node-serialport in vscode extensions. maybe become a tool for nodemcu |
Since last week I use node-serialport on a Windows10 pro miniPC for a small home domotica project using a Aeon Gen5 ZWave stick and a couple of Fibaro switches. In order to parse the incoming ZWave message bytes I use the combination of const ByteLength = SerialPort.parsers.ByteLength followed by var parser = serialPort.pipe(new ByteLength({length: 1})); // byte for byte. When this works succesfully I intend to expand this with a couple of sensors like door/windows and room temparature sensors. |
i created an app using nwjs to control arduino, thanks to everyone who made node-serialport because it is really amazing! app screen shoots: |
https://github.com/mozilla-iot is extensively using it. |
I work in a school with projectors in every room that were helpfully wired up with RS-232 on install. I'm using SerialPort in an electron app to allow teachers to control their projectors without having to keep track of a remote control or rely on buggy / inconsistent / outdated official control software. Will be expanding this to further control some other automation type things. |
I'm an exhibits developer at a museum. On the side I've also been doing a deep dive into CI for embedded development, heavily utilizing |
@reconbot, I'm using node-serialport to try and interact with a USB lidar unit for a robot (using a Raspberry Pi). So far i've been able to read it's health and info status but retrieving scan data seems to be a bit more challenging. Any tips maybe based on the communication protocol document (https://www.robotshop.com/media/files/pdf2/rpk-02-communication-protocol.pdf)? |
It seems like a neat protocol, you can make a transform stream to parse the response in to packets. Take a look at the CC Talk parser and open a new issue if you have questions. |
@eriknoorland I am the Creator of that CCTalk parser Implamentation and your protocol is copyed from it so its similar if you need help with that you can msg me on https://gitter.im/EmergingTechnologyAdvisors/node-serialport |
@eriknoorland There is already a module for that device. https://www.npmjs.com/package/rplidar I'm presently working on a |
@morganrallen I was aware of that but i couldn't get it to work on a Raspberry Pi. Also the source code is over 2 years old. I wanted to improve on that without too many dependencies and understanding how this process works (because i will have to do this for a couple more USB devices). My version can be found here - https://github.com/eriknoorland/node-rplidar. I had a YDLidar X4 as first but i burnt that thing within a few days :( I'm curious to see how your parser will work since that was the hardest part for me and i know it's not the prettiest / best solution. |
Thread hijack?
…On Thu, Dec 20, 2018, 09:47 Erik Noorland ***@***.*** wrote:
@morganrallen <https://github.com/morganrallen> I was aware of that but i
couldn't get it to work on a Raspberry Pi. Also the source code is over 2
years old. I wanted to improve on that without too many dependencies and
understanding how this process works (because i will have to do this for a
couple more USB devices). My version can be found here -
https://github.com/eriknoorland/node-rplidar.
I had a YDLidar X4 as first but i burnt that thing within a few days :(
I'm curious to see how your parser will work since that was the hardest
part for me and i know it's not the prettiest / best solution.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1250 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ad_gt8zQ7Xndk7vj29bZU6rk3ymcGrwDks5u60CggaJpZM4OgPUr>
.
|
It's ok, but I'd open a new issues here to discuss building support on serialport. It would be interesting to see something a little higher level than a parser to control the lidar, even if a packet parser is the place to start. |
I just saw this linked from the Web Serial issue. I've been using node-serialport with Espruino for years. So...
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'd like to collect use cases for
SerialPort
. I've heard many stories from many people who are building some really amazing things usingnode-serialport
.I can confirm that SerialPort is used in;
I'd love to know about your project too. This helps in two ways.
Please share and comment about your platform (operating system, hardware, etc) and what you're suing node SerialPort to accomplish.
Thanks!
The text was updated successfully, but these errors were encountered: