Category Archives: javascript

Node.js on the Arduino Yún

Recently, Federico Fissore added node.js to the package repository for the Arduino Yún. Here’s how you get node to communicate with the Arduino processor on the Yún via the Bridge library. To do this, you’ll need an Arduino Yún, a … Continue reading

Posted in arduino/wiring, code, javascript, node.js | Tagged , , , | 1 Comment

Using REST as a command protocol for web-to-serial applications

Updated 19 Jan 2014 The address you type into your browser’s address bar is often the location of a particular document on a server. For example, http://tigoe.net/index.html refers to an HTML document living in the main directory of my server, … Continue reading

Posted in arduino/wiring, code, javascript, node.js | 2 Comments

Serial to JSON in Node.js and Arduino

Node.js is great for making web services, and node-serialport makes it very easy to connect to serial devices on your computer. In my last post, I showed how to connect an Arduino microcontroller application to a web page using Node. … Continue reading

Posted in arduino/wiring, code, javascript, node.js | 3 Comments

Serial to Browser using node.js

Updated 28 July 2015 This is a brief introduction to using node.js and websockets to connect a serial device, like an Arduino microcontroller, to a browser. To make this happen you’ll need: An Arduino, and the Arduino IDE an HTML5-capable browser. … Continue reading

Posted in arduino/wiring, code, electronics, javascript, node.js | Leave a comment