Author Archives: tigoe
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
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
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.
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:
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
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.
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
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
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
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.