Category Archives: arduino/wiring

Programming a Christmas Tree

As we planned for Christmas this year, my partner suggested that maybe we should replace the lights for the tree. “While we’re at it,” she asked, “is there anything out there that’s more controllable than just the ones that twinkle … Continue reading

Posted in arduino/wiring, AVR, circuits, code | Tagged , , , | Leave a comment

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

What is “Real-Time”, Anyway?

Recently, a colleague of mine was working on a project with an Arduino Yún that involved reading a lot of sensor data using the Yún’s Arduino processor and writing it to the microSD card via the board’s Linux processor to … Continue reading

Posted in arduino/wiring, misc | Leave a comment

BlinkyTape using NeoPixel Library

Blinkinlabs is shipping their product now after their successful KickStarter campaign, and I got mine in the mail a couple days ago. I had a few minutes and thought I’d get a basic example up and running. The Blinkinlabs documentation … Continue reading

Posted in arduino/wiring, code, electronics | Leave a comment

Sending Data Serially To Arduino

One question I get all the time is this: I know how to send data from Arduino to (Processing, OpenFrameworks, etc). But how to I send data from (Processing, OpenFrameworks, etc) to Arduino? Many people don’t seem to know that Arduino has … Continue reading

Posted in arduino/wiring, code | Leave a comment

Arduino Ethernet (and WiFi) and Your Favorite Band

Let’s say you’re a fan of one of the bands in The Deli magazine’s new bands poll. There are so many good bands there, like Teen Girl Scientist Monthly, and others. And let’s say you were looking for a project … Continue reading

Posted in arduino/wiring | Leave a comment

Sending Tweets from Arduino through Pachube.com

I get a lot of people asking me how to send tweets from an Arduino through an Ethernet or WiFi shield. It turns out to be a bit tricky, because Twitter uses OAuth to manage authentication, which is difficult to … Continue reading

Posted in arduino/wiring | 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