<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Serial port communication using Node.js]]></title><description><![CDATA[<p dir="auto">I can not make the serial communication using NodeJS work. Is there any success story about getting the serial comms on Omega using NodeJS?</p>
<p dir="auto">I tried both serialport and much less popular serialport-js packages, but couldn't get to working condition.</p>
<p dir="auto">The Omega is connected to Arduino using TX and RX pins, and I know there's no problem with the Arduino end, as the tests using Python are working fine. I just can't get anything working under NodeJS.</p>
]]></description><link>http://community.onion.io/topic/875/serial-port-communication-using-node-js</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 18:13:57 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/875.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Jul 2016 10:37:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Serial port communication using Node.js on Thu, 07 Jul 2016 20:02:01 GMT]]></title><description><![CDATA[<p dir="auto">I can not make the serial communication using NodeJS work. Is there any success story about getting the serial comms on Omega using NodeJS?</p>
<p dir="auto">I tried both serialport and much less popular serialport-js packages, but couldn't get to working condition.</p>
<p dir="auto">The Omega is connected to Arduino using TX and RX pins, and I know there's no problem with the Arduino end, as the tests using Python are working fine. I just can't get anything working under NodeJS.</p>
]]></description><link>http://community.onion.io/post/5999</link><guid isPermaLink="true">http://community.onion.io/post/5999</guid><dc:creator><![CDATA[Pavils Jurjans]]></dc:creator><pubDate>Thu, 07 Jul 2016 20:02:01 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Thu, 21 Jul 2016 19:01:14 GMT]]></title><description><![CDATA[<p dir="auto">Are you able to import the serialport package into your script?</p>
]]></description><link>http://community.onion.io/post/6146</link><guid isPermaLink="true">http://community.onion.io/post/6146</guid><dc:creator><![CDATA[Rajiv  Puri]]></dc:creator><pubDate>Thu, 21 Jul 2016 19:01:14 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Thu, 25 Aug 2016 13:35:30 GMT]]></title><description><![CDATA[<p dir="auto">No, haven't succeeded.</p>
]]></description><link>http://community.onion.io/post/6451</link><guid isPermaLink="true">http://community.onion.io/post/6451</guid><dc:creator><![CDATA[Pavils Jurjans]]></dc:creator><pubDate>Thu, 25 Aug 2016 13:35:30 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Tue, 31 Jan 2017 21:48:21 GMT]]></title><description><![CDATA[<p dir="auto">I am running into this issue as well - the prebuilt SerialPort Module for MIPS does not exist. And I am still trying to figure out how to get the module to compile....</p>
]]></description><link>http://community.onion.io/post/10029</link><guid isPermaLink="true">http://community.onion.io/post/10029</guid><dc:creator><![CDATA[Ashu Joshi]]></dc:creator><pubDate>Tue, 31 Jan 2017 21:48:21 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Tue, 07 Feb 2017 12:00:05 GMT]]></title><description><![CDATA[<p dir="auto">Did you try <code>opkg install node-usb</code>?</p>
<p dir="auto">I tried this one but doesnt seem to get past <code>require('usb')</code>, cant find the files on the filesystem either, npm cant see them and they are not in <code>/usr/bin</code>.</p>
<p dir="auto">I too would love it if there was an <code>opkg</code> package for <a href="https://www.npmjs.com/package/serialport" rel="nofollow">npm's <code>serialport</code></a>, even if its an older version of the same.</p>
]]></description><link>http://community.onion.io/post/10624</link><guid isPermaLink="true">http://community.onion.io/post/10624</guid><dc:creator><![CDATA[Steven de Salas]]></dc:creator><pubDate>Tue, 07 Feb 2017 12:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Tue, 07 Feb 2017 15:35:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2340">@Steven-de-Salas</a> said in <a href="/topic/875/serial-port-communication-using-node-js/5">Serial port communication using Node.js</a>:</p>
<blockquote>
<p dir="auto">Did you try <code>opkg install node-usb</code>?</p>
</blockquote>
<p dir="auto">That doesn't seem like it would help, as a USB serial converter isn't a "USB" device from an application perspective, but rather a "serial" one.</p>
]]></description><link>http://community.onion.io/post/10650</link><guid isPermaLink="true">http://community.onion.io/post/10650</guid><dc:creator><![CDATA[Chris Stratton]]></dc:creator><pubDate>Tue, 07 Feb 2017 15:35:02 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Fri, 10 Feb 2017 13:45:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys, I just thought you'd like to know that I got <code>serialport</code> npm module cross compiled for the Omega2 following instructions <a href="https://community.onion.io/topic/1298/omega2-cross-compiler-and-kernel-sources" rel="nofollow">here</a> and <a href="https://github.com/netbeast/docs/wiki/Cross-Compile-NPM-modules" rel="nofollow">here</a>.</p>
<p dir="auto">I will try get a more easily consumable version (maybe another npm package?) but for now feel free to download a working version of serialport@3.0.0 on the following link:</p>
<p dir="auto"><a href="https://github.com/sdesalas/robotics/raw/master/omega2/node-serialport-v3.0.0.tar.gz" rel="nofollow">https://github.com/sdesalas/robotics/raw/master/omega2/node-serialport-v3.0.0.tar.gz</a></p>
<p dir="auto">You just need to untar and move the <code>node_modules/serialport</code> and <code>node_modules/.bin</code> folders to <code>node_modules</code> in your project or global npm folder.</p>
<hr />
<p dir="auto"><strong>Even better:</strong></p>
<p dir="auto">Here is a fork containing the cross-compiled binaries:</p>
<p dir="auto"><a href="https://github.com/sdesalas/node-serialport-omega2" rel="nofollow">https://github.com/sdesalas/node-serialport-omega2</a></p>
<p dir="auto">Since its in github you can install via npm:</p>
<pre><code>$ npm install github:sdesalas/node-serialport-omega2
</code></pre>
<p dir="auto">Cherio.<br />
S</p>
]]></description><link>http://community.onion.io/post/10799</link><guid isPermaLink="true">http://community.onion.io/post/10799</guid><dc:creator><![CDATA[Steven de Salas]]></dc:creator><pubDate>Fri, 10 Feb 2017 13:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to Serial port communication using Node.js on Thu, 14 Dec 2017 05:05:11 GMT]]></title><description><![CDATA[<p dir="auto">Steven I am a bit confused on how to install your cross compiled port. Do I have to rebuild it on the Onion for it to work? The files are quite large and I would need an SD card. Is there a way to copy the node rather than building it? Let me know what I am doing wrong.</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/post/15360</link><guid isPermaLink="true">http://community.onion.io/post/15360</guid><dc:creator><![CDATA[brolly759]]></dc:creator><pubDate>Thu, 14 Dec 2017 05:05:11 GMT</pubDate></item></channel></rss>