January 2010
1 post
Here's a link to the working source code! →
December 2007
21 posts
Et, voila!
Then I get this idea that I'm going to cast the...
Check out the fully detailed set of photos here
Then I write a bit of Arduino code:
//Very initial code borrowed from this example: //**************************************************************// // Name : shiftOutCode, Hello World // // Author : Carlyn Maw,Tom Igoe // // Date : 25 Oct, 2006 // // Version : 1.0 ...
Then I write a little (okay, a LOT of) Processing...
import processing.serial.*; class twit { String description; int[] bytes = new int[len*5]; int pxlength; twit () { description = “”; pxlength = 0; } void update () { nextpos = 0; for(int c = 0; c description = description.toLowerCase(); bytes = addLetter(description.charAt(c), bytes, nextpos+1); } pxlength = nextpos; } void...
Thanks to the Twitter API →
So I write a little PHP code
$ch = curl_init(); // set URL and other appropriate options $test_str = “http://twitter.com/statuses/friends_timeline/davidnin.xml”; curl_setopt($ch, CURLOPT_URL, $test_str); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); // grab URL and pass it a string $str = curl_exec($ch); // close cURL...
More time passes, and I read this incredibly... →
And it actually works!
…with a couple of slight tweaks of course. (note the tiny green and yellow wires)
3 weeks pass. then magically, from the far east...
I had this PCB built by a great SparkFun.com... →
Here's a link to a zip file with my Eagle... →
EagleCAD, love it. →
I learned everything I needed to know about EagleCad from this website.
Some drawings for future reference
Saying hello for the first time