At last, the robot is in full swing, or rather poke. I worked on the code to slow down it’s movement, remove it’s awkward lifting-up, and allow it to search for missed keys. I documented the robot and its interaction in a video. I also considered that the part of the project most useful to future students is how to read an angle from a servo motor, so a made a special tutorial for how modify a servo for that too.
December 17, 2008
December 16, 2008
Making a Globe Interactive
This is the documentation for my final project.
I wrote a book with step-by-step instructions on how to make an interactive globe using conductive fabric.
Contents will also be uploaded to instructables.com
December 15, 2008
This reads in different resistance, and display different color rectangle.
Arduino
int analPin = 1; // Analog pin connected to pin 1
analPin
void setup() {
pinMode(switchPin, INPUT); // Set pin 0 as an input
Serial.begin(9600); // Start serial communication at 9600 bps
}
void loop() {
Serial.print(analogRead(analPin, Byte));
delay(100); // Wait 100 milliseconds
}
*/
Processing side
import processing.serial.*;
Serial myPort; // Create object from Serial class
int val; // Data received from the serial port
void setup()
{
size(200, 200);
// I know that the first port in the serial list on my mac
// is always my FTDI adaptor, so I open Serial.list()[0].
// On Windows machines, this generally opens COM1.
// Open whatever port is the one you're using.
String portName = Serial.list()[0];
myPort = new Serial(this, portName, 9600);
}
void draw()
{
if ( myPort.available() > 0) { // If data is available,
val = myPort.read(); // read it and store it in val
}
background(255); // Set background to white
if (val <500) { // If the serial value is 0,
fill(0); // set fill to black
}
else { // If the serial value is not 0,
fill(204); // set fill to light gray
}
rect(50, 50, 100, 100);
}
Foosball Challenger
Here is my video as well as a paper I wrote.
The CoaTracker Instructable
Here is the instructable for The CoaTracker:
http://www.instructables.com/id/The_CoaTracker/
All files, pictures, and code can be viewed from there.
This video is in the instructable as well, but here’s a link to it anyway:
~Justine
Wire Spy: a home electricity auditing helper
The full paper is available on request (server is not cooperating). Email me: ethan-at-cmu-dot-edu.

Hexabot!
Video:
Schematics, code, and drawings are all available to download via the Instructable.