Use Cases for SerialPort #2286
Replies: 21 comments
-
I use it to send code and interact with the controllers on industrial CNC machinery. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Using it now also for FingerPrint Scanners (Door Control) Time Tracking |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
Lasers and CNC machines, even lathes, over on Github.com/LaserWeb (: thanks for Node-serialport - without it LW wouldnt be around. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
i use node-serialport in vscode extensions. maybe become a tool for nodemcu |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/mozilla-iot is extensively using it. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@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)? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
@eriknoorland There is already a module for that device. https://www.npmjs.com/package/rplidar I'm presently working on a |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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>
.
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I just saw this linked from the Web Serial issue. I've been using node-serialport with Espruino for years. So...
|
Beta Was this translation helpful? Give feedback.
-
I think it would be really nice if we could turn this info into a catalogue. Grouping together similar use cases, and providing info about the platform/ tech used along with links to the authors and their repos. I think this would be a great way to showcase people's excellent work, and also a source of good examples for people to replicate (license permitting). We are all working with different hardware or different usage models, so having a way to find similar projects and collaborate would be really valuable IMHO |
Beta Was this translation helpful? Give feedback.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions