Author Archives: tigoe

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

Datalogging with Arduino

There are several ways to save data from a sensor attached to an Arduino. If you’re connected to a personal computer, you can simply send the data from the Arduino to the personal computer serially, and save it to a … Continue reading

Posted in arduino/wiring, circuits, code, electronics, Pachube | 2 Comments

Glif + DSO Nano: two great tastes…

I was recently given a Glif, and even though I don’t own an iPhone 4, the Glif has been very useful. It it’s a perfect tripod mount for my DSO Nano oscilloscope, and makes it easier to prop the scope … Continue reading

Posted in circuits, construction, electronics, iPhone, misc | Leave a comment

SQL RESTian example in PHP

Here’s a PHP script that reads and writes from a SQL database. This example assumes you’ve got a SQL database account on the same machine that the script is running on. It also assumes you’re using a .htaccess file that … Continue reading

Posted in code, PHP | Tagged | Leave a comment

Mr. Data Converter

Mr. Data Converter is your friend. It’s a conversion tool to take tab or comma delimited data and convert it to a variety of formats: XML, JSON, ActionScript, PHP, you name it. Mighty handy if you have to take stuff … Continue reading

Posted in code, Flash/ActionScript, java, PHP, Processing | Leave a comment

Networked Bed Presence sensor

John Schimmel and I had a meeting with a friend the other day who has chronic condition, and is looking for tools to notify her family and friends of her activity at home, so she can live more independently. A … Continue reading

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

Serial ports on an iPhone?

hc gilje posted some useful notes on accessing the serial ports of an iPhone. Bottom line: Apple has not made it easy to let the iphone communicate with external devices. Basically, you need a jailbroken phone to do anything. That … Continue reading

Posted in arduino/wiring, iPhone | Tagged , | Leave a comment

Using PepperMill to turn a motor into a sensor

Nicolas Villar sent me a sample of the PepperMill, a new sensor board he and Steve Hodges designed at Microsoft Research in Cambridge, UK.  It’s a nifty little board.  You attach a DC motor and the board can an output … Continue reading

Posted in arduino/wiring, circuits, electronics | 3 Comments

Rob Faludi just turned me on to CoolTerm, a serial terminal app for OSX and Windows. It looks like a nice addition, and is cross platform, which is handy for teaching; no need to reference different apps on different platforms. I’ve … Continue reading

Posted in electronics, OSX | Tagged , , | Leave a comment

Bluetooth Mate with Lilypad

Coming late to the game, I’m trying out a Bluetooth Mate from SparkFun with an Arduino Lilypad.Overall, it’s a nice Bluetooth radio to use with microcontrollers.  A few thoughts on getting it working:

Posted in arduino/wiring, circuits, electronics | Tagged , , | 1 Comment