Author Archives: tigoe

Blog Housekeeping

I’m making some changes to this blog. I’ve been unhappy about the fact that all the code is static, not the code I use every day. Instead, I want a nice code repository, so whatever I write on my machine … Continue reading

Posted in arduino/wiring, PHP, Processing | Tagged , , | Leave a comment

Reading data from a uLog logger, saving to a file

Here’s a Processing sketch that takes data from Sparkfun’s uLog datalogger via a serial port, and saves the results to a file. To use this, you’ll need: uLog datalogger with some data on it USB-to-serial adaptor; there are many types … Continue reading

Posted in circuits, Processing | Tagged , , | 2 Comments

Simple Client URL example in PHP

Here’s a simple example of using the cURL program through PHP’s client URL library. It’s a really powerful way to use HTTP, because you can set just about every HTTP option using the library.

Posted in PHP | Leave a comment

Mail form in PHP

Here’s a simple HTML/PHP form that takes data from the form and sends it in mail via HTTP POST. Save it as formToMe.php:

Posted in PHP | Tagged , , | Leave a comment

Traceroute scraper in Processing

There are many web-based interfaces to traceroute available, including a nice list at traceroute.org.  Here’s a Processing sketch that retrieves the raw HTML from one of them and separates the traceroute lines into time taken, hop IP, and hop name. … Continue reading

Posted in Processing | Tagged , , , | Leave a comment

Ball Drop Game

Here’s a variation on the networked pong server from Making Things Talk..  This version is cooperative rather than competitive.  Multiple clients have to keep the ball from hitting the ground.  There are five balls dropped each game.

Posted in Processing | Tagged , , | Leave a comment

Chat Server in Processing

Here’s a basic chat server written in Processing.  It’s a bit more complex than the basic test server.  This server keeps track of all the clients who log into it in an ArrayList.  Using an ArrayList is useful when you … Continue reading

Posted in Processing | Tagged , , | Leave a comment

CNMAT resources archive

Berkeley’s CNMAT (center for new music and audio technologies) has a nice resource archive, with pictures.  Useful if you’re looking for electronic parts, microphones, and other things audio-related.  Similar to RISDpedia and ITPedia, among others, very useful.  Thanks to Tom … Continue reading

Posted in circuits, construction | Leave a comment

A Few Good Reasons Why Peter Knight Rocks

Peter Knight works with Massimo and Alex and co. at Tinker.it. He’s written some great AVR code, which is useful in Arduino.  For example: Secret Thermometer takes advantage of the ATMega’s internal thermometer. Turns your ‘328-based Arduino into a thermometer … Continue reading

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

Physical x Wonderfl

Shigeru Kobayashi, who made Gainer and Funnel, has made yet another nifty tool for physical computing:  physical x wonderfl. It combines Gainer, Funnel, Firmata, Arduino, and Wonderfl.

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